SWDEV-443760 - Enable device kern args
- Implement workaround to ensure HDP writes are done by writing and
reading the HDP MMIO register.
- Implement the same workaround for graphs, we no longer need sentinel
write/readback
Change-Id: I0d3027b46a1f61131ec62e3c8c669ff5184fa6b2
[ROCm/clr commit: f138e0d113]
Cette révision appartient à :
1 Parent
6383be514b
révision
ec59b1bc3e
5 fichiers modifiés
+21
-40
Aucun fichier ne correspond à votre recherche
@@ -95,7 +95,7 @@ Settings::Settings() {
|
||||
fgs_kernel_arg_ = false;
|
||||
barrier_value_packet_ = false;
|
||||
|
||||
host_hdp_flush_ = true;
|
||||
device_kernel_args_ = false;
|
||||
gwsInitSupported_ = true;
|
||||
limit_blit_wg_ = 16;
|
||||
}
|
||||
@@ -163,8 +163,10 @@ bool Settings::create(bool fullProfile, uint32_t gfxipMajor, uint32_t gfxipMinor
|
||||
(gfxStepping == 0 || gfxStepping == 1 || gfxStepping == 2)))) {
|
||||
// Enable Barrier Value packet is only for MI2XX/300
|
||||
barrier_value_packet_ = true;
|
||||
// On MI200 and MI300, the HDP will not cache RO=0 writes, so no flush is needed
|
||||
host_hdp_flush_ = false;
|
||||
}
|
||||
|
||||
if (gfxipMajor >= 9) {
|
||||
device_kernel_args_ = HIP_FORCE_DEV_KERNARG;
|
||||
}
|
||||
|
||||
if (gfxipMajor >= 10) {
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur