]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Properly track domain of the fbcon fb
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Jun 2014 13:05:19 +0000 (15:05 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 19 Jun 2014 08:24:09 +0000 (10:24 +0200)
commitcbf20bd4691884d8300cfc5faf4bc64409d587fa
tree97c7ea0248acf19f60cc0a093d502f3d1ec6c36b
parent05880e7beb25bc76001892c327c31cf8c4f1cc04
drm/i915: Properly track domain of the fbcon fb

X could end up putting the fbcon fb into other domains, e.g.
for smooth take-overs. Also we want this for accurate frontbuffer
tracking: The set_config is an implicit flush and will re-enable
psr and similar features, so we need to bring the bo back into
the gtt domain.

v2: Add FIXME comment about fbcon locking fun in atomic context,
requested by Chris.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_fbdev.c