mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 23:34:00 -04:00
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
23 lines
375 B
C
23 lines
375 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_PXP_H__
|
|
#define __INTEL_PXP_H__
|
|
|
|
#include <linux/errno.h>
|
|
#include <linux/types.h>
|
|
|
|
struct drm_gem_object;
|
|
struct intel_pxp;
|
|
|
|
static inline int intel_pxp_key_check(struct intel_pxp *pxp,
|
|
struct drm_gem_object *obj,
|
|
bool assign)
|
|
{
|
|
return -ENODEV;
|
|
}
|
|
|
|
#endif
|