Home
last modified time | relevance | path

Searched refs:amdgpu_reset_method (Results 1 – 11 of 11) sorted by relevance

/linux-6.15/drivers/gpu/drm/amd/amdgpu/
Dsoc24.c194 if (amdgpu_reset_method == AMD_RESET_METHOD_MODE1 || in soc24_asic_reset_method()
195 amdgpu_reset_method == AMD_RESET_METHOD_MODE2 || in soc24_asic_reset_method()
196 amdgpu_reset_method == AMD_RESET_METHOD_BACO) in soc24_asic_reset_method()
197 return amdgpu_reset_method; in soc24_asic_reset_method()
199 if (amdgpu_reset_method != -1) in soc24_asic_reset_method()
202 amdgpu_reset_method); in soc24_asic_reset_method()
Dnv.c445 if (amdgpu_reset_method == AMD_RESET_METHOD_MODE1 || in nv_asic_reset_method()
446 amdgpu_reset_method == AMD_RESET_METHOD_MODE2 || in nv_asic_reset_method()
447 amdgpu_reset_method == AMD_RESET_METHOD_BACO || in nv_asic_reset_method()
448 amdgpu_reset_method == AMD_RESET_METHOD_PCI) in nv_asic_reset_method()
449 return amdgpu_reset_method; in nv_asic_reset_method()
451 if (amdgpu_reset_method != -1) in nv_asic_reset_method()
453 amdgpu_reset_method); in nv_asic_reset_method()
Dsoc21.c368 if (amdgpu_reset_method == AMD_RESET_METHOD_MODE1 || in soc21_asic_reset_method()
369 amdgpu_reset_method == AMD_RESET_METHOD_MODE2 || in soc21_asic_reset_method()
370 amdgpu_reset_method == AMD_RESET_METHOD_BACO) in soc21_asic_reset_method()
371 return amdgpu_reset_method; in soc21_asic_reset_method()
373 if (amdgpu_reset_method != -1) in soc21_asic_reset_method()
375 amdgpu_reset_method); in soc21_asic_reset_method()
Dsoc15.c536 if (amdgpu_reset_method == AMD_RESET_METHOD_MODE1 || in soc15_asic_reset_method()
537 amdgpu_reset_method == AMD_RESET_METHOD_MODE2 || in soc15_asic_reset_method()
538 amdgpu_reset_method == AMD_RESET_METHOD_BACO || in soc15_asic_reset_method()
539 amdgpu_reset_method == AMD_RESET_METHOD_PCI) { in soc15_asic_reset_method()
543 return amdgpu_reset_method; in soc15_asic_reset_method()
546 if (amdgpu_reset_method != -1) in soc15_asic_reset_method()
548 amdgpu_reset_method); in soc15_asic_reset_method()
Dcik.c1394 if (amdgpu_reset_method == AMD_RESET_METHOD_LEGACY || in cik_asic_reset_method()
1395 amdgpu_reset_method == AMD_RESET_METHOD_BACO) in cik_asic_reset_method()
1396 return amdgpu_reset_method; in cik_asic_reset_method()
1398 if (amdgpu_reset_method != -1) in cik_asic_reset_method()
1400 amdgpu_reset_method); in cik_asic_reset_method()
Dvi.c920 if (amdgpu_reset_method == AMD_RESET_METHOD_LEGACY || in vi_asic_reset_method()
921 amdgpu_reset_method == AMD_RESET_METHOD_BACO) in vi_asic_reset_method()
922 return amdgpu_reset_method; in vi_asic_reset_method()
924 if (amdgpu_reset_method != -1) in vi_asic_reset_method()
926 amdgpu_reset_method); in vi_asic_reset_method()
Dsienna_cichlid.c43 return amdgpu_reset_method == AMD_RESET_METHOD_MODE2; in sienna_cichlid_is_mode2_default()
Dsi.c1420 if (amdgpu_reset_method == AMD_RESET_METHOD_PCI) in si_asic_reset_method()
1421 return amdgpu_reset_method; in si_asic_reset_method()
1422 else if (amdgpu_reset_method != AMD_RESET_METHOD_LEGACY && in si_asic_reset_method()
1423 amdgpu_reset_method != -1) in si_asic_reset_method()
1425 amdgpu_reset_method); in si_asic_reset_method()
Damdgpu_drv.c227 int amdgpu_reset_method = -1; /* auto */ variable
964 module_param_named_unsafe(reset_method, amdgpu_reset_method, int, 0644);
Damdgpu_device.c2102 if (amdgpu_reset_method < -1 || amdgpu_reset_method > 4) { in amdgpu_device_check_arguments()
2104 amdgpu_reset_method = -1; in amdgpu_device_check_arguments()
4510 tmp = amdgpu_reset_method; in amdgpu_device_init()
4514 amdgpu_reset_method = AMD_RESET_METHOD_NONE; in amdgpu_device_init()
4516 amdgpu_reset_method = tmp; in amdgpu_device_init()
Damdgpu.h249 extern int amdgpu_reset_method;