| 1 | // SPDX-License-Identifier: MIT | 
|---|---|
| 2 | /* Copyright © 2024 Intel Corporation */ | 
| 3 | |
| 4 | #include "i915_drv.h" | 
| 5 | #include "intel_display_conversion.h" | 
| 6 | |
| 7 | static struct intel_display *__i915_to_display(struct drm_i915_private *i915) | 
| 8 | { | 
| 9 | return i915->display; | 
| 10 | } | 
| 11 | |
| 12 | struct intel_display *__drm_to_display(struct drm_device *drm) | 
| 13 | { | 
| 14 | return __i915_to_display(i915: to_i915(dev: drm)); | 
| 15 | } | 
| 16 | 
