mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09: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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user