Mesa (master): r600: don't do stack workarounds for hemlock

Roland Scheidegger sroland at kemper.freedesktop.org
Fri Feb 2 00:48:09 UTC 2018


Module: Mesa
Branch: master
Commit: c2f0e0885776f3f0a18b9db08149564d4b98e5b7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2f0e0885776f3f0a18b9db08149564d4b98e5b7

Author: Roland Scheidegger <sroland at vmware.com>
Date:   Tue Jan 30 05:48:27 2018 +0100

r600: don't do stack workarounds for hemlock

By the looks of it it seems hemlock is treated separately to cypress, but
certainly it won't need the stack workarounds cedar/redwood (and
seemingly every other eg chip except cypress/juniper) need.
(Discovered by accident.)

Acked-by: Alex Deucher <alexander.deucher at amd.com>

---

 src/gallium/drivers/r600/sb/sb_bc.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/r600/sb/sb_bc.h b/src/gallium/drivers/r600/sb/sb_bc.h
index b35671bf0f..a249395474 100644
--- a/src/gallium/drivers/r600/sb/sb_bc.h
+++ b/src/gallium/drivers/r600/sb/sb_bc.h
@@ -665,6 +665,7 @@ public:
 			return false;
 
 		switch (hw_chip) {
+		case HW_CHIP_HEMLOCK:
 		case HW_CHIP_CYPRESS:
 		case HW_CHIP_JUNIPER:
 			return false;




More information about the mesa-commit mailing list