]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Fix setting of dma masks
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 28 Jan 2019 09:31:33 +0000 (10:31 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 5 Feb 2019 12:54:21 +0000 (13:54 +0100)
commit6a94040c067b335301da833add330f5e32328590
treeca0c434a7697e4c2bf7158772b75a06ddf889f03
parent2ff6337b73e2e8916364bd13b77ec474300cde55
drm/vmwgfx: Fix setting of dma masks

Previously we set only the dma mask and not the coherent mask. Fix that.
Also, for clarity, make sure both are initially set to 64 bits.

Cc: <stable@vger.kernel.org>
Fixes: e94186aa2363: ("drm/vmwgfx: Fix the driver for large dma addresses")
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c