drm/amdgpu: Fix physical address mask
Subsystems (2)
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu: Fix physical address mask
From: David Belanger <[email protected]>
Mask should be 44-bit.
Signed-off-by David Belanger <[email protected]>
Reviewed-by Harish Kasiviswanathan <[email protected]>
Acked-by Alex Deucher <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c +1 -1
@@ -763,7 +763,7 @@ static int gmc_v12_0_sw_init(void *handle)*/ adev->gmc.mc_mask =0xffffffffffffULL ;/* 48 bit MC */ - r =dma_set_mask_and_coherent (adev->dev,DMA_BIT_MASK (48 )); + r =dma_set_mask_and_coherent (adev->dev,DMA_BIT_MASK (44 ));if (r) {printk (KERN_WARNING "amdgpu: No suitable DMA available.\n" );return r;
Signature · 1 line
2.44.0