drm/i915/display: Use intel_bo_to_drm_bo instead of obj->base
authorJouni Högander <jouni.hogander@intel.com>
Thu, 12 Oct 2023 07:21:58 +0000 (10:21 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Mon, 23 Oct 2023 06:06:11 +0000 (09:06 +0300)
commit3594d00b71eea66d183b310c19aa5a6bf4206e62
tree7497a03e452641f5714d38334fddde3737dff579
parent501069dad5214fafe1b8ba38fa26a5d07df784c3
drm/i915/display: Use intel_bo_to_drm_bo instead of obj->base

Xe and i915 objects have differing implementation. Use intel_bo_to_drm_bo
instead of obj->base as xe_bo doesn't have base pointer.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231012072158.4115795-3-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_fb.c