]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Introduce encoder->compute_config_late()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 14 Feb 2020 11:41:24 +0000 (03:41 -0800)
committerUma Shankar <uma.shankar@intel.com>
Thu, 20 Feb 2020 08:23:55 +0000 (13:53 +0530)
commit4e95e5036c8230eec3b26f49de4881f5180526a0
treebbd75fd703a3798ed641931826056e0fa99b93d7
parentc5d2d6a5203e04014e29209d502c9e22e2f2e50e
drm/i915: Introduce encoder->compute_config_late()

Add an optional secondary encoder state compute hook. This gets
called after the normak .compute_config() has been called for
all the encoders in the state. Thus in the new hook we can rely
on all derived state populated by .compute_config() to be already
set up. Should be useful for MST and port sync master/slave
transcoder selection.

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