]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: add support for DSC
authorJani Nikula <jani.nikula@intel.com>
Tue, 10 Dec 2019 10:51:00 +0000 (12:51 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 11 Dec 2019 06:20:06 +0000 (08:20 +0200)
commit80d01fe9ad9a14a7f7ca9bd1b4e3f8849e43c4d5
tree6d2e1b0eb5edc46f8656aa98e5ffa2f5d6dfa7c8
parentf3875d6c49fd7c30fa7dfa0afb02ef9912e9080f
drm/i915/dsi: add support for DSC

Enable DSC for DSI, if specified in VBT.

This still lacks DSC aware get config implementation, and therefore
state checker will fail. Also mode valid is not there yet.

v5:
- add dsc get config call

v4:
- convert_rgb = true (Vandita)
- ignore max cdclock check (Vandita)
- rename pipe_config to crtc_state

v3:
- take compressed bpp into account

v2:
- Nuke conn_state->max_requested_bpc, it's not used on DSI

Bspec: 49263
Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/e0136299e03c582238523189f6951eeb08daed98.1575974743.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/icl_dsi.c