Commit f825f804 authored by Richard Zhao's avatar Richard Zhao Committed by Alexey Mednyy

ENGR00140700 GPU: fix tiger run the second time causing system hang

The root cause is endless GSL_INTR_BLOCK_YDX_CP interrupt.
Apply interrupt status read work around only when yamato started.
Signed-off-by: default avatarRichard Zhao <>
parent a9e8eda1
......@@ -59,7 +59,7 @@ kgsl_intr_decode(gsl_device_t *device, gsl_intrblock_t block_id)
// read the block's interrupt status bits
/* exclude CP block here to avoid hang in heavy loading with VPU+GPU */
if (block_id == GSL_INTR_BLOCK_YDX_CP) {
if ((block_id == GSL_INTR_BLOCK_YDX_CP) && (device->flags & GSL_FLAGS_STARTED)) {
status = 0x80000000;
} else {
device->ftbl.device_regread(device, block->status_reg, &status);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment