summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gt/intel_engine.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-02-09 13:35:25 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-02-09 21:52:04 +0200
commit98476876b837069e4582565fee63e70810c880b2 (patch)
tree8a7945d8b18dad19b56f9787c2faf11a0923c6e3 /drivers/gpu/drm/i915/gt/intel_engine.h
parent28f5f8884e7cb9cff5375db487a8ca7cd3fd599f (diff)
drm/i915: Fix IPS disable in intel_plane_disable_noatomic()
IPS must be disabled prior to disabling the last plane (excluding the cursor). Make the code do that instead of assuming the primary plane would be the last one. This is probably 100% theoretical as the BIOS should never light up the other planes anyway. But no harm in making the code totally consistent. Also let's update the ips_enabled flag in the crtc state afterwards so that the first atomic commit has accurate information about the state of IPS. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220209113526.7595-6-ville.syrjala@linux.intel.com Acked-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_engine.h')
0 files changed, 0 insertions, 0 deletions