Hi Igor,
Thank you for your reply.
I think the patch is for L3.10.17_1.0.0-ga or later.
Then, I found same code in android_jb4.2.2_1.1.0-ga (kernel = L3.0.35_4.1.0) as below.

So the following codes should be inserted after line 5727 in this case.
gckOS_Delay(gcvNULL, gcdPOWEROFF_TIMEOUT);
if (Hardware->chipPowerState != gcvPOWER_ON
&& Hardware->chipPowerState != gcvPOWER_IDLE
)
{
gcmkPRINT("[galcore]: Can't dump when GPU is power off or clock off.");
gcmkFOOTER_NO();
return gcvSTATUS_OK;
}
Best Regards,
Satoshi Shimoda