mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-08 03:28:05 +02:00
make sure TMDS gets a crtc
This commit is contained in:
parent
e46e028bd2
commit
20b2949e37
1 changed files with 13 additions and 10 deletions
|
|
@ -553,16 +553,19 @@ bool drm_initial_config(drm_device_t *dev, bool can_grow)
|
|||
crtc->enabled = 1;
|
||||
crtc->desired_x = 0;
|
||||
crtc->desired_y = 0;
|
||||
} else if (!lvds_crtc) {
|
||||
lvds_crtc = crtc;
|
||||
crtc->enabled = 1;
|
||||
crtc->desired_x = 0;
|
||||
crtc->desired_y = 0;
|
||||
} else if (!tmds_crtc) {
|
||||
tmds_crtc = crtc;
|
||||
crtc->enabled = 1;
|
||||
crtc->desired_x = 0;
|
||||
crtc->desired_y = 0;
|
||||
} else {
|
||||
if (!lvds_crtc) {
|
||||
lvds_crtc = crtc;
|
||||
crtc->enabled = 1;
|
||||
crtc->desired_x = 0;
|
||||
crtc->desired_y = 0;
|
||||
}
|
||||
if (!tmds_crtc) {
|
||||
tmds_crtc = crtc;
|
||||
crtc->enabled = 1;
|
||||
crtc->desired_x = 0;
|
||||
crtc->desired_y = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue