OrangePi_CM5/drivers/gpu/drm/panfrost
Jiasheng Jiang 4a9c268a40 drm/panfrost: Check for error num after setting mask
[ Upstream commit 44ab30b056149bd59dd7989a593dd25ead6007fd ]

Because of the possible failure of the dma_supported(), the
dma_set_mask_and_coherent() may return error num.
Therefore, it should be better to check it and return the error if
fails.

Fixes: f3ba91228e ("drm/panfrost: Add initial panfrost driver")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
[Steve: fix Fixes: line]
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220106030326.2620942-1-jiasheng@iscas.ac.cn
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:40:12 +02:00
..
Kconfig
…
Makefile
…
TODO
…
panfrost_devfreq.c
…
panfrost_devfreq.h
…
panfrost_device.c
…
panfrost_device.h drm/panfrost: Make sure MMU context lifetime is not bound to panfrost_priv 2021-09-18 13:40:37 +02:00
panfrost_drv.c drm/panfrost: Make sure MMU context lifetime is not bound to panfrost_priv 2021-09-18 13:40:37 +02:00
panfrost_features.h
…
panfrost_gem.c drm/panfrost: Make sure MMU context lifetime is not bound to panfrost_priv 2021-09-18 13:40:37 +02:00
panfrost_gem.h
…
panfrost_gem_shrinker.c
…
panfrost_gpu.c drm/panfrost: Check for error num after setting mask 2022-04-08 14:40:12 +02:00
panfrost_gpu.h
…
panfrost_issues.h
…
panfrost_job.c drm/panfrost: Make sure MMU context lifetime is not bound to panfrost_priv 2021-09-18 13:40:37 +02:00
panfrost_job.h
…
panfrost_mmu.c drm/panfrost: Clamp lock region to Bifrost minimum 2021-09-18 13:40:38 +02:00
panfrost_mmu.h drm/panfrost: Make sure MMU context lifetime is not bound to panfrost_priv 2021-09-18 13:40:37 +02:00
panfrost_perfcnt.c
…
panfrost_perfcnt.h
…
panfrost_regs.h drm/panfrost: Clamp lock region to Bifrost minimum 2021-09-18 13:40:38 +02:00