Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 #ifndef __NV50_KMS_HANDLES_H__
0003 #define __NV50_KMS_HANDLES_H__
0004 
0005 /*
0006  * Various hard-coded object handles that nouveau uses. These are made-up by
0007  * nouveau developers, not Nvidia. The only significance of the handles chosen
0008  * is that they must all be unique.
0009  */
0010 #define NV50_DISP_HANDLE_SYNCBUF                                        0xf0000000
0011 #define NV50_DISP_HANDLE_VRAM                                           0xf0000001
0012 
0013 #define NV50_DISP_HANDLE_WNDW_CTX(kind)                        (0xfb000000 | kind)
0014 #define NV50_DISP_HANDLE_CRC_CTX(head, i) (0xfc000000 | head->base.index << 1 | i)
0015 
0016 #endif /* !__NV50_KMS_HANDLES_H__ */