mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
This code is in fact driver core rather than display specific. Pass struct drm_device instead of struct intel_display. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://lore.kernel.org/r/1f633154f5f3106f55d7525a711bf347f5635ea7.1758184771.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
21 lines
527 B
C
21 lines
527 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_FBDEV_FB_H__
|
|
#define __INTEL_FBDEV_FB_H__
|
|
|
|
struct drm_device;
|
|
struct drm_gem_object;
|
|
struct drm_mode_fb_cmd2;
|
|
struct fb_info;
|
|
struct i915_vma;
|
|
|
|
struct drm_gem_object *intel_fbdev_fb_bo_create(struct drm_device *drm, int size);
|
|
void intel_fbdev_fb_bo_destroy(struct drm_gem_object *obj);
|
|
int intel_fbdev_fb_fill_info(struct drm_device *drm, struct fb_info *info,
|
|
struct drm_gem_object *obj, struct i915_vma *vma);
|
|
|
|
#endif
|