]> 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)
commitb914d3158930c247512015034b50aae1aad85775
treea4114045dc36a065e4c65ce8ee02c4674d554f80
parent6dcdab11ccba1bfac1fd650d540fe02a305a0dee
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