Commit 990d9888 authored by Artem Grishin's avatar Artem Grishin Committed by Alex Deucher

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: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: default avatarCharlene Liu <charlene.liu@amd.com>
Acked-by: default avatarQingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: default avatarArtem Grishin <artem.grishin@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 17e8f215
......@@ -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),\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment