diff options
author | Matt Roper <matthew.d.roper@intel.com> | 2023-06-02 11:14:50 -0700 |
---|---|---|
committer | Matt Roper <matthew.d.roper@intel.com> | 2023-06-05 16:00:37 -0700 |
commit | 2d0cdf6020549400d93a3f56f09373ece71c76da (patch) | |
tree | 6b73c7ca8a68e59a9cfe461f61d4af03a9e52627 /tools/perf/scripts/python | |
parent | 19db2062094c75c64039d820c2547aad4dcfd905 (diff) |
drm/i915/display: Extract display init from intel_device_info_runtime_init
Moving display-specific runtime info initialization into display/ makes
the display code more self-contained and also makes it easier to call
from the Xe driver.
v2:
- Drop unnecessary display/ prefix from #includes. (Jani)
- Clear runtime info if fusing leaves no pipes remaining, the same as
we do when fusing indicates the entire display controller is
unavailable. (Jani)
- Move adjustment of DRIVER_MODESET / DRIVER_ATOMIC after call to
intel_display_device_info_runtime_init(); HAS_DISPLAY may have
changed to false during the runtime init. (Jani)
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230602181450.1151368-1-matthew.d.roper@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions