]> 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)
commit2b68392e638dfa5cf4f7b558f62e3ea4def2e605
tree6d2e1b0eb5edc46f8656aa98e5ffa2f5d6dfa7c8
parentc2bb35e99f4b426efdd28011655bd67ca86749b5
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