drm regression on resume with -rc7 (bisected to 797fd5b9dad12a100c81b5782573a41259728cb1)

From: CÃdric Godin
Date: Wed May 12 2010 - 16:26:21 EST


Hello,

When resuming my laptop from a -rc7, my X session reacted weirdly.
Reading the dmesg log, I had :

May 12 21:58:03 enea kernel: [ 122.627332] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(0).
May 12 21:58:03 enea kernel: [ 122.627342] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
May 12 21:58:03 enea kernel: [ 123.251198] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(1).
May 12 21:58:03 enea kernel: [ 123.251207] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
May 12 21:58:04 enea kernel: [ 123.626341] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(2).
May 12 21:58:04 enea kernel: [ 123.626351] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
May 12 21:58:04 enea kernel: [ 124.256505] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(3).
May 12 21:58:04 enea kernel: [ 124.256514] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
May 12 21:58:05 enea kernel: [ 124.626191] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(4).
May 12 21:58:05 enea kernel: [ 124.626200] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
May 12 21:58:05 enea kernel: [ 125.059095] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(5).

And so on until IB(15)

This was not the case with a -rc5 kernel nor with a kernel without KMS (radeon.modeset=0).

Bisection gives me (on drivers/gpu):

# bad: [b57f95a38233a2e73b679bea4a5453a1cc2a1cc9] Linux 2.6.34-rc7
# good: [01bf0b64579ead8a82e7cfc32ae44bc667e7ad0f] Linux 2.6.34-rc5
git bisect start 'v2.6.34-rc7' 'v2.6.34-rc5' '--' 'drivers/gpu/'
# bad: [3515387ba90ef2c38602f4d52c4d5ec5fc95ae5c] drm/radeon/kms: fix panel scaling adjusted mode setup
git bisect bad 3515387ba90ef2c38602f4d52c4d5ec5fc95ae5c
# good: [88b045077a1462a47503137fd4ca0c31772819ca] drm/radeon: Fix sparc regression in r300_scratch()
git bisect good 88b045077a1462a47503137fd4ca0c31772819ca
# bad: [404b017d00a9f472bdf725a06892d42f1cba5ed8] drivers/gpu/drm/drm_memory.c: fix check for end of loop
git bisect bad 404b017d00a9f472bdf725a06892d42f1cba5ed8
# bad: [ccb2ad579f910e6146adf4eb3aa50325253ee8c9] drm/radeon/kms/agp The wrong AGP chipset can cause a NULL pointer dereference
git bisect bad ccb2ad579f910e6146adf4eb3aa50325253ee8c9

with 797fd5b9dad12a100c81b5782573a41259728cb1 being the culprit

commit 797fd5b9dad12a100c81b5782573a41259728cb1
Author: Marek OlÅÃk <maraeo@xxxxxxxxx>
Date: Tue Apr 13 02:33:36 2010 +0200

drm/radeon/kms: r300 fix CS checker to allow zbuffer-only fastfill

Signed-off-by: Marek OlÅÃk <maraeo@xxxxxxxxx>


PS: if i've done something wrong, say it, i'm always ready to learn ;-)

Cedric

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/