]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsc: fix DSC power domains for DSI
authorJani Nikula <jani.nikula@intel.com>
Thu, 12 Dec 2019 13:47:28 +0000 (15:47 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 19 Dec 2019 13:24:03 +0000 (15:24 +0200)
commitc97e0bf973e362685ce2b937a75025ebf40446a3
tree3c9410fc00c19b3b294448667694bda39d83de50
parentd67b4f6d38ba73c62a49f14c9d8c60f48da1102e
drm/i915/dsc: fix DSC power domains for DSI

Fix several issues with DSC power domains that did not take DSI
transcoders into account:

- On TGL+ we need to use PW2 for DSC on pipe A, not transcoder A. There
  is no longer an eDP transcoder, but there are two DSI transcoders
  which may be connected to pipe A.

- On TGL+ we need to use the pipe, not transcoder, power domains for DSC
  on pipes other than A. Again, there are DSI transcoders.

- On ICL we need to use PW2 for DSC also for DSI transcoders, not just
  for the eDP transcoder.

Using is_pipe_dsc() also adds the warning about ICL pipe A DSC, which
does not exist.

Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: Vandita Kulkarni <vandita.kulkarni@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/20191212134728.18432-1-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_vdsc.c