Skip to content

Commit 8e92610

Browse files
committed
fixup! drm/apple: Get rid of the piodma dummy driver
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 65f967b commit 8e92610

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/gpu/drm/apple

drivers/gpu/drm/apple/dcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ static int dcp_comp_bind(struct device *dev, struct device *main, void *data)
10461046
dcp->connector_type = DRM_MODE_CONNECTOR_Unknown;
10471047

10481048
ret = dcp_create_piodma_iommu_dev(dcp);
1049-
if (ret)
1049+
if (ret || !dcp->iommu_dom)
10501050
return dev_err_probe(dev, ret,
10511051
"Failed to created PIODMA iommu child device");
10521052

0 commit comments

Comments
 (0)