~ubuntu-kernel-test/ubuntu/+source/linux/+git/mirror-drm-intel:topic/core-stuff

Last commit made on 2015-01-29
Get this branch:
git clone -b topic/core-stuff https://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mirror-drm-intel
Members of Ubuntu Kernel Test can upload to this branch. Log in for directions.

Branch merges

Branch information

Recent commits

eb2ed66... by Laurent Pinchart on 2015-01-28

drm/irq: Don't disable vblank interrupts when already disabled

The .enable_vblank() operation is only called when vblank interrupts are
disabled, but no similar check exists when disabling vblank interrupts.
This leads to .disable_vblank() being called with vblank interrupts
already disabled and the device possibly runtime suspended. As the
operation is called with a spinlock held drivers can't runtime resume
the device there and thus must avoid touching device registers in that
case, requiring vblank refcounting.

As the DRM core tracks whether vblank interrupts are enabled just skip
the .disable_vblank() call when the interrupts are already disabled.

Signed-off-by: Laurent Pinchart <email address hidden>
Reviewed-by: Michel Dänzer <email address hidden>
Signed-off-by: Daniel Vetter <email address hidden>

Some recent commit information could not be fetched.