]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gtt: Correct unshifted 'from' for gen8_ppgtt_alloc errors
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 19 Jul 2019 13:15:24 +0000 (14:15 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 19 Jul 2019 16:15:40 +0000 (17:15 +0100)
commit9640aadbadf2a432a7710c4de12f9d6b4685b8fe
treedf2103d028a8469a57ca6544a7c05711ccd46bc5
parent6a851a5a8ee4e6b03484e7c6ec1f3a466b0a4cea
drm/i915/gtt: Correct unshifted 'from' for gen8_ppgtt_alloc errors

Since the underlying __gen8_ppgtt_clear takes the shifted address, we
must remember to provide it with the shifted original start address.

Reported-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Tested-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190719131524.827-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c