mbox series

[v2,0/4] drm/i915: Clean up crtc state flag checks

Message ID 20221021162442.27283-1-ville.syrjala@linux.intel.com (mailing list archive)
Headers show
Series drm/i915: Clean up crtc state flag checks | expand

Message

Ville Syrjälä Oct. 21, 2022, 4:24 p.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Some cleanups for checking whether the crtc was flagged for
modesets/fastsets/color update.

v2: Handle {connectors,active}_changed, and convert one
    more fastset check in fbc code

Ville Syrjälä (4):
  drm/i915: Introduce intel_crtc_needs_fastset()
  drm/i915: Remove some local 'mode_changed' bools
  drm/i915: Don't flag both full modeset and fastset at the same time
  drm/i915: Introduce intel_crtc_needs_color_update()

 drivers/gpu/drm/i915/display/hsw_ips.c        |  8 ++-
 drivers/gpu/drm/i915/display/intel_crtc.c     |  3 +-
 drivers/gpu/drm/i915/display/intel_cursor.c   |  6 ++-
 drivers/gpu/drm/i915/display/intel_display.c  | 49 +++++++++----------
 .../drm/i915/display/intel_display_types.h    | 14 ++++++
 drivers/gpu/drm/i915/display/intel_fbc.c      |  3 +-
 .../drm/i915/display/intel_modeset_verify.c   |  3 +-
 7 files changed, 50 insertions(+), 36 deletions(-)