drm/i915: Move encoder->get_config to a new function
authorManasi Navare <manasi.d.navare@intel.com>
Thu, 12 Nov 2020 19:17:13 +0000 (21:17 +0200)
committerManasi Navare <manasi.d.navare@intel.com>
Fri, 13 Nov 2020 14:55:56 +0000 (06:55 -0800)
commit65c1ed30b0e617a368b4326f88b668f1ed32a06f
tree64bf5838523948a00b43aa143992e031ec16cbcf
parent6ec29d2bb060442315f6c11b0af02ad5da085287
drm/i915: Move encoder->get_config to a new function

No functional changes, create a separate intel_encoder_get_config()
function that calls encoder->get_config hook.
This is needed so that later we can add beigjoienr related
readout here.

Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
[vsyrjala: Move the code around for the future]
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Animesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201112191718.16683-2-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_display.c