File Index
Files and directories
Sign in
FILE

handles.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/nouveau/dispnv50/handles.h C
 1/* SPDX-License-Identifier: MIT */
 2#ifndef __NV50_KMS_HANDLES_H__
 3#define __NV50_KMS_HANDLES_H__
 4
 5/*
 6 * Various hard-coded object handles that nouveau uses. These are made-up by
 7 * nouveau developers, not Nvidia. The only significance of the handles chosen
 8 * is that they must all be unique.
 9 */
10#define NV50_DISP_HANDLE_SYNCBUF                                        0xf0000000
11#define NV50_DISP_HANDLE_VRAM                                           0xf0000001
12
13#define NV50_DISP_HANDLE_WNDW_CTX(kind)                        (0xfb000000 | kind)
14#define NV50_DISP_HANDLE_CRC_CTX(head, i) (0xfc000000 | head->base.index << 1 | i)
15
16#endif /* !__NV50_KMS_HANDLES_H__ */
~/ Read-only file preview.