drm/i915: Move hw.active assignment into intel_crtc_get_pipe_config()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 12 Nov 2020 19:17:15 +0000 (21:17 +0200)
committerManasi Navare <manasi.d.navare@intel.com>
Fri, 13 Nov 2020 15:40:00 +0000 (07:40 -0800)
commit291106cbd6fa5f8daef55f2fbfa905c33ccc03a2
tree7aef5191602d702a49c71687cb12ab67b13e7577
parent11f9af1657b167035fee35ef3317ff2fb0406410
drm/i915: Move hw.active assignment into intel_crtc_get_pipe_config()

No reason to make the callers of intel_crtc_get_pipe_config()
populate hw.active. Let's do it in intel_crtc_get_pipe_config()
itself. hw.enable we leave up to the callers since it's slightly
different for readout vs. state check.

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