diff options
author | Eryk Brol <eryk.brol@amd.com> | 2020-06-16 16:24:11 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-08-06 16:37:47 -0400 |
commit | 5e061a4d020380566365e8aa8f629bbd200e9708 (patch) | |
tree | 6dc4f0156612fbb2fdf7feb2908d7d13cace7762 /drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h | |
parent | 7c146177b3368feda6dbb0e01b085c84d9774589 (diff) | |
download | linux-5e061a4d020380566365e8aa8f629bbd200e9708.tar.gz linux-5e061a4d020380566365e8aa8f629bbd200e9708.tar.bz2 linux-5e061a4d020380566365e8aa8f629bbd200e9708.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h index 5915994f9eb8..f520e13aee4c 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h @@ -55,7 +55,7 @@ struct dsc_optc_config { struct dcn_dsc_state { uint32_t dsc_clock_en; uint32_t dsc_slice_width; - uint32_t dsc_bytes_per_pixel; + uint32_t dsc_bits_per_pixel; uint32_t dsc_slice_height; uint32_t dsc_pic_width; uint32_t dsc_pic_height; |