Skip to content
Commit 3a74265c authored by Tomeu Vizoso's avatar Tomeu Vizoso Committed by Rob Herring
Browse files

drm/panfrost: Make sure GPU is powered on when reading GPU_LATEST_FLUSH_ID



Bifrost devices do support the flush reduction feature, so on first job
submit we were trying to read the register while still powered off.

If the GPU is powered off, the feature doesn't bring any benefit, so
don't try to read.

Tested-by: default avatarHeiko Stuebner <heiko@sntech.de>
Reviewed-by: default avatarSteven Price <steven.price@arm.com>
Signed-off-by: default avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200611085900.49740-1-tomeu.vizoso@collabora.com
parent 77f47d23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment