]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/vdsc: Use the DSC config tables for DSI panels
authorSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 28 Feb 2025 15:25:32 +0000 (20:55 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 24 Mar 2025 05:47:06 +0000 (11:17 +0530)
commitc63d00e388f2240c732bf1c89dc48bc8ff98089d
treecaf82f5b28b74f782e3782cc847560c96d9fcf43
parentf5c3bcd23afb4b2888c8f6eaa608b8a0c70091e4
drm/i915/vdsc: Use the DSC config tables for DSI panels

Some DSI panel vendors end up hardcoding PPS params because of which
it does not listen to the params sent from the source. We use the
default config tables for DSI panels when using DSC 1.1 rather than
calculate our own rc parameters.

--v2
-Use intel_crtc_has_type [Jani]

--v4
-Use a function to check Mipi dsi dsc 1.1 condition [Ankit]
-Add documentation for using this condition [Ankit]
-Rebase

--v5
-Pass only the crtc_state [Jani]
-Fixup the comment [Jani]
-Check for dsc major version [Jani]
-Use co-developed-by tag [Jani]

--v6
-Add more definition of the issue and solution in the comment [Ankit]

Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13719
Co-developed-by: William Tseng <william.tseng@intel.com>
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250228152531.403026-1-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_vdsc.c