]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Improve handling of iomem around stolen
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Jan 2021 12:39:37 +0000 (12:39 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Jan 2021 15:37:56 +0000 (15:37 +0000)
commit776f4860a9016f412f368010e29d6ffa0151bd31
treea4114045dc36a065e4c65ce8ee02c4674d554f80
parentb85bf82721156fa0c9eb2b7ef8064dd34c156dad
drm/i915/selftests: Improve handling of iomem around stolen

Use memset_io() on the iomem, and silence sparse as we copy from the
iomem to normal system pages.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210106123939.18435-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_reset.c