Skip to content
Snippets Groups Projects
Commit 90c7195c authored by Ian Forbes's avatar Ian Forbes Committed by Frieder Schrempf
Browse files

drm/vmwgfx: Trigger a modeset when the screen moves


[ Upstream commit 75c3e8a2 ]

When multi-monitor is cycled the X,Y position of the Screen Target will
likely change but the resolution will not. We need to trigger a modeset
when this occurs in order to recreate the Screen Target with the correct
X,Y position.

Fixes a bug where multiple displays are shown in a single scrollable
host window rather than in 2+ windows on separate host displays.

Fixes: 42682693 ("drm/vmwgfx: Filter modes which exceed graphics memory")
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/20240624205951.23343-1-ian.forbes@broadcom.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 63909264
No related branches found
No related tags found
1 merge request!166🤖 Sync Bot: Update v6.1-ktn to Latest Stable Kernel (v6.1.109)
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment