diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2025-05-16 15:17:00 +0300 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2025-05-20 20:55:23 +0300 |
| commit | 5a9f299f956ef9764f56044cfca7aafa23cea1d1 (patch) | |
| tree | 83219bbb183655f73e585949b21a3dd646997168 /scripts/gdb/linux/utils.py | |
| parent | 7e49ab36e6f3fb6edc250609ece1548bf80c50cc (diff) | |
drm/xe/display: use xe->display to decide whether to do anything
Since we only initialize xe->display when xe->info.probe_display, we can
use !xe->display to bail out early. This seems cleaner and more accurate
than relying on xe->info.probe_display, since xe->display may indeed be
NULL.
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://lore.kernel.org/r/945d2a987214044a81f4816684972961b772b45a.1747397638.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
