mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-27 13:50:45 +07:00
drm/amd/display: Add missing shifts and masks for dpp registers on dcn2
[Why] The register CM_TEST_DEBUG_DATA is used in dpp1_program_input_csc, which is called from dpp2_cnv_setup, but the shifts and masks for the fields of that register are not initialized for dcn2. This causes all reads of that register to return 0. Signed-off-by: Joshua Aberback <joshua.aberback@amd.com> Reviewed-by: Jaehyun Chung <Jaehyun.Chung@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
deb79818e1
commit
d56eaa7cfb
@ -581,11 +581,13 @@ static const struct dcn2_dpp_registers tf_regs[] = {
|
||||
};
|
||||
|
||||
static const struct dcn2_dpp_shift tf_shift = {
|
||||
TF_REG_LIST_SH_MASK_DCN20(__SHIFT)
|
||||
TF_REG_LIST_SH_MASK_DCN20(__SHIFT),
|
||||
TF_DEBUG_REG_LIST_SH_DCN10
|
||||
};
|
||||
|
||||
static const struct dcn2_dpp_mask tf_mask = {
|
||||
TF_REG_LIST_SH_MASK_DCN20(_MASK)
|
||||
TF_REG_LIST_SH_MASK_DCN20(_MASK),
|
||||
TF_DEBUG_REG_LIST_MASK_DCN10
|
||||
};
|
||||
|
||||
#define dwbc_regs_dcn2(id)\
|
||||
|
Loading…
Reference in New Issue
Block a user