diff options
| author | Radhakrishna Sripada <[email protected]> | 2024-03-04 13:23:31 -0800 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2024-03-11 12:37:37 +0200 |
| commit | a2596003ef60e7df45e369104c9d33e86582b38f (patch) | |
| tree | 28db23cc0aabdcea11fc505d7fbfc49fff744944 /tools/perf/scripts/python/flamegraph.py | |
| parent | 0cb9b4ead00e5359e543f9c88684970ccbaf5d25 (diff) | |
drm/i915: Show bios vbt when read from firmware/spi/oprom
Make debugfs vbt only shows valid vbt when read from ACPI opregion.
Make it work when read from firmware/spi/pci oprom cases. In the cases
where VBT needs to be read from spi/pci oprom, take the wakeref to
prevent WARN while reading DE registers during debugfs vbt dump.
v2: Extract getting vbt from different sources to its own function.
Protect sysfs write with vbt check(Jani)
v3: Fix CI error by probing bios vbt with runtime_pm wakeref
v4: Update commit message and skip waking up runtime while accessing
vbt from opregion/firmware(Jani)
v5: Skip grabbing unnecessary wakeref(Jani)
Cc: Jani Nikula <[email protected]>
Signed-off-by: Radhakrishna Sripada <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions