summary refs log tree commit diff
path: root/drivers/misc/tsl2550.c
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2020-06-11 10:58:43 +0200
committerRob Herring <robh@kernel.org>2020-08-07 10:11:11 -0600
commit3a74265c54f883c847ed8554129baefb3e04f135 (patch)
treeb47ae634bd3a01494eb0034527077c0c1ec93b5d /drivers/misc/tsl2550.c
parent77f47d239545810a899bd0531ae81712f3a85092 (diff)
downloadlinux-3a74265c54f883c847ed8554129baefb3e04f135.tar.gz
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: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200611085900.49740-1-tomeu.vizoso@collabora.com
Diffstat (limited to 'drivers/misc/tsl2550.c')
0 files changed, 0 insertions, 0 deletions