mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
drm/amdgpu: Clean up errors in mxgpu_nv.c
Fix the following errors reported by checkpatch:
ERROR: else should follow close brace '}'
ERROR: that open brace { should be on the previous line
Signed-off-by: Ran Sun <sunran001@208suo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
2b77f199a5
commit
e2515e2b90
|
|
@ -183,12 +183,10 @@ static int xgpu_nv_send_access_requests(struct amdgpu_device *adev,
|
|||
if (req != IDH_REQ_GPU_INIT_DATA) {
|
||||
pr_err("Doesn't get msg:%d from pf, error=%d\n", event, r);
|
||||
return r;
|
||||
}
|
||||
else /* host doesn't support REQ_GPU_INIT_DATA handshake */
|
||||
} else /* host doesn't support REQ_GPU_INIT_DATA handshake */
|
||||
adev->virt.req_init_data_ver = 0;
|
||||
} else {
|
||||
if (req == IDH_REQ_GPU_INIT_DATA)
|
||||
{
|
||||
if (req == IDH_REQ_GPU_INIT_DATA) {
|
||||
adev->virt.req_init_data_ver =
|
||||
RREG32_NO_KIQ(mmMAILBOX_MSGBUF_RCV_DW1);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user