mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
RK3368 GPU: Solve crash on Copydate on Clang compile ver
Signed-off-by: Li Huang <putin.li@rock-chips.com> Change-Id: I4af20dadb4310ea6fa8c2421831e58a84fae5d9a
This commit is contained in:
parent
433202c5ac
commit
ea70891842
|
|
@ -2429,6 +2429,9 @@ PVRSRV_ERROR RGXSetupFirmware(PVRSRV_DEVICE_NODE *psDeviceNode,
|
|||
goto fail;
|
||||
}
|
||||
|
||||
/* Initialize FW started flag */
|
||||
psRGXFWInit->bFirmwareStarted = IMG_FALSE;
|
||||
|
||||
eError = DevmemAcquireCpuVirtAddr(psDevInfo->psCompletedMemDesc,
|
||||
(void **)& psDevInfo->pui32CompletedById);
|
||||
|
||||
|
|
@ -2438,8 +2441,6 @@ PVRSRV_ERROR RGXSetupFirmware(PVRSRV_DEVICE_NODE *psDeviceNode,
|
|||
goto fail;
|
||||
}
|
||||
|
||||
/* Initialize FW started flag */
|
||||
psRGXFWInit->bFirmwareStarted = IMG_FALSE;
|
||||
psRGXFWInit->ui32MarkerVal = 1;
|
||||
|
||||
/* Initialise the compatibility check data */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user