Fully disable poulsbo detearing code at run time rather than as a compile time option

Bug #556710 reported by Colin Ian King
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Medium
Unassigned

Bug Description

Ubuntu-hardy-lum, netbook-lpia branch.

The psb de-tearing code is currently a compile time option and the default is to have de-tearing enabled by #defining PSB_DETEAR in psb_drv.h. Some of the de-tearing code path can be disabled with the psb module parameter detear=0 but this does not fully disable all the of de-tearing code paths.

The the semantics of the psb detear module parameter should totally disable the de-tearing code paths so the code is functionally identical to compiling the code with PSB_DETEAR disabled.

This will enable the driver to totally disable de-tearing at module load time rather than at compile time.

Disabling de-tearing is a workaround to a couple of known issues on some hardware:

1) Playing MS-MPEG4 encoded video with Xv which causes X to crash
2) Playing a video while the screen is turned off (with DPMPS or
xrandr) which causes X to hang

..so it is advantageous to be able to enable/disable de-tearing at run time for different hardware variants where necessary.

Changed in ubuntu:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Colin King (colin-king)
Revision history for this message
Colin Ian King (colin-king) wrote :
Changed in ubuntu:
status: In Progress → Fix Committed
Changed in ubuntu:
status: Fix Committed → Fix Released
assignee: Colin King (colin-king) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.