Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dsoc21.c367 if (amdgpu_reset_method == AMD_RESET_METHOD_MODE1 || in soc21_asic_reset_method()
368 amdgpu_reset_method == AMD_RESET_METHOD_MODE2 || in soc21_asic_reset_method()
369 amdgpu_reset_method == AMD_RESET_METHOD_BACO) in soc21_asic_reset_method()
370 return amdgpu_reset_method; in soc21_asic_reset_method()
372 if (amdgpu_reset_method != -1) in soc21_asic_reset_method()
374 amdgpu_reset_method); in soc21_asic_reset_method()
H A Dnv.c446 if (amdgpu_reset_method == AMD_RESET_METHOD_MODE1 || in nv_asic_reset_method()
447 amdgpu_reset_method == AMD_RESET_METHOD_MODE2 || in nv_asic_reset_method()
448 amdgpu_reset_method == AMD_RESET_METHOD_BACO || in nv_asic_reset_method()
449 amdgpu_reset_method == AMD_RESET_METHOD_PCI) in nv_asic_reset_method()
450 return amdgpu_reset_method; in nv_asic_reset_method()
452 if (amdgpu_reset_method != -1) in nv_asic_reset_method()
454 amdgpu_reset_method); in nv_asic_reset_method()
H A Dsoc15.c512 if (amdgpu_reset_method == AMD_RESET_METHOD_MODE1 || in soc15_asic_reset_method()
513 amdgpu_reset_method == AMD_RESET_METHOD_MODE2 || in soc15_asic_reset_method()
514 amdgpu_reset_method == AMD_RESET_METHOD_BACO || in soc15_asic_reset_method()
515 amdgpu_reset_method == AMD_RESET_METHOD_PCI) { in soc15_asic_reset_method()
519 return amdgpu_reset_method; in soc15_asic_reset_method()
522 if (amdgpu_reset_method != -1) in soc15_asic_reset_method()
524 amdgpu_reset_method); in soc15_asic_reset_method()
H A 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()
H A 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()
H A 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()
H A Dsienna_cichlid.c43 return amdgpu_reset_method == AMD_RESET_METHOD_MODE2; in sienna_cichlid_is_mode2_default()
H A Damdgpu_device.c1502 if (amdgpu_reset_method < -1 || amdgpu_reset_method > 4) { in amdgpu_device_check_arguments()
1504 amdgpu_reset_method = -1; in amdgpu_device_check_arguments()
3738 tmp = amdgpu_reset_method; in amdgpu_device_init()
3742 amdgpu_reset_method = AMD_RESET_METHOD_NONE; in amdgpu_device_init()
3744 amdgpu_reset_method = tmp; in amdgpu_device_init()
H A Damdgpu_drv.c190 int amdgpu_reset_method = -1; /* auto */ variable
879 module_param_named(reset_method, amdgpu_reset_method, int, 0444);
H A Damdgpu.h232 extern int amdgpu_reset_method;