diff options
author | 2024-04-17 16:02:41 +0300 | |
---|---|---|
committer | 2024-04-18 21:16:32 +0300 | |
commit | 98ebb7cf94d209b017b3e7a456e7b1a82455fdc9 (patch) | |
tree | 83e0ef439628eef23927b7e9a6194dd60aa4e628 /drivers/gpu/drm/i915/display/intel_panel.c | |
parent | drm/i915/display: add generic to_intel_display() macro (diff) | |
download | wireguard-linux-98ebb7cf94d209b017b3e7a456e7b1a82455fdc9.tar.xz wireguard-linux-98ebb7cf94d209b017b3e7a456e7b1a82455fdc9.zip |
drm/i915: add generic __to_intel_display()
Add generic __to_intel_display() macro that accepts either struct
drm_i915_private * or struct intel_display *. This is to be used for
transitional stuff that eventually needs to be converted to use struct
intel_display *, and therefore is not part of to_intel_display().
Add new intel_display_conversion.h to host the helper to avoid
duplication between xe and i915 drivers.
v2: put it in the new header (Rodrigo)
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/a999ff8183659a4df68d439ebd31c19b5c56852a.1713358679.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_panel.c')
0 files changed, 0 insertions, 0 deletions