diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-23 12:45:57 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-23 17:05:39 +0100 |
| commit | e5fd509e16ec649436be31f38eaa5b85cb7f72f1 (patch) | |
| tree | 1b8cdd728245d9222222dbab180ae79ce3b4a369 /tests | |
| parent | ab5871ca3a207420682f84d561dc17774dcd7e0e (diff) | |
i915/gem_mocs_settings: Identify Cometlake
Cometlake is yet another Skylake refresh and used the same MOCS
registers.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111137
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/i915/gem_mocs_settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/i915/gem_mocs_settings.c b/tests/i915/gem_mocs_settings.c index 1a311b8c..f3ee8a7b 100644 --- a/tests/i915/gem_mocs_settings.c +++ b/tests/i915/gem_mocs_settings.c @@ -137,7 +137,7 @@ static bool get_mocs_settings(int fd, struct mocs_table *table, bool dirty) uint32_t devid = intel_get_drm_devid(fd); bool result = false; - if (IS_SKYLAKE(devid) || IS_KABYLAKE(devid)) { + if (IS_SKYLAKE(devid) || IS_KABYLAKE(devid) || IS_COMETLAKE(devid)) { if (dirty) { table->size = ARRAY_SIZE(dirty_skylake_mocs_table); table->table = dirty_skylake_mocs_table; |
