mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-08 09:30:16 +01:00
modesetting: Update props for dynamically added outputs
Dynamically added outputs should have their properties properly updated as well. Otherwise we're left with an output with many of its propeties not exposed. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Michel Dänzer <michel@daenzer.net>
This commit is contained in:
parent
194ba38728
commit
0c5179c280
1 changed files with 7 additions and 1 deletions
|
|
@ -3003,8 +3003,14 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, drmModeResPtr mode_r
|
|||
"DPMS");
|
||||
}
|
||||
|
||||
if (dynamic)
|
||||
if (dynamic) {
|
||||
output->randr_output = RROutputCreate(xf86ScrnToScreen(pScrn), output->name, strlen(output->name), output);
|
||||
if (output->randr_output) {
|
||||
drmmode_output_create_resources(output);
|
||||
RRPostPendingProperties(output->randr_output);
|
||||
}
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
||||
out_free_encoders:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue