summaryrefslogtreecommitdiff
path: root/tools/intel_reg_decode.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2016-04-05 15:00:23 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2016-04-05 16:24:44 +0300
commit54b8a1f2d3b1651448645c89dda278536406cbda (patch)
tree109001581efa6ad8ce9ccd671b72ba3d3916d516 /tools/intel_reg_decode.c
parent9cff3be12731bf73bee15a545bee50377f307f55 (diff)
tools/intel_reg: Fix builtin register spec for gen4
Actually use the builtin register spec on gen4. Makes intel_reg dump actually do something on gen4. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'tools/intel_reg_decode.c')
-rw-r--r--tools/intel_reg_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_reg_decode.c b/tools/intel_reg_decode.c
index bb8f5b30..470fecc1 100644
--- a/tools/intel_reg_decode.c
+++ b/tools/intel_reg_decode.c
@@ -2580,7 +2580,7 @@ static bool is_945gm(uint32_t devid, uint32_t pch)
static bool is_gen234(uint32_t devid, uint32_t pch)
{
- return IS_GEN2(devid) || IS_GEN3(devid) || IS_GEN3(devid);
+ return IS_GEN2(devid) || IS_GEN3(devid) || IS_GEN4(devid);
}
#define DECLARE_REGS(d,r,m) \