P4 to Git Change 1517959 by gandryey@gera-lnx-rcf on 2018/02/21 17:24:16
SWDEV-79445 - Add RGP trace capture capability into runtime. - Initial implementation - PAL_RGP_DISP_COUNT controls the number of captured dispatches(default 10). - RD panel and service are required in order to capture the traces and RD Profiler for viewing and SQTT exports Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile.pal#17 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#31 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#72 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#23 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#1 add ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.hpp#1 add ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#43 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#15 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#73 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#41 edit ... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#283 edit
This commit is contained in:
@@ -133,12 +133,17 @@ Settings::Settings() {
|
||||
|
||||
// Disable SDMA workaround by default
|
||||
sdamPageFaultWar_ = false;
|
||||
|
||||
// SQTT buffer size in bytes
|
||||
rgpSqttDispCount_ = PAL_RGP_DISP_COUNT;
|
||||
rgpSqttWaitIdle_ = true;
|
||||
rgpSqttForceDisable_ = false;
|
||||
}
|
||||
|
||||
bool Settings::create(const Pal::DeviceProperties& palProp,
|
||||
const Pal::GpuMemoryHeapProperties* heaps, const Pal::WorkStationCaps& wscaps,
|
||||
bool reportAsOCL12Device) {
|
||||
// uint target = calAttr.target;
|
||||
bool reportAsOCL12Device)
|
||||
{
|
||||
uint32_t osVer = 0x0;
|
||||
|
||||
// Disable thread trace by default for all devices
|
||||
|
||||
Reference in New Issue
Block a user