SWDEV-292408 - [PAL] Always force high clocks for HIP

Redshift sees around a 3x performance uplift this change.

Turning this on for OpenCL might cause unwanted behaviour, due to
apps like RSX running in the background all the time.

Change-Id: I9f32d5f2e05b6697a8aaa9ddf74474b5531bb7e1
This commit is contained in:
Vladislav Sytchenko
2021-08-09 12:56:31 -04:00
committed by Maneesh Gupta
orang tua 465a370216
melakukan 2f00782829
+1 -1
Melihat File
@@ -881,7 +881,7 @@ bool Device::create(Pal::IDevice* device) {
Pal::PalPublicSettings* const palSettings = iDev()->GetPublicSettings();
// Modify settings here
// palSettings ...
palSettings->forceHighClocks = appProfile_.enableHighPerformanceState();
palSettings->forceHighClocks = amd::IS_HIP || appProfile_.enableHighPerformanceState();
palSettings->longRunningSubmissions = true;
palSettings->cmdBufBatchedSubmitChainLimit = 0;
palSettings->disableResourceProcessingManager = true;