|
@@ -258,6 +258,7 @@ struct nv04_display_scanoutpos {
|
|
* 9070: NVD0_DISP
|
|
* 9070: NVD0_DISP
|
|
* 9170: NVE0_DISP
|
|
* 9170: NVE0_DISP
|
|
* 9270: NVF0_DISP
|
|
* 9270: NVF0_DISP
|
|
|
|
+ * 9470: GM107_DISP
|
|
*/
|
|
*/
|
|
|
|
|
|
#define NV50_DISP_CLASS 0x00005070
|
|
#define NV50_DISP_CLASS 0x00005070
|
|
@@ -268,6 +269,7 @@ struct nv04_display_scanoutpos {
|
|
#define NVD0_DISP_CLASS 0x00009070
|
|
#define NVD0_DISP_CLASS 0x00009070
|
|
#define NVE0_DISP_CLASS 0x00009170
|
|
#define NVE0_DISP_CLASS 0x00009170
|
|
#define NVF0_DISP_CLASS 0x00009270
|
|
#define NVF0_DISP_CLASS 0x00009270
|
|
|
|
+#define GM107_DISP_CLASS 0x00009470
|
|
|
|
|
|
#define NV50_DISP_MTHD 0x00000000
|
|
#define NV50_DISP_MTHD 0x00000000
|
|
#define NV50_DISP_MTHD_HEAD 0x00000003
|
|
#define NV50_DISP_MTHD_HEAD 0x00000003
|
|
@@ -342,6 +344,7 @@ struct nv50_display_class {
|
|
* 907a: NVD0_DISP_CURS
|
|
* 907a: NVD0_DISP_CURS
|
|
* 917a: NVE0_DISP_CURS
|
|
* 917a: NVE0_DISP_CURS
|
|
* 927a: NVF0_DISP_CURS
|
|
* 927a: NVF0_DISP_CURS
|
|
|
|
+ * 947a: GM107_DISP_CURS
|
|
*/
|
|
*/
|
|
|
|
|
|
#define NV50_DISP_CURS_CLASS 0x0000507a
|
|
#define NV50_DISP_CURS_CLASS 0x0000507a
|
|
@@ -352,6 +355,7 @@ struct nv50_display_class {
|
|
#define NVD0_DISP_CURS_CLASS 0x0000907a
|
|
#define NVD0_DISP_CURS_CLASS 0x0000907a
|
|
#define NVE0_DISP_CURS_CLASS 0x0000917a
|
|
#define NVE0_DISP_CURS_CLASS 0x0000917a
|
|
#define NVF0_DISP_CURS_CLASS 0x0000927a
|
|
#define NVF0_DISP_CURS_CLASS 0x0000927a
|
|
|
|
+#define GM107_DISP_CURS_CLASS 0x0000947a
|
|
|
|
|
|
struct nv50_display_curs_class {
|
|
struct nv50_display_curs_class {
|
|
u32 head;
|
|
u32 head;
|
|
@@ -365,6 +369,7 @@ struct nv50_display_curs_class {
|
|
* 907b: NVD0_DISP_OIMM
|
|
* 907b: NVD0_DISP_OIMM
|
|
* 917b: NVE0_DISP_OIMM
|
|
* 917b: NVE0_DISP_OIMM
|
|
* 927b: NVE0_DISP_OIMM
|
|
* 927b: NVE0_DISP_OIMM
|
|
|
|
+ * 947b: GM107_DISP_OIMM
|
|
*/
|
|
*/
|
|
|
|
|
|
#define NV50_DISP_OIMM_CLASS 0x0000507b
|
|
#define NV50_DISP_OIMM_CLASS 0x0000507b
|
|
@@ -375,6 +380,7 @@ struct nv50_display_curs_class {
|
|
#define NVD0_DISP_OIMM_CLASS 0x0000907b
|
|
#define NVD0_DISP_OIMM_CLASS 0x0000907b
|
|
#define NVE0_DISP_OIMM_CLASS 0x0000917b
|
|
#define NVE0_DISP_OIMM_CLASS 0x0000917b
|
|
#define NVF0_DISP_OIMM_CLASS 0x0000927b
|
|
#define NVF0_DISP_OIMM_CLASS 0x0000927b
|
|
|
|
+#define GM107_DISP_OIMM_CLASS 0x0000947b
|
|
|
|
|
|
struct nv50_display_oimm_class {
|
|
struct nv50_display_oimm_class {
|
|
u32 head;
|
|
u32 head;
|
|
@@ -388,6 +394,7 @@ struct nv50_display_oimm_class {
|
|
* 907c: NVD0_DISP_SYNC
|
|
* 907c: NVD0_DISP_SYNC
|
|
* 917c: NVE0_DISP_SYNC
|
|
* 917c: NVE0_DISP_SYNC
|
|
* 927c: NVF0_DISP_SYNC
|
|
* 927c: NVF0_DISP_SYNC
|
|
|
|
+ * 947c: GM107_DISP_SYNC
|
|
*/
|
|
*/
|
|
|
|
|
|
#define NV50_DISP_SYNC_CLASS 0x0000507c
|
|
#define NV50_DISP_SYNC_CLASS 0x0000507c
|
|
@@ -398,6 +405,7 @@ struct nv50_display_oimm_class {
|
|
#define NVD0_DISP_SYNC_CLASS 0x0000907c
|
|
#define NVD0_DISP_SYNC_CLASS 0x0000907c
|
|
#define NVE0_DISP_SYNC_CLASS 0x0000917c
|
|
#define NVE0_DISP_SYNC_CLASS 0x0000917c
|
|
#define NVF0_DISP_SYNC_CLASS 0x0000927c
|
|
#define NVF0_DISP_SYNC_CLASS 0x0000927c
|
|
|
|
+#define GM107_DISP_SYNC_CLASS 0x0000947c
|
|
|
|
|
|
struct nv50_display_sync_class {
|
|
struct nv50_display_sync_class {
|
|
u32 pushbuf;
|
|
u32 pushbuf;
|
|
@@ -412,6 +420,7 @@ struct nv50_display_sync_class {
|
|
* 907d: NVD0_DISP_MAST
|
|
* 907d: NVD0_DISP_MAST
|
|
* 917d: NVE0_DISP_MAST
|
|
* 917d: NVE0_DISP_MAST
|
|
* 927d: NVF0_DISP_MAST
|
|
* 927d: NVF0_DISP_MAST
|
|
|
|
+ * 947d: GM107_DISP_MAST
|
|
*/
|
|
*/
|
|
|
|
|
|
#define NV50_DISP_MAST_CLASS 0x0000507d
|
|
#define NV50_DISP_MAST_CLASS 0x0000507d
|
|
@@ -422,6 +431,7 @@ struct nv50_display_sync_class {
|
|
#define NVD0_DISP_MAST_CLASS 0x0000907d
|
|
#define NVD0_DISP_MAST_CLASS 0x0000907d
|
|
#define NVE0_DISP_MAST_CLASS 0x0000917d
|
|
#define NVE0_DISP_MAST_CLASS 0x0000917d
|
|
#define NVF0_DISP_MAST_CLASS 0x0000927d
|
|
#define NVF0_DISP_MAST_CLASS 0x0000927d
|
|
|
|
+#define GM107_DISP_MAST_CLASS 0x0000947d
|
|
|
|
|
|
struct nv50_display_mast_class {
|
|
struct nv50_display_mast_class {
|
|
u32 pushbuf;
|
|
u32 pushbuf;
|
|
@@ -435,6 +445,7 @@ struct nv50_display_mast_class {
|
|
* 907e: NVD0_DISP_OVLY
|
|
* 907e: NVD0_DISP_OVLY
|
|
* 917e: NVE0_DISP_OVLY
|
|
* 917e: NVE0_DISP_OVLY
|
|
* 927e: NVF0_DISP_OVLY
|
|
* 927e: NVF0_DISP_OVLY
|
|
|
|
+ * 947e: GM107_DISP_OVLY
|
|
*/
|
|
*/
|
|
|
|
|
|
#define NV50_DISP_OVLY_CLASS 0x0000507e
|
|
#define NV50_DISP_OVLY_CLASS 0x0000507e
|
|
@@ -445,6 +456,7 @@ struct nv50_display_mast_class {
|
|
#define NVD0_DISP_OVLY_CLASS 0x0000907e
|
|
#define NVD0_DISP_OVLY_CLASS 0x0000907e
|
|
#define NVE0_DISP_OVLY_CLASS 0x0000917e
|
|
#define NVE0_DISP_OVLY_CLASS 0x0000917e
|
|
#define NVF0_DISP_OVLY_CLASS 0x0000927e
|
|
#define NVF0_DISP_OVLY_CLASS 0x0000927e
|
|
|
|
+#define GM107_DISP_OVLY_CLASS 0x0000947e
|
|
|
|
|
|
struct nv50_display_ovly_class {
|
|
struct nv50_display_ovly_class {
|
|
u32 pushbuf;
|
|
u32 pushbuf;
|