P4 to Git Change 1125977 by gandryey@gera-dev-w7 on 2015/02/27 17:13:17

ECR #304775 - Enable TC compatible htile mode by default.
	- The feature is available on VI+, but interop just requires different tiling mode.
	- In the future we may need another way to control this feature for interop.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#108 edit


[ROCm/clr commit: ac68112eaf]
このコミットが含まれているのは:
foreman
2015-02-27 17:23:50 -05:00
コミット d4c4f3f2a2
+5
ファイルの表示
@@ -297,6 +297,11 @@ CALGSLDevice::open(uint32 gpuIndex, bool enableHighPerformanceState, bool report
m_dcfg.DropFlush.hasValue = true;
m_dcfg.DropFlush.value = (GPU_IFH_MODE == 1);
// Enable TC compatible htile mode. It's HW feature for VI+ and controlled in HWL.
// Depth interop doesn't support TC compatible htile mode, but OCL needs correct tiling setup.
m_dcfg.bEnableTCCompatibleHtile.hasValue = true;
m_dcfg.bEnableTCCompatibleHtile.value = true;
int32 asic_id = 0;
if (!SetupAdapter(asic_id))
{