mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00

Prefer the driver agnostic struct drm_gem_object over i915 specific struct drm_i915_gem_object. Add new intel_bo_* functions as needed. 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/246b802bdbcd01a970ff8255d11db337f7b47b39.1726589119.git.jani.nikula@intel.com
22 lines
561 B
C
22 lines
561 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_FBDEV_FB_H__
|
|
#define __INTEL_FBDEV_FB_H__
|
|
|
|
struct drm_fb_helper;
|
|
struct drm_fb_helper_surface_size;
|
|
struct drm_gem_object;
|
|
struct drm_i915_private;
|
|
struct fb_info;
|
|
struct i915_vma;
|
|
|
|
struct intel_framebuffer *intel_fbdev_fb_alloc(struct drm_fb_helper *helper,
|
|
struct drm_fb_helper_surface_size *sizes);
|
|
int intel_fbdev_fb_fill_info(struct drm_i915_private *i915, struct fb_info *info,
|
|
struct drm_gem_object *obj, struct i915_vma *vma);
|
|
|
|
#endif
|