summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2020-01-10 17:45:11 -0800
committerMatt Roper <matthew.d.roper@intel.com>2020-01-14 13:52:52 -0800
commitf22fd334890e0e24305aaa7249ff56baba082eca (patch)
treef5d3edc9dc177b9cad71193feb9c361d91fd1ee6 /drivers/gpu/drm/i915/i915_reg.h
parent4ec5abe960ca08aca02897b67682a39321d0a432 (diff)
downloadlinux-stable-f22fd334890e0e24305aaa7249ff56baba082eca.tar.gz
linux-stable-f22fd334890e0e24305aaa7249ff56baba082eca.tar.bz2
linux-stable-f22fd334890e0e24305aaa7249ff56baba082eca.zip
drm/i915/gen11: Add additional pcode status values
I don't think we've ever hit these new error codes, but they're documented in the gen11 pcode document, so we might as well add them to the handler. Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200111014511.2988923-1-matthew.d.roper@intel.com Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r--drivers/gpu/drm/i915/i915_reg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 6cc55c103f67..e5071af4a3b3 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -8987,6 +8987,8 @@ enum {
#define GEN6_PCODE_UNIMPLEMENTED_CMD 0xFF
#define GEN7_PCODE_TIMEOUT 0x2
#define GEN7_PCODE_ILLEGAL_DATA 0x3
+#define GEN11_PCODE_ILLEGAL_SUBCOMMAND 0x4
+#define GEN11_PCODE_LOCKED 0x6
#define GEN7_PCODE_MIN_FREQ_TABLE_GT_RATIO_OUT_OF_RANGE 0x10
#define GEN6_PCODE_WRITE_RC6VIDS 0x4
#define GEN6_PCODE_READ_RC6VIDS 0x5