aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r--drivers/gpu/drm/i915/i915_reg.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 1218069c7f66..9019194068e8 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -1482,15 +1482,15 @@
1482 GEN6_CXT_RENDER_SIZE(cxt_reg) + \ 1482 GEN6_CXT_RENDER_SIZE(cxt_reg) + \
1483 GEN6_CXT_EXTENDED_SIZE(cxt_reg) + \ 1483 GEN6_CXT_EXTENDED_SIZE(cxt_reg) + \
1484 GEN6_CXT_PIPELINE_SIZE(cxt_reg)) 1484 GEN6_CXT_PIPELINE_SIZE(cxt_reg))
1485#define GEN7_CTX_SIZE 0x21a8 1485#define GEN7_CXT_SIZE 0x21a8
1486#define GEN7_CTX_RENDER_SIZE(ctx_reg) ((ctx_reg >> 16) & 0x3f) 1486#define GEN7_CXT_RENDER_SIZE(ctx_reg) ((ctx_reg >> 16) & 0x3f)
1487#define GEN7_CTX_EXTENDED_SIZE(ctx_reg) ((ctx_reg >> 9) & 0x7f) 1487#define GEN7_CXT_EXTENDED_SIZE(ctx_reg) ((ctx_reg >> 9) & 0x7f)
1488#define GEN7_CTX_GT1_SIZE(ctx_reg) ((ctx_reg >> 6) & 0x7) 1488#define GEN7_CXT_GT1_SIZE(ctx_reg) ((ctx_reg >> 6) & 0x7)
1489#define GEN7_CTX_VFSTATE_SIZE(ctx_reg) ((ctx_reg >> 0) & 0x3f) 1489#define GEN7_CXT_VFSTATE_SIZE(ctx_reg) ((ctx_reg >> 0) & 0x3f)
1490#define GEN7_CTX_TOTAL_SIZE(ctx_reg) (GEN7_CTX_RENDER_SIZE(ctx_reg) + \ 1490#define GEN7_CXT_TOTAL_SIZE(ctx_reg) (GEN7_CXT_RENDER_SIZE(ctx_reg) + \
1491 GEN7_CTX_EXTENDED_SIZE(ctx_reg) + \ 1491 GEN7_CXT_EXTENDED_SIZE(ctx_reg) + \
1492 GEN7_CTX_GT1_SIZE(ctx_reg) + \ 1492 GEN7_CXT_GT1_SIZE(ctx_reg) + \
1493 GEN7_CTX_VFSTATE_SIZE(ctx_reg)) 1493 GEN7_CXT_VFSTATE_SIZE(ctx_reg))
1494 1494
1495/* 1495/*
1496 * Overlay regs 1496 * Overlay regs