]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Skip stolen region initialisation if none is reserved
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Sep 2013 12:40:25 +0000 (13:40 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 5 Sep 2013 12:49:50 +0000 (14:49 +0200)
commit9f03c213fd2bf3b069bf9b24887e64b1411ed822
tree176498e272cb962d3b2a2a6663847666af324a6c
parentb29b18c40a7b75eb0aa125a146d296643588c913
drm/i915: Skip stolen region initialisation if none is reserved

Paulo reported that if he set the amount of reserved memory to 0, then
we emitted a warning about a conflict before disabling our use of stolen
memory. This was introduced with

commit df797ef3042270347789f31e9d4f4981328bd81b
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Jul 4 12:28:35 2013 +0100

    drm/i915: Verify that our stolen memory doesn't conflict

and is simply fixed by checking for a no reservation first.

Reported-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_stolen.c