diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-09 15:35:42 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-09 15:42:06 +0100 |
commit | dbe75982457cfe6bb1f7422a517ced32cc74f909 (patch) | |
tree | 874ab3081d9afa282d3fad916172cee5ad8dfc75 /src/sna/sna_display.c | |
parent | 144d97046156a3f7785f98c4f7dbed3fd8f5b7af (diff) |
sna/hsw: Fix the event selection for scanline waits on pipe A
Hmm, this should have meant that we never actually waited for a
scan-line on pipe A. I wonder if it even works...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_display.c')
-rw-r--r-- | src/sna/sna_display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index be02a786..78aa09ac 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -3396,7 +3396,7 @@ static bool sna_emit_wait_for_scanline_hsw(struct sna *sna, * always comes in pairs. Don't ask me why. */ switch (pipe) { default: assert(0); - case 0: event = 0; break; + case 0: event = 0 << 19; break; case 1: event = 1 << 19; break; case 2: event = 4 << 19; break; } @@ -3405,7 +3405,7 @@ static bool sna_emit_wait_for_scanline_hsw(struct sna *sna, switch (pipe) { default: assert(0); - case 0: event = 0; break; + case 0: event = 1 << 0; break; case 1: event = 1 << 8; break; case 2: event = 1 << 14; break; } |