diff options
author | Samson Tam <Samson.Tam@amd.com> | 2023-04-20 01:17:14 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 16:27:45 +0300 |
commit | f835a571ec998b83c165022795f9385f9335f108 (patch) | |
tree | f9411bd1c0bb645448191942e1501d852679d8dd /samples | |
parent | 4dfa60aede755814dcfbc9a05008265d827cc98d (diff) | |
download | linux-f835a571ec998b83c165022795f9385f9335f108.tar.xz |
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 'samples')
0 files changed, 0 insertions, 0 deletions