I've found out what causes the problem. As I said before I have 2 monitors and I use them in extended desktop configuration:
xrandr --output VGA --right-of LVDS --auto.
The problem is that my LVDS is 1680x1050 and VGA is 1920x1200. So what I get after xrandr is virtual screen 3600x1200.
So I believe the problem is when driver has to redraw area that is bigger then physical screen. Maybe then there is no MI_WAIT_FOR_PIPEB_SCAN_LINE_WINDOW for
region which includes XXXXXXXX part (is partially below the screen).
I've found out what causes the problem. As I said before I have 2 monitors and I use them in extended desktop configuration:
xrandr --output VGA --right-of LVDS --auto.
The problem is that my LVDS is 1680x1050 and VGA is 1920x1200. So what I get after xrandr is virtual screen 3600x1200.
_______ _______ _______ _ _______ ____|
| | |
| S1 | S2 |
| | |
|_________| |
|XXXXXXXXX|
if I instead did:
xrandr --output VGA --right-of LVDS --mode 1680x1050 _______ _______ ___|___ ______|
_______
| | |
| S1 | S2 |
| | |
|______
everything works fine.
So I believe the problem is when driver has to redraw area that is bigger then physical screen. Maybe then there is no MI_WAIT_ FOR_PIPEB_ SCAN_LINE_ WINDOW for
region which includes XXXXXXXX part (is partially below the screen).