winsys/amdgpu: remove the dcc_enable surface flag
[mesa.git] / src / gallium / drivers / radeon / r600_pipe_common.c
index 08839343b74ebef3d5f6442803ec94186885dca7..0ad36849645039f550790505e9d77f66eb231713 100644 (file)
@@ -359,6 +359,9 @@ static const struct debug_named_value common_debug_options[] = {
        { "forcedma", DBG_FORCE_DMA, "Use asynchronous DMA for all operations when possible." },
        { "precompile", DBG_PRECOMPILE, "Compile one shader variant at shader creation." },
        { "nowc", DBG_NO_WC, "Disable GTT write combining" },
+       { "check_vm", DBG_CHECK_VM, "Check VM faults and dump debug info." },
+       { "nodcc", DBG_NO_DCC, "Disable DCC." },
+       { "nodccclear", DBG_NO_DCC_CLEAR, "Disable DCC fast clear." },
 
        DEBUG_NAMED_VALUE_END /* must be last */
 };
@@ -415,6 +418,7 @@ static const char* r600_get_chip_name(struct r600_common_screen *rscreen)
        case CHIP_ICELAND: return "AMD ICELAND";
        case CHIP_CARRIZO: return "AMD CARRIZO";
        case CHIP_FIJI: return "AMD FIJI";
+       case CHIP_STONEY: return "AMD STONEY";
        default: return "AMD unknown";
        }
 }
@@ -539,6 +543,11 @@ const char *r600_get_llvm_processor_name(enum radeon_family family)
        case CHIP_ICELAND: return "iceland";
        case CHIP_CARRIZO: return "carrizo";
        case CHIP_FIJI: return "fiji";
+#if HAVE_LLVM <= 0x0307
+       case CHIP_STONEY: return "carrizo";
+#else
+       case CHIP_STONEY: return "stoney";
+#endif
        default: return "";
        }
 }