summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/display
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2024-09-17 19:13:44 +0300
committerJani Nikula <jani.nikula@intel.com>2024-09-19 16:19:42 +0300
commitad36a322619c14ba35872129a401ee214bfad875 (patch)
treef89d84745bb260caaa0277b1822aa537817f1a0e /drivers/gpu/drm/xe/display
parentbaa46d1bdda2f7ee0b468a9381ff47c9038d5d31 (diff)
drm/i915/display: convert skl_universal_plane.c to struct drm_gem_object
Prefer the driver agnostic struct drm_gem_object over i915 specific struct drm_i915_gem_object. Add new intel_bo_* functions as needed. Convert intel_pxp_key_check() to struct drm_gem_object. Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/0a6d2bec50764efaae4322c9cfa33eefbfe1c054.1726589119.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/xe/display')
-rw-r--r--drivers/gpu/drm/xe/display/intel_bo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/display/intel_bo.c b/drivers/gpu/drm/xe/display/intel_bo.c
index 0c262313ecca..7543915c970a 100644
--- a/drivers/gpu/drm/xe/display/intel_bo.c
+++ b/drivers/gpu/drm/xe/display/intel_bo.c
@@ -23,6 +23,11 @@ bool intel_bo_is_shmem(struct drm_gem_object *obj)
return false;
}
+bool intel_bo_is_protected(struct drm_gem_object *obj)
+{
+ return false;
+}
+
void intel_bo_flush_if_display(struct drm_gem_object *obj)
{
}