[PATCH 0/1] amdgpu: Fix crash when MEC2 firmware fails to load

2024-01-29 Thread David McFarland
attached patch removes some code that looks like it was added by mistake, or by a bad merge. With it I get still get the load failed error as expected, but no crash. After fixing the firmware, no error is printed. David McFarland (1): drm/amd: Don't init MEC2 firmware when it fails to

[PATCH 1/1] drm/amd: Don't init MEC2 firmware when it fails to load

2024-01-29 Thread David McFarland
The same calls are made directly above, but conditional on the firmware loading and validating successfully. Fixes: 9931b67690cf ("drm/amd: Load GFX10 microcode during early_init") --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/

[PATCH v2 1/1] drm/amd: Don't init MEC2 firmware when it fails to load

2024-01-30 Thread David McFarland
The same calls are made directly above, but conditional on the firmware loading and validating successfully. Fixes: 9931b67690cf ("drm/amd: Load GFX10 microcode during early_init") Signed-off-by: David McFarland --- v2: signed off drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 -- 1 fi

[PATCH v2 0/1] drm/amd: Don't init MEC2 firmware when it fails to load

2024-01-30 Thread David McFarland
> Sorry to be pedantic; but I realized after I tried to apply this is > missing a S-o-b. Can you please add one? Of course, here you go. I left it off because I wasn't 100% sure about the intention of your previous change. David McFarland (1): drm/amd: Don't init MEC2 firmwa