mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
Fix the SPDX identifier comment as per the licensing rules [1]. [1] https://www.kernel.org/doc/html/latest/process/license-rules.html Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Link: https://patch.msgid.link/20260105113544.574323-7-ankit.k.nautiyal@intel.com
23 lines
751 B
C
23 lines
751 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _INTEL_DSB_BUFFER_H
|
|
#define _INTEL_DSB_BUFFER_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct drm_device;
|
|
struct intel_dsb_buffer;
|
|
|
|
u32 intel_dsb_buffer_ggtt_offset(struct intel_dsb_buffer *dsb_buf);
|
|
void intel_dsb_buffer_write(struct intel_dsb_buffer *dsb_buf, u32 idx, u32 val);
|
|
u32 intel_dsb_buffer_read(struct intel_dsb_buffer *dsb_buf, u32 idx);
|
|
void intel_dsb_buffer_memset(struct intel_dsb_buffer *dsb_buf, u32 idx, u32 val, size_t size);
|
|
struct intel_dsb_buffer *intel_dsb_buffer_create(struct drm_device *drm, size_t size);
|
|
void intel_dsb_buffer_cleanup(struct intel_dsb_buffer *dsb_buf);
|
|
void intel_dsb_buffer_flush_map(struct intel_dsb_buffer *dsb_buf);
|
|
|
|
#endif
|