Revert "drm/vmwgfx: Handle surface check failure correctly"

This reverts commit 9af2b41a3f.
This commit is contained in:
Ksawlii 2024-11-24 00:22:52 +01:00
parent 4cb2abe049
commit cd921badef

View file

@ -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;
}