mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 21:02:59 +00:00
Remove confusing use of IS_9XX
... and test for what we mean instead. Reported-by: Diego Celix <dcelix@gmail.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -202,7 +202,7 @@ print_pgtbl_err(unsigned int reg, unsigned int devid)
|
||||
{
|
||||
if (IS_965(devid)) {
|
||||
return print_i965_pgtbl_err(reg);
|
||||
} else if (IS_9XX(devid)) {
|
||||
} else if (IS_GEN3(devid)) {
|
||||
return print_i915_pgtbl_err(reg);
|
||||
} else {
|
||||
return print_i830_pgtbl_err(reg);
|
||||
@@ -268,7 +268,7 @@ read_data_file (FILE *file)
|
||||
devid = reg;
|
||||
if (IS_965(devid)) {
|
||||
printf("Detected i965+ chipset\n");
|
||||
} else if (IS_9XX(devid)) {
|
||||
} else if (IS_GEN3(devid)) {
|
||||
printf("Detected i9xx chipset\n");
|
||||
} else {
|
||||
printf("Detected i8xx chipset\n");
|
||||
|
||||
Reference in New Issue
Block a user