Skip to content
Commit b1aae9c5 authored by Ian Forbes's avatar Ian Forbes Committed by Greg Kroah-Hartman
Browse files

drm/vmwgfx: 3D disabled should not effect STDU memory limits

[ Upstream commit fb5e19d2 ]

This limit became a hard cap starting with the change referenced below.
Surface creation on the device will fail if the requested size is larger
than this limit so altering the value arbitrarily will expose modes that
are too large for the device's hard limits.

Fixes: 7ebb47c9

 ("drm/vmwgfx: Read new register for GB memory when available")

Signed-off-by: default avatarIan Forbes <ian.forbes@broadcom.com>
Signed-off-by: default avatarZack Rusin <zack.rusin@broadcom.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240521184720.767-3-ian.forbes@broadcom.com
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b7479b39
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment