projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'mips_5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
[linux-2.6-microblaze.git]
/
drivers
/
gpu
/
drm
/
mediatek
/
mtk_drm_drv.c
diff --git
a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
index
b147797
..
838297f
100644
(file)
--- a/
drivers/gpu/drm/mediatek/mtk_drm_drv.c
+++ b/
drivers/gpu/drm/mediatek/mtk_drm_drv.c
@@
-236,6
+236,9
@@
static int mtk_drm_kms_init(struct drm_device *drm)
struct device *dma_dev;
int ret;
+ if (drm_firmware_drivers_only())
+ return -ENODEV;
+
if (!iommu_present(&platform_bus_type))
return -EPROBE_DEFER;