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
Ta zmiana jest zawarta w:
%! (template.HTML=Saleel Kudchadker)złożyło 2024-02-20 02:03:14 -05:00
1 rodzic 81b8598af9
złożenie f138e0d113
5 plików zmienionych
+21 -40

Żadne pliki nie pasują do Twojego wyszukiwania

+5 -3
Wyświetl plik
@@ -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) {