]> Git Repo - J-linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/psp_v13_0.c
Merge tag 'drm-misc-next-fixes-2023-11-02' of git://anongit.freedesktop.org/drm/drm...
[J-linux.git] / drivers / gpu / drm / amd / amdgpu / psp_v13_0.c
index 573046702861a6f0a189331a2171eaf9f1a72206..4142e2fcd8667571d34649dfb26e2c29431c9bad 100644 (file)
@@ -168,7 +168,7 @@ static int psp_v13_0_wait_for_bootloader(struct psp_context *psp)
         * If there is an error in processing command, bits[7:0] will be set.
         * This is applicable for PSP v13.0.6 and newer.
         */
-       for (retry_loop = 0; retry_loop < 10; retry_loop++) {
+       for (retry_loop = 0; retry_loop < PSP_VMBX_POLLING_LIMIT; retry_loop++) {
                ret = psp_wait_for(
                        psp, SOC15_REG_OFFSET(MP0, 0, regMP0_SMN_C2PMSG_35),
                        0x80000000, 0xffffffff, false);
This page took 0.027443 seconds and 4 git commands to generate.