OSDN Git Service

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)
commitf28014244d54114ee3b9ea27a3b48a9bee4a4e18
treebbd75fd703a3798ed641931826056e0fa99b93d7
parentc014e07616c5ee18aee476947d90d99081e596d3
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