drm/amdgpu/gfx11: Implement the GFX11 KGQ pipe reset

Implement the kernel graphics queue pipe reset,and the driver
will fallback to pipe reset when the queue reset fails. However,
the ME FW hasn't fully supported pipe reset yet so disable the
KGQ pipe reset temporarily.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Prike Liang
2024-07-17 14:58:00 +08:00
committed by Alex Deucher
parent b5af7525ae
commit dcc8e148e0
2 changed files with 72 additions and 2 deletions

View File

@@ -25,6 +25,8 @@
#include "amdgpu_socbb.h"
#define RS64_FW_UC_START_ADDR_LO 0x3000
struct common_firmware_header {
uint32_t size_bytes; /* size of the entire header+image(s) in bytes */
uint32_t header_size_bytes; /* size of just the header in bytes */