]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: Pass fixed_mode to *_dsi_add_properties()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 11 Mar 2022 17:24:13 +0000 (19:24 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 14 Mar 2022 22:12:43 +0000 (00:12 +0200)
commit818c3d941e4a5c8fe690b59694ca601cb7543ca9
tree5e3084e2bd01ecdf32995a3398f13cac81f86216
parent51a6372b4b17d52f266a1ee32463c5d8ae801f75
drm/i915/dsi: Pass fixed_mode to *_dsi_add_properties()

We want to eventually get rid of the connector->panel.fixed_mode
pointer so avoid using it during DSI property setup. Since this
all happens during the encoder init we already have the fixed_mode
around, just pass that in.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220311172428.14685-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/icl_dsi.c
drivers/gpu/drm/i915/display/vlv_dsi.c