diff options
| author | Radhakrishna Sripada <radhakrishna.sripada@intel.com> | 2024-03-04 13:23:31 -0800 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2024-03-11 12:37:37 +0200 |
| commit | a2596003ef60e7df45e369104c9d33e86582b38f (patch) | |
| tree | 28db23cc0aabdcea11fc505d7fbfc49fff744944 /tools/perf/scripts/python | |
| parent | 0cb9b4ead00e5359e543f9c88684970ccbaf5d25 (diff) | |
| download | linux-a2596003ef60e7df45e369104c9d33e86582b38f.tar.gz linux-a2596003ef60e7df45e369104c9d33e86582b38f.zip | |
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 <jani.nikula@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240304212331.640424-1-radhakrishna.sripada@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
