diff options
author | Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> | 2020-06-02 00:22:41 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-01 08:59:25 +0300 |
commit | ef9de1876aa774342c57299b70c1b8913ee5436a (patch) | |
tree | 9b35d12d778958fe63e7d77664b6e182b9f9faac /drivers/gpu/drm/amd/display/dc/dm_cp_psp.h | |
parent | 0cc722248a8e608f4759f6df46e76f7c2315bfba (diff) | |
download | linux-ef9de1876aa774342c57299b70c1b8913ee5436a.tar.xz |
drm/amd/display: enable assr
[Why]
assr is content protection for eDP, in order to use it we need to call
psp ta (dtm)
[How]
We have a enable_assr callback, hook into this and call the correct psp
cmd id to enable assr.
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@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.h | 1 |
1 files changed, 1 insertions, 0 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 968c46dfb506..5da7677627a1 100644 --- a/drivers/gpu/drm/amd/display/dc/dm_cp_psp.h +++ b/drivers/gpu/drm/amd/display/dc/dm_cp_psp.h @@ -38,6 +38,7 @@ struct cp_psp_stream_config { }; struct cp_psp_funcs { + bool (*enable_assr)(void *handle, struct dc_link *link); void (*update_stream_config)(void *handle, struct cp_psp_stream_config *config); }; |