diff options
author | 2023-04-19 18:17:14 -0400 | |
---|---|---|
committer | 2023-06-09 09:27:45 -0400 | |
commit | f835a571ec998b83c165022795f9385f9335f108 (patch) | |
tree | f9411bd1c0bb645448191942e1501d852679d8dd /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | drm/amd/display: Adding debug option to override Z8 watermark values (diff) | |
download | linux-rng-f835a571ec998b83c165022795f9385f9335f108.tar.xz linux-rng-f835a571ec998b83c165022795f9385f9335f108.zip |
drm/amd/display: filter out invalid bits in pipe_fuses
[Why]
Reading pipe_fuses from register may have invalid bits set, which may
affect the num_pipes erroneously.
[How]
Add read_pipes_fuses() call and filter bits based on expected number
of pipes.
Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions