25 lines · c
1/* SPDX-License-Identifier: MIT */2/*3 * Copyright © 2021 Intel Corporation4 */5 6#ifndef __INTEL_FB_BO_H__7#define __INTEL_FB_BO_H__8 9struct drm_file;10struct drm_mode_fb_cmd2;11struct drm_i915_private;12struct intel_framebuffer;13struct xe_bo;14 15void intel_fb_bo_framebuffer_fini(struct xe_bo *bo);16int intel_fb_bo_framebuffer_init(struct intel_framebuffer *intel_fb,17 struct xe_bo *bo,18 struct drm_mode_fb_cmd2 *mode_cmd);19 20struct xe_bo *intel_fb_bo_lookup_valid_bo(struct drm_i915_private *i915,21 struct drm_file *filp,22 const struct drm_mode_fb_cmd2 *mode_cmd);23 24#endif25