From cd921badef78e47f789b8d24fc33f69254ca0432 Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sun, 24 Nov 2024 00:22:52 +0100 Subject: [PATCH] Revert "drm/vmwgfx: Handle surface check failure correctly" This reverts commit 9af2b41a3fd9eb09d921940b57b35aac1bb3ff72. --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c index 73cbb94ff..0e963fd7d 100755 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c @@ -1402,7 +1402,6 @@ static struct drm_framebuffer *vmw_kms_fb_create(struct drm_device *dev, DRM_ERROR("Surface size cannot exceed %dx%d", dev_priv->texture_max_width, dev_priv->texture_max_height); - ret = -EINVAL; goto err_out; }