]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Quietly cancel FBC activation if CRTC is turned off before worker
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Aug 2017 15:02:15 +0000 (16:02 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 26 Aug 2017 11:39:41 +0000 (12:39 +0100)
commitbeba4d127ac1f2c5122b9886238a1f015c8c30b0
treec8fc8362d3256708c3d6f0dee19cc5e5251fc425
parent2409b98af755ccd2088f3fbff2aa2363a5161877
drm/i915: Quietly cancel FBC activation if CRTC is turned off before worker

Since we use a worker to enable FBC on the CRTC, it is possible for the
CRTC to be switched off before we run. In this case, the CRTC will not
allow us to wait upon a vblank, so remove the DRM_ERROR as this is very
much expected.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102410
Fixes: b52b4af59f0e ("drm/i915/fbc: wait for a vblank instead of 50ms when enabling")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170825150215.19236-1-chris@chris-wilson.co.uk
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_fbc.c