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>
This commit is contained in:
Ville Syrjälä 2016-04-05 15:00:23 +03:00
parent 9cff3be127
commit 54b8a1f2d3

View File

@ -2580,7 +2580,7 @@ static bool is_945gm(uint32_t devid, uint32_t pch)
static bool is_gen234(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) \ #define DECLARE_REGS(d,r,m) \