Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/xe/display: Add i915_gem.h compatibility header

Add i915_gem.h compatibility header and include it in i915_drv.h. Add
empty GEM_BUG_ON definition for fbc code.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

authored by

Jouni Högander and committed by
Rodrigo Vivi
c890be73 c5a2eadd

+10
+1
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
··· 19 19 #include "xe_bo.h" 20 20 #include "xe_pm.h" 21 21 #include "xe_step.h" 22 + #include "i915_gem.h" 22 23 #include "i915_gem_stolen.h" 23 24 #include "i915_gpu_error.h" 24 25 #include "i915_reg_defs.h"
+9
drivers/gpu/drm/xe/compat-i915-headers/i915_gem.h
··· 1 + /* SPDX-License-Identifier: MIT */ 2 + /* 3 + * Copyright © 2023 Intel Corporation 4 + */ 5 + 6 + #ifndef __I915_GEM_H__ 7 + #define __I915_GEM_H__ 8 + #define GEM_BUG_ON 9 + #endif