drm/i915: Turn off the CUS when turning off a HDR plane
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 15 Mar 2019 19:54:45 +0000 (21:54 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Mar 2019 15:47:03 +0000 (17:47 +0200)
commit7c1200456cb0859fba27927feb8322929a4fad83
treed12e58824db0b7e393e2fa0e4439297ef7b2a1d5
parent5a0404408d3266fa3116979297b3bb47fdb9dc0b
drm/i915: Turn off the CUS when turning off a HDR plane

We're currently leaving the CUS enabled if we disable the
master plane directly after scanning out NV12.

Could perhaps cause the selected slave plane to misbehave
if we try to use it for scanning out something non-NV12?

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190315195445.26527-2-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110032
drivers/gpu/drm/i915/intel_sprite.c