diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2021-09-13 14:56:44 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-09-16 09:56:24 -0400 |
commit | a70939851f9ced298dc7d523374b8c4d05239caf (patch) | |
tree | 48c2a200b7d9c754ef95e22458145ad0db5730a3 /COPYING | |
parent | cd51a57eb59fd56f3fe7ce9cadef444451bcf804 (diff) | |
download | linux-a70939851f9ced298dc7d523374b8c4d05239caf.tar.bz2 |
drm/amd/display: Fix white screen page fault for gpuvm
[Why]
The "base_addr_is_mc_addr" field was added for dcn3.1 support but
pa_config was never updated to set it to false.
Uninitialized memory causes it to be set to true which results in
address mistranslation and white screen.
[How]
Use memset to ensure all fields are initialized to 0 by default.
Fixes: 64b1d0e8d500 ("drm/amd/display: Add DCN3.1 HWSEQ")
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions