]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Fix MI_STORE_DWORD_IMM alignment
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Mar 2019 08:24:47 +0000 (08:24 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Mar 2019 11:08:32 +0000 (11:08 +0000)
commit18c7fe5500c1a2c2511ea32017939a7a0d5e4024
treebdc60c4df2940b401a5161f5d0dbb8c8fca4ec24
parenta47d8b4e4d8d68f18439454c227eba03d5a943ae
drm/i915/selftests: Fix MI_STORE_DWORD_IMM alignment

MI_STORE_DWORD_IMM wants to write into a dword-aligned (4B) address, we
mistakenly cleared bit2 and not bits 0 and 1.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190306082447.21563-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_context.c