drm/i915/display: use intel_bo_to_drm_bo in intel_fb.c
authorJouni Högander <jouni.hogander@intel.com>
Sun, 3 Dec 2023 11:48:37 +0000 (13:48 +0200)
committerJouni Högander <jouni.hogander@intel.com>
Mon, 4 Dec 2023 05:26:28 +0000 (07:26 +0200)
commit72207699ff76d4392244c8d9850aaef0160dc6b4
tree9e573b2e6bee82e728e74a99f84367548cf5279d
parentc952bf11ace50b03fce14dbc15a092fdc9a6d2c8
drm/i915/display: use intel_bo_to_drm_bo in intel_fb.c

We are preparing for Xe driver. I915 and Xe object implementation are
differing. Do not use  i915_gem_object->base directly. Instead use
intel_bo_to_drm_bo.

Also use drm_gem_object_put instead of i915_gem_object_put. This should be
ok as i915_gem_object_put is really just doing  __drm_gem_object_put.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231203114840.841311-2-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_fb.c