]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix naming of DSC Debugfs entry
authorEryk Brol <eryk.brol@amd.com>
Tue, 16 Jun 2020 20:29:19 +0000 (16:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 20:38:03 +0000 (16:38 -0400)
commit4d82137141f2bd378908d34dfe7b83e1f9909e20
tree5977e9d6f55af1e5bbb819a8a1c190e3afda1aec
parent8f349a15446c18e193a7bb91b34c60a76a7f2423
drm/amd/display: Fix naming of DSC Debugfs entry

[why]
Fix naming and return bits rather than bytes per pixel for
naming consistency. Because registers return Bytes per pixel,
but DSC Config structure is expecting bits per pixel as input.
So when returning the value convert from bytes into bits.

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_debugfs.c