]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mm: fix debug table BUG
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Jul 2013 20:01:02 +0000 (22:01 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 4 Jul 2013 00:01:00 +0000 (10:01 +1000)
commit11d037c29f56ee3477ed40147a574586d99859e0
tree9c3b4ad1494601373d2c340748cb6cc88977ccb9
parentbe841977f6561289129f8ca4b37b3687a692a3c3
drm/mm: fix debug table BUG

In

commit f917e7f90599b294ba75bf40d2aa57c4c0ff3918
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sat Apr 20 12:08:11 2013 +0200

    drm/mm: fix dump table BUG

I've failed to fix both instances of the regression introduced in

commit 8169c8c720ed6782be5b7e8dfc57de28db2d9fe5
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Nov 15 11:32:17 2012 +0000

   drm: Introduce an iterator over holes in the drm_mm range manager

Patch this up in the same way by extracting the hole debug logic
into it's own function, since that'll also clarify the logic a bit.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_mm.c