[Intel-gfx] [PATCH 5/5] drm/i915: Make wait_for_flips interruptible.
Maarten Lankhorst
maarten.lankhorst at linux.intel.com
Mon Jul 20 07:52:11 PDT 2015
Op 16-07-15 om 14:57 schreef Maarten Lankhorst:
> Move it from intel_crtc_atomic_commit to prepare_plane_fb.
> Waiting is done before committing, otherwise it's too late
> to undo the changes.
>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> ---
> drivers/gpu/drm/i915/intel_atomic.c | 2 -
> drivers/gpu/drm/i915/intel_display.c | 72 +++++++++++++++++-------------------
> drivers/gpu/drm/i915/intel_drv.h | 2 -
> 3 files changed, 33 insertions(+), 43 deletions(-)
>
This breaks DPMS off, because it might wait for flips before continuing.
It looks like all drivers use drmModeConnectorSetProperty correctly,
so it's safe to fix dpms to return an error.
Can I get the changes to dpms handling in intel applied first, and the first 4 patches from this series?
~Maarten
More information about the Intel-gfx
mailing list