diff options
author | 2023-08-15 19:59:58 -0400 | |
---|---|---|
committer | 2023-09-20 16:24:08 -0400 | |
commit | 990d988847c469b5e1e5e0748fb02ef613d9e0d1 (patch) | |
tree | 4e903aa1e027294a220f3af9d1841114e817d08f /drivers/gpu/drm/amd/display/dc/dcn35 | |
parent | drm/amd/display: Update pipe resource interfaces for DCN35 (diff) | |
download | linux-990d988847c469b5e1e5e0748fb02ef613d9e0d1.tar.gz linux-990d988847c469b5e1e5e0748fb02ef613d9e0d1.tar.bz2 linux-990d988847c469b5e1e5e0748fb02ef613d9e0d1.zip |
drm/amd/display: STREAM_MAPPER_CONTROL register offset on DCN35
[Why]
The STREAM_MAPPER_CONTROL register offset was left uninitialized,
causing warning in the driver log at runtime
[How]
A temporary solution to add it into dcn35_create_resource_pool.
[TODO]
Remove duplication between SE_DCN35_REG_LIST_RI in dcn35_resource.h and
SE_DCN35_REG_LIST in dcn35_dio_stream_encoder.h
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Artem Grishin <artem.grishin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn35')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.h b/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.h index 00e2216b6205..5ec70d46a38f 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.h +++ b/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.h @@ -137,7 +137,8 @@ struct resource_pool *dcn35_create_resource_pool( SRI_ARR(DIG_FE_EN_CNTL, DIG, id), \ SRI_ARR(DIG_FE_CLK_CNTL, DIG, id), \ SRI_ARR(DIG_CLOCK_PATTERN, DIG, id), \ - SRI_ARR(DIG_FIFO_CTRL0, DIG, id) + SRI_ARR(DIG_FIFO_CTRL0, DIG, id), \ + SRI_ARR(STREAM_MAPPER_CONTROL, DIG, id) #define LE_DCN35_REG_LIST_RI(id)\ LE_DCN3_REG_LIST_RI(id),\ |