Skip to content

Commit 17208f1

Browse files
committed
Merge branch 'drm-vmwgfx-fixes' of git://people.freedesktop.org/~syeh/repos_linux into drm-fixes
One vmwgfx blackscreen fix and trivial patch. * 'drm-vmwgfx-fixes' of git://people.freedesktop.org/~syeh/repos_linux: drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue drm/vmwgfx: constify vmw_fence_ops
2 parents 39dae59 + cef7503 commit 17208f1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/gpu/drm/vmwgfx/vmwgfx_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ static int vmw_driver_load(struct drm_device *dev, unsigned long chipset)
721721
* allocation taken by fbdev
722722
*/
723723
if (!(dev_priv->capabilities & SVGA_CAP_3D))
724-
mem_size *= 2;
724+
mem_size *= 3;
725725

726726
dev_priv->max_mob_pages = mem_size * 1024 / PAGE_SIZE;
727727
dev_priv->prim_bb_mem =

drivers/gpu/drm/vmwgfx/vmwgfx_fence.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ static long vmw_fence_wait(struct dma_fence *f, bool intr, signed long timeout)
224224
return ret;
225225
}
226226

227-
static struct dma_fence_ops vmw_fence_ops = {
227+
static const struct dma_fence_ops vmw_fence_ops = {
228228
.get_driver_name = vmw_fence_get_driver_name,
229229
.get_timeline_name = vmw_fence_get_timeline_name,
230230
.enable_signaling = vmw_fence_enable_signaling,

0 commit comments

Comments
 (0)