Re: [PATCH] drm/panfrost: Ensure GPU quirks are always initialised

From: Steven Price
Date: Thu Sep 10 2020 - 17:34:26 EST


On 09/09/2020 13:29, Steven Price wrote:
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@xxxxxxx>

Applied to drm-misc-next

Steve