OSDN Git Service

drm/i915: Add intel_atomic_add_affected_planes()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 24 Nov 2020 20:11:54 +0000 (22:11 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Dec 2020 17:07:24 +0000 (19:07 +0200)
commit9e363c82baf185baba9c42ae78c30b5e7be98937
tree800663cc160704d632a016ba8d5118d871e7bd88
parentee42ec19ca2e5575815cbccf2a039ea823d8e7ef
drm/i915: Add intel_atomic_add_affected_planes()

drm_atomic_add_affected_planes() only considers planes which
are logically enabled in the uapi state. For bigjoiner we need
to consider planes logically enabled in the hw state. Add a
helper for that.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201124201156.17095-2-ville.syrjala@linux.intel.com
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
drivers/gpu/drm/i915/display/intel_cdclk.c
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display.h