diff options
| author | Jani Nikula <[email protected]> | 2025-05-16 12:17:00 +0000 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2025-05-20 17:55:23 +0000 |
| commit | 5a9f299f956ef9764f56044cfca7aafa23cea1d1 (patch) | |
| tree | 83219bbb183655f73e585949b21a3dd646997168 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
| parent | drm/xe/display: add notes about how early a few functions can be called (diff) | |
| download | kernel-5a9f299f956ef9764f56044cfca7aafa23cea1d1.tar.gz kernel-5a9f299f956ef9764f56044cfca7aafa23cea1d1.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/945d2a987214044a81f4816684972961b772b45a.1747397638.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions
