]> 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)
commite90ccd1a64dabefa5c47e321f456bf110204c073
treeca0c434a7697e4c2bf7158772b75a06ddf889f03
parent78ac2a053b9a287f2d36d886a5ab395d2567b266
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: 421929d65b0b: ("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