[PATCH 0/1] [Hardy LUM, netbook-lpia] psb: fully disable detearing code paths as a run time option

Colin King colin.king at canonical.com
Wed Apr 7 14:36:42 UTC 2010


From: Colin Ian King <colin.king at canonical.com>

For: HARDY LUM, netbook-lpia branch

BugLink: http://bugs.launchpad.net/bugs/556710

Impact: psb detearing should be fully disabled to work around some
deep poulsbo driver bugs. Currently, disabling detearing is a compile
time build option, but making it a run time module parameter would
be useful.  This will then allow detearing to be totally disabled for
use cases where known psb bugs cause issues and disabling detearing
is an acceptable workaround.

Examples of crashes are video decode with Xv causing X to crash and
playing video with screen is turned off (using DPMPS or xrandr) which
causes X to hang.

Fix: Extend the psb detear semantics to totally disable all the psb
detearing code paths.

Testcase: Without the fix, video decode with Xv crashes X, and video
decode and turning the screen off with xrandr . With the fix, it
works fine.

Colin Ian King (1):
  UBUNTU: psb: fully disable detearing code paths as a run time option

 ubuntu/media/drm-poulsbo/psb_irq.c      |    2 +-
 ubuntu/media/drm-poulsbo/psb_schedule.c |    2 +-
 ubuntu/media/drm-poulsbo/psb_sgx.c      |    6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)





More information about the kernel-team mailing list