diff options
author | Samson Tam <Samson.Tam@amd.com> | 2023-04-19 18:17:14 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 09:27:45 -0400 |
commit | f835a571ec998b83c165022795f9385f9335f108 (patch) | |
tree | f9411bd1c0bb645448191942e1501d852679d8dd /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | 4dfa60aede755814dcfbc9a05008265d827cc98d (diff) | |
download | linux-f835a571ec998b83c165022795f9385f9335f108.tar.gz linux-f835a571ec998b83c165022795f9385f9335f108.tar.bz2 linux-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