xf86-video-intel: src/sna/gen7_render.c
Chris Wilson
ickle at kemper.freedesktop.org
Wed Dec 24 07:22:11 PST 2014
src/sna/gen7_render.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0d42b0ed25d4112e0b3e3218e5c42947bbeb9e27
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Dec 24 08:12:52 2014 +0000
sna/gen7: Limit threads on HSW GT1
For whatever reason, it seems that for HSW GT1 we cannot specify the
maximum value of the field and leave it to the hardware to clamp the
value to the maximum supported. The impact should be zero other than the
possibilty it workarounds an issue if the hardware doesn't apply the
limit.
References: https://bugs.freedesktop.org/show_bug.cgi?id=87564
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index 2ecfd64..a057704 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -149,7 +149,7 @@ static const struct gt_info hsw_gt1_info = {
.max_vs_threads = 70,
.max_gs_threads = 70,
.max_wm_threads =
- (102 - 1) << HSW_PS_MAX_THREADS_SHIFT |
+ (70 - 1) << HSW_PS_MAX_THREADS_SHIFT |
1 << HSW_PS_SAMPLE_MASK_SHIFT,
.urb = { 128, 640, 256, 8 },
.gt = 1,
More information about the xorg-commit
mailing list