summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2024-08-29 17:47:44 +0300
committerJani Nikula <jani.nikula@intel.com>2024-09-02 15:01:59 +0300
commit6a2161a155f92985b21e38a9e8b9217f620d606f (patch)
tree3a3c3596cdd960c578239948ba4dd1a35e2cbe9c /tools/perf/scripts/python/export-to-sqlite.py
parent83e5af5997554115e198c2e9e97564702eac04a6 (diff)
downloadlinux-6a2161a155f92985b21e38a9e8b9217f620d606f.tar.xz
drm/i915: support struct device and pci_dev in to_intel_display()
Now that both xe and i915 store struct drm_device in drvdata, we can trivially support struct device and struct pci_dev in to_intel_display(). We do need to check for NULL drvdata before converting it into struct intel_device pointer, though. Do it in __drm_device_to_intel_display(). v2: Add NULL check in __drm_device_to_intel_display() (Gustavo) Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com> # v1 Link: https://patchwork.freedesktop.org/patch/msgid/f025a3fa4422725c78baac4501ad3ecc9e5b40d5.1724942754.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions