]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsc: split out encoder specific parts from DSC compute params
authorJani Nikula <jani.nikula@intel.com>
Mon, 4 Nov 2019 14:14:38 +0000 (16:14 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 5 Nov 2019 12:47:08 +0000 (14:47 +0200)
commitb0ab655c87167563ce336a896bfeeaa51d41dcc8
treed852ed88fa02530f6b1c4d622a82fadd3e585af5
parent6aead5df0556e44338cf305988ddea7e5c3f2e33
drm/i915/dsc: split out encoder specific parts from DSC compute params

Split out the DP specific parts, making it easier to add DSI specific
configuration. Also move the encoder specific parts towards the end, to
allow overriding generic configuration if needed. This also improves
clarity by making it clear the encoder independent configuration does
not depend on the encoder specific parts.

v2: Rebase

Cc: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191104141439.26312-3-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_vdsc.c
drivers/gpu/drm/i915/display/intel_vdsc.h