summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dm_cp_psp.h
diff options
context:
space:
mode:
authorWenjing Liu <wenjing.liu@amd.com>2020-12-10 14:21:25 -0500
committerAlex Deucher <alexander.deucher@amd.com>2021-02-02 12:09:09 -0500
commitaac6d4391a0a354bcb59885ce990ca934563143a (patch)
tree445d73063f43c3e11accc6bea5db2a1940a65bef /drivers/gpu/drm/amd/display/dc/dm_cp_psp.h
parentaccff74e8fbff8d5eedb19f6eccf04b318cf6174 (diff)
downloadlinux-stable-aac6d4391a0a354bcb59885ce990ca934563143a.tar.gz
linux-stable-aac6d4391a0a354bcb59885ce990ca934563143a.tar.bz2
linux-stable-aac6d4391a0a354bcb59885ce990ca934563143a.zip
drm/amd/display: correct some hdcp variable naming
[why] In HDCP update stream config interface, some variables are named as xxx_supported, but in fact the variable indicates whether or not xxx_enabled. Correct the naming so it is less confusing to read the code. Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Reviewed-by: George Shen <George.Shen@amd.com> Acked-by: Anson Jacob <Anson.Jacob@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dm_cp_psp.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dm_cp_psp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dm_cp_psp.h b/drivers/gpu/drm/amd/display/dc/dm_cp_psp.h
index 5da7677627a1..cac0b2c0d31b 100644
--- a/drivers/gpu/drm/amd/display/dc/dm_cp_psp.h
+++ b/drivers/gpu/drm/amd/display/dc/dm_cp_psp.h
@@ -30,9 +30,10 @@ struct dc_link;
struct cp_psp_stream_config {
uint8_t otg_inst;
- uint8_t link_enc_inst;
- uint8_t stream_enc_inst;
- uint8_t mst_supported;
+ uint8_t dig_be;
+ uint8_t dig_fe;
+ uint8_t assr_enabled;
+ uint8_t mst_enabled;
void *dm_stream_ctx;
bool dpms_off;
};