diff options
author | 2024-08-20 14:34:15 -0400 | |
---|---|---|
committer | 2024-09-02 11:34:11 -0400 | |
commit | 988fe2862635c1b1b40e41c85c24db44ab337c13 (patch) | |
tree | efda6f5e60fa88085089d1e72df4f67a14069adf /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/amd/display: only trigger BIOS related assert for older ASICs (diff) | |
download | wireguard-linux-988fe2862635c1b1b40e41c85c24db44ab337c13.tar.xz wireguard-linux-988fe2862635c1b1b40e41c85c24db44ab337c13.zip |
drm/amd/display: Lock DC and exit IPS when changing backlight
Backlight updates require aux and/or register access. Therefore, driver
needs to disallow IPS beforehand.
So, acquire the dc lock before calling into dc to update backlight - we
should be doing this regardless of IPS. Then, while the lock is held,
disallow IPS before calling into dc, then allow IPS afterwards (if it
was previously allowed).
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Roman Li <roman.li@amd.com>
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions