airlied (airlied) wrote,
airlied
airlied

radeon vblank interrupts + power stop : fix step one

I've added code to the radeon drm to support vblank interrupts on both CRTCs and a setparam to allow the DDX to enable/disable the interrupts. I haven't gotten any mesa support for this yet to actually figure out the interrupts but I'll get to that later I'm sure.

But for now it means that when no 3D apps are running we turn off all the vblank interrupts at least so we save power on laptops...

Of course we can do much better, than just turning interrupts off when no 3D is running, it would be nice to not have the interrupt happening when 3D is running this involves using the hardware counters for vblank. Need to think about that a bit more.
Subscribe

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 11 comments