r600: don't do stack workarounds for hemlock
authorRoland Scheidegger <sroland@vmware.com>
Tue, 30 Jan 2018 04:48:27 +0000 (05:48 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 2 Feb 2018 00:46:43 +0000 (01:46 +0100)
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@amd.com>
src/gallium/drivers/r600/sb/sb_bc.h

index b35671bf0ff72dc9c0c1585498f346980b108124..a249395474f3953f68fb043be7b525a198d1464e 100644 (file)
@@ -665,6 +665,7 @@ public:
                        return false;
 
                switch (hw_chip) {
+               case HW_CHIP_HEMLOCK:
                case HW_CHIP_CYPRESS:
                case HW_CHIP_JUNIPER:
                        return false;