]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: limit PPGTT size to 2GB in 32-bit platforms
authorMichel Thierry <michel.thierry@intel.com>
Fri, 29 May 2015 13:15:05 +0000 (14:15 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 29 May 2015 17:08:22 +0000 (19:08 +0200)
commite767300ff0335c4917462dcace107da6df3955a6
tree6919e7a31fceebc1c682f13098abc3aa23addc8c
parentd65869985f562b8f626573b3071aa54d6f8b1917
drm/i915: limit PPGTT size to 2GB in 32-bit platforms

We already set this limit for the GGTT.

This is a temporary patch until a full replacement of size_t variables
(inadequate in 32-bit kernel) is in place.

Regression from:
commit b053b118a7eee51a82dd95ac6ce77ea0a8faad84
Author: Michel Thierry <michel.thierry@intel.com>
Date:   Wed Apr 8 12:13:35 2015 +0100

drm/i915: Use complete address space in true PPGTT

v2: Prettify code and explain why this is needed. (Chris)
v3: Don't hide the compilation warning in 32-bit. (Chris)

Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c