commit | c8b56cd01433afd2ce3ecf1255ca220283e84be8 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Feb 12 08:54:32 2020 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Wed Feb 12 10:14:06 2020 +0000 |
tree | d8e62a3347f541bdbd15a4464547a86d744bfc8e | |
parent | 37305ede63c7e5a696b74b64ffb7c62cbe0ecd2f [diff] |
drm/i915/selftests: Avoid choosing zero for phys_sz Make sure we avoid ending up with a phys_sz of 0, or for phys_sz to be larger than the actual size. Closes: https://patchwork.freedesktop.org/series/73320/ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200212085432.1250807-1-chris@chris-wilson.co.uk