Skip to content

Commit 210457a

Browse files
committed
dcp: 42-bit DMA masks
Signed-off-by: Hector Martin <[email protected]>
1 parent 4cd47de commit 210457a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/gpu/drm/apple/apple_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ static int apple_drm_init(struct device *dev)
459459
resource_size_t fb_size;
460460
int ret;
461461

462-
ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(36));
462+
ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(42));
463463
if (ret)
464464
return ret;
465465

drivers/gpu/drm/apple/dcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ static int dcp_comp_bind(struct device *dev, struct device *main, void *data)
420420
u32 cpu_ctrl;
421421
int ret;
422422

423-
ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(36));
423+
ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(42));
424424
if (ret)
425425
return ret;
426426

drivers/gpu/drm/apple/dummy-piodma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ static const struct component_ops dcp_piodma_comp_ops = {
2626
};
2727
static int dcp_piodma_probe(struct platform_device *pdev)
2828
{
29-
int ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(36));
29+
int ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(42));
3030
if (ret)
3131
return ret;
3232

0 commit comments

Comments
 (0)