Skip to content
Commit 447ef045 authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer
Browse files

Check dimensions passed to drmmode_xf86crtc_resize



When enabling a secondary GPU output, Xorg can try resizing the screen
beyond the limit advertised by the driver, leading to drmModeAddFB
failing and primary GPU outputs turning off. Check for this and bail
instead.

(Ported from amdgpu commit 940c8b39f79789d4d5ddb8ab8d25a8ae05932756)
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6a0c01bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment