]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: skip the first 4k of stolen memory on everything >= gen8
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 14 Dec 2016 14:55:37 +0000 (12:55 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 20 Dec 2016 12:45:08 +0000 (10:45 -0200)
commit9924a62373ef578e9d0134e916ad0996737340e0
treec347f488ad6e755cd384ffe19b86649216719f8d
parentdffd96a217677c3560db8fca242dc6f2af3de27e
drm/i915: skip the first 4k of stolen memory on everything >= gen8

BSpec got updated and this workaround is now listed as standard
required programming for all subsequent projects. This is confirmed to
fix Skylake screen flickering issues (probably caused by the fact that
we initialized a ring in the first page of stolen, but I didn't 100%
confirm this theory).

v2: this is the patch that fixes the screen flickering, document it.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94605
Cc: stable@vger.kernel.org
Tested-by: Dominik Klementowski <dominik232@gmail.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1481727338-9901-1-git-send-email-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/i915_gem_stolen.c