diff options
author | Jouni Högander <jouni.hogander@intel.com> | 2023-07-27 09:41:39 +0300 |
---|---|---|
committer | Jouni Högander <jouni.hogander@intel.com> | 2023-08-01 08:47:08 +0300 |
commit | 72e31c0a942d0d864ef217df29188ba23e111d4c (patch) | |
tree | a661a019d35cf678b5fce85573f8b714545a27a4 /drivers/gpu/drm/i915/display/intel_frontbuffer.h | |
parent | 14c8fca214a27e24f033fe906191651ffe601074 (diff) | |
download | linux-72e31c0a942d0d864ef217df29188ba23e111d4c.tar.gz linux-72e31c0a942d0d864ef217df29188ba23e111d4c.tar.bz2 linux-72e31c0a942d0d864ef217df29188ba23e111d4c.zip |
drm/i915: Add macros to get i915 device from i915_gem_object
We want to stop touching directly i915_gem_object struct members in
intel_frontbuffer code. As a part of this we add helper macro to get i915
device from i915_gem_object.
v2: operate on and return pointer in defined macros
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230727064142.751976-2-jouni.hogander@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_frontbuffer.h')
0 files changed, 0 insertions, 0 deletions