OSDN Git Service

drm/amd/display: Rename bytes_pp to the correct bits_pp
authorEryk Brol <eryk.brol@amd.com>
Tue, 16 Jun 2020 20:24:11 +0000 (16:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 20:37:47 +0000 (16:37 -0400)
commit5e061a4d020380566365e8aa8f629bbd200e9708
tree6dc4f0156612fbb2fdf7feb2908d7d13cace7762
parent7c146177b3368feda6dbb0e01b085c84d9774589
drm/amd/display: Rename bytes_pp to the correct bits_pp

[Why]
Struct dcn_dsc_state is used for reading current state
and parameters of DSC on a pipe, the target rate parameter
uses bytes per pixel even though its reading BITS_PER_PIXEL
register.

[How]
Changing it to Bits Per Pixel for consistency.

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
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c
drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h