File Index
Files and directories
Sign in
FILE

intel_bo.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/i915/display/intel_bo.h C
 1/* SPDX-License-Identifier: MIT */
 2/* Copyright © 2024 Intel Corporation */
 3
 4#ifndef __INTEL_BO__
 5#define __INTEL_BO__
 6
 7#include <linux/types.h>
 8
 9struct drm_gem_object;
10struct drm_scanout_buffer;
11struct intel_framebuffer;
12struct seq_file;
13struct vm_area_struct;
14
15bool intel_bo_is_tiled(struct drm_gem_object *obj);
16bool intel_bo_is_userptr(struct drm_gem_object *obj);
17bool intel_bo_is_shmem(struct drm_gem_object *obj);
18bool intel_bo_is_protected(struct drm_gem_object *obj);
19int intel_bo_fb_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma);
20int intel_bo_read_from_page(struct drm_gem_object *obj, u64 offset, void *dst, int size);
21
22struct intel_frontbuffer *intel_bo_frontbuffer_get(struct drm_gem_object *obj);
23void intel_bo_frontbuffer_ref(struct intel_frontbuffer *front);
24void intel_bo_frontbuffer_put(struct intel_frontbuffer *front);
25void intel_bo_frontbuffer_flush_for_display(struct intel_frontbuffer *front);
26
27void intel_bo_describe(struct seq_file *m, struct drm_gem_object *obj);
28
29#endif /* __INTEL_BO__ */
~/ Read-only file preview.