]> asedeno.scripts.mit.edu Git - linux.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)
commit4cbfa1e6c09e98450aab3240e5119b0ab2c9795b
treeca0c434a7697e4c2bf7158772b75a06ddf889f03
parent479d59026fe44f89fa67efa01a4d47e00808e688
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: 0d00c488f3de: ("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