[PATCH xf86-video-dummy 6/6] Support RandR 1.2
Chris Wilson
chris at chris-wilson.co.uk
Sun Jan 25 01:29:22 PST 2015
On Sat, Jan 24, 2015 at 05:08:13PM -0800, Aaron Plattner wrote:
> Don't bother creating RandR outputs or creating or validating modes.
> Instead, just invent a dummy DisplayModeRec for the current screen
> size.
>
> Plug in a RandR framebuffer resize hook to allow resizing the screen.
> Update the screen pixmap, ScrnInfo structure, and dummy mode when that
> happens.
>
> Dispense with the pScrn->videoRam field. Instead, use the Virtual
> size from the Display subsection of the Screen section. If that's not
> set, default to something reasonable by today's standards.
Does that xf86ValidateModes() use pScrn->videoRam to check that the mode
scanline fits within RAM matter here? Or is there no validate step in
the dummy RandR driver at all?
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the xorg-devel
mailing list