drm/i915: Swap magics and use SZ_1M
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Jun 2018 13:57:46 +0000 (14:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Jun 2018 15:16:41 +0000 (16:16 +0100)
commit420980ca79bcac50cab5bfd20c3d7e5425b1f3d6
tree85f770f7ce60ad9be7d3854a4a3a3e911ae44841
parentb96f6ebfd02444b290ff5048c1ae61f5d3d52319
drm/i915: Swap magics and use SZ_1M

Since the kernel provides SZ_1M, use it in preference of 1 << 20.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180605135746.8020-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c