aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/drm/nouveau_class.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/drm/nouveau_class.h b/include/drm/nouveau_class.h
index 3c3196ba..8d63877a 100644
--- a/include/drm/nouveau_class.h
+++ b/include/drm/nouveau_class.h
@@ -568,6 +568,9 @@ struct nv50_disp_overlay_v0 {
568#define FERMI_A_ZBC_COLOR 0x00 568#define FERMI_A_ZBC_COLOR 0x00
569#define FERMI_A_ZBC_DEPTH 0x01 569#define FERMI_A_ZBC_DEPTH 0x01
570#define FERMI_A_ZCULL_BIND 0x02 570#define FERMI_A_ZCULL_BIND 0x02
571#define FERMI_A_ZBC_QUERY_COLOR 0x03
572#define FERMI_A_ZBC_QUERY_DEPTH 0x04
573#define FERMI_A_ZBC_QUERY_TABLE_SIZE 0x05
571 574
572struct fermi_a_zbc_color_v0 { 575struct fermi_a_zbc_color_v0 {
573 __u8 version; 576 __u8 version;
@@ -597,6 +600,16 @@ struct fermi_a_zbc_color_v0 {
597 __u32 l2[4]; 600 __u32 l2[4];
598}; 601};
599 602
603struct fermi_a_zbc_query_v0 {
604 __u8 version;
605 __u8 pad03[3];
606 __u32 ds[4];
607 __u32 l2[4];
608 __u32 format;
609 __u32 index;
610 __u32 table_size;
611};
612
600struct fermi_a_zbc_depth_v0 { 613struct fermi_a_zbc_depth_v0 {
601 __u8 version; 614 __u8 version;
602#define FERMI_A_ZBC_DEPTH_V0_FMT_FP32 0x01 615#define FERMI_A_ZBC_DEPTH_V0_FMT_FP32 0x01