drm/v3d: Set dma_mask as well as coherent_dma_mask
authorPhil Elwell <phil@raspberrypi.org>
Fri, 22 Nov 2019 16:23:32 +0000 (16:23 +0000)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:13:04 +0000 (19:13 +0000)
commita8995be8e52b6a9998c50e1bcc67983d5c6bd157
treee90a1699a30b9528f0b5d70af32f553295767873
parent661ef43ea28a8fc6d921d30ec1329a1a76139f61
drm/v3d: Set dma_mask as well as coherent_dma_mask

Both coherent_dma_mask and dma_mask act as constraints on allocations
and bounce buffer usage, so be sure to set dma_mask to the appropriate
value otherwise the effective mask could be incorrect.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
drivers/gpu/drm/v3d/v3d_drv.c