]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ce441b0d4610d8b221b828d9d69bdb660aa4b4e
tree7aef5191602d702a49c71687cb12ab67b13e7577
parentd0c9244e71f30d93992f0caa94aac026bc68bfe5
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