summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2024-02-12 12:06:13 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2024-02-14 12:09:18 +0300
commit4e754597d603c642869be9bffbb0ef49bf5f7bb8 (patch)
tree383cb386b6842d264a2019c8b75fbde58f446f53 /tools/perf/scripts/python/exported-sql-viewer.py
parent9040d0297a476a4cea468663741177a79c19626b (diff)
downloadlinux-4e754597d603c642869be9bffbb0ef49bf5f7bb8.tar.xz
firmware/sysfb: Create firmware device only for enabled PCI devices
Test if the firmware framebuffer's parent PCI device, if any, has been enabled. If not, the firmware framebuffer is most likely not working. Hence, do not create a device for the firmware framebuffer on disabled PCI devices. So far, efifb tracked the status of the PCI parent device internally and did not bind if it was disabled. This patch implements the functionality for all PCI-based firmware framebuffers. v3: * make commit message more precise (Sui) v2: * rework sysfb_pci_dev_is_enabled() (Javier) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240212090736.11464-6-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions