]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Pass connector state to pfit calculations
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 22 Apr 2020 16:19:16 +0000 (19:19 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 24 Apr 2020 14:33:35 +0000 (17:33 +0300)
commit59a5346e03a975da99d7d105077a08ee753b33f0
tree37a1bf310a5b5bfe8885c693c9c5804a8caed363
parent569b41865e9cbb2f6f74374f9e18b2c384b1ff38
drm/i915: Pass connector state to pfit calculations

Pass the entire connector state to intel_{gmch,pch}_panel_fitting().
For now we just need to get at .scaling_mode but in the future we'll
want access to the margin properties as well.

v2: Deal with intel_dp_ycbcr420_config()

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200422161917.17389-5-ville.syrjala@linux.intel.com
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
drivers/gpu/drm/i915/display/icl_dsi.c
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_hdmi.c
drivers/gpu/drm/i915/display/intel_lvds.c
drivers/gpu/drm/i915/display/intel_panel.c
drivers/gpu/drm/i915/display/intel_panel.h
drivers/gpu/drm/i915/display/vlv_dsi.c