mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-13 21:24:52 -04:00
drm/xe/display: Add frontbuffer setter/getter for xe_bo
Xe is not carrying frontbuffer pointer in xe_bo. Define it's getter as NULL. Setter simply returns pointer which was provided as a parameter. v3: Do not take any references v2: Handle xe_bo_put as well 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>
This commit is contained in:
committed by
Rodrigo Vivi
parent
1be5ff7f82
commit
cd494efdb8
@@ -0,0 +1,12 @@
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
/*
|
||||
* Copyright © 2022 Intel Corporation
|
||||
*/
|
||||
|
||||
#ifndef _I915_GEM_OBJECT_FRONTBUFFER_H_
|
||||
#define _I915_GEM_OBJECT_FRONTBUFFER_H_
|
||||
|
||||
#define i915_gem_object_get_frontbuffer(obj) NULL
|
||||
#define i915_gem_object_set_frontbuffer(obj, front) (front)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user