OSDN Git Service

drm/amd/display: DSC Slice width debugfs write entry
authorEryk Brol <eryk.brol@amd.com>
Wed, 17 Jun 2020 18:39:50 +0000 (14:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Jul 2020 18:13:45 +0000 (14:13 -0400)
commit27e84dd7b4490fad29118d5bddfc0018f38a1c66
treebbb4ff28358e814458419c2a90efc78bfd47db01
parent42a614800b0647af3c4944f2ac04eb1613b30161
drm/amd/display: DSC Slice width debugfs write entry

[Why]
We need to be able to specify slice width for DSC on aconnector

[How]
Getting slice width parameter from debugfs entry, if it is
a valid the value is set in connector's dsc preffered settings
structure. Which then overwrites dsc_cfg structure's parameters
if DSC is decided to be enabled. Works for both SST and MST.

Signed-off-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Mikita Lipski <Mikita.Lipski@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c