summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_managed.c
diff options
context:
space:
mode:
authorSteven Price <steven.price@arm.com>2020-09-09 13:29:57 +0100
committerSteven Price <steven.price@arm.com>2020-09-10 14:12:33 +0100
commit8c3c818c23a5bbce6ff180dd2ee04415241df77c (patch)
treeea7b752873c8e01f397b446609ced0b81a60c3e3 /drivers/gpu/drm/drm_managed.c
parentac5037afefd33fea9a9c1a4a5ac46ece396e7465 (diff)
downloadlinux-8c3c818c23a5bbce6ff180dd2ee04415241df77c.tar.bz2
drm/panfrost: Ensure GPU quirks are always initialised
The GPU 'CONFIG' registers used to work around hardware issues are cleared on reset so need to be programmed every time the GPU is reset. However panfrost_device_reset() failed to do this. To avoid this in future instead move the call to panfrost_gpu_init_quirks() to panfrost_gpu_power_on() so that the regsiters are always programmed just before the cores are powered. Fixes: f3ba91228e8e ("drm/panfrost: Add initial panfrost driver") Signed-off-by: Steven Price <steven.price@arm.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200909122957.51667-1-steven.price@arm.com
Diffstat (limited to 'drivers/gpu/drm/drm_managed.c')
0 files changed, 0 insertions, 0 deletions