diff options
author | Samson Tam <Samson.Tam@amd.com> | 2023-04-20 01:17:14 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-05-04 06:10:02 +0300 |
commit | 682439fffad9fa9a38d37dd1b1318e9374232213 (patch) | |
tree | 178ddc95eefdeb8550cd843ad8c62a6002f24a81 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8f586cc16c1fc3c2202c9d54563db8c7ed365f82 (diff) | |
download | linux-682439fffad9fa9a38d37dd1b1318e9374232213.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>
Cc: stable@vger.kernel.org # 6.1.x
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions