From 9a53f941c73dd217ba4a9b57bfb2472488f0d6d2 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 29 Jul 2014 10:21:42 +0800 Subject: ilo: fix fb height of HiZ ops It was set to aligned width. It appears to be fine on GEN7+, but causes random hangs on GEN6. --- src/gallium/drivers/ilo/ilo_blitter_rectlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium') diff --git a/src/gallium/drivers/ilo/ilo_blitter_rectlist.c b/src/gallium/drivers/ilo/ilo_blitter_rectlist.c index 3cb17e0f37a..f80dc5ddd2d 100644 --- a/src/gallium/drivers/ilo/ilo_blitter_rectlist.c +++ b/src/gallium/drivers/ilo/ilo_blitter_rectlist.c @@ -290,7 +290,7 @@ hiz_align_fb(struct ilo_blitter *blitter) if (blitter->fb.width % align_w || blitter->fb.height % align_h) { blitter->fb.width = align(blitter->fb.width, align_w); - blitter->fb.height = align(blitter->fb.width, align_h); + blitter->fb.height = align(blitter->fb.height, align_h); assert(!blitter->fb.dst.is_rt); zs_align_surface(blitter->ilo->dev, align_w, align_h, -- cgit v1.2.3