]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: read out hw state earlier v2
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 11 Feb 2014 23:28:56 +0000 (15:28 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Feb 2014 17:53:15 +0000 (18:53 +0100)
commit548054e771b0ca7dfc574924de7eaef03fb9e55a
tree2716a18a296bb7e4a3deac044a3298ab07afbbf5
parent83e8596d04c447c45cb8a4176007d2a2f18cc0e1
drm/i915: read out hw state earlier v2

We want to do this early on before we try to fetch the plane config,
which depends on some of the pipe config state.

Note that the important part is that we do this before we initialize
gem, since otherwise we can't properly pre-reserve the stolen memory
for framebuffers inherited from the bios.

v2: split back out from get_plane_config change (Daniel)
    update for recent locking & reset changes (Jesse)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[danvet: Explain a bit more why we need to move this.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c