[PATCH xf86-video-dummy 0/6] Cleanups and RandR 1.2 support

Aaron Plattner aplattner at nvidia.com
Mon Jan 26 15:16:13 PST 2015


On 01/25/2015 08:52 PM, Keith Packard wrote:
> Aaron Plattner <aplattner at nvidia.com> writes:
>
>> This series is a counterproposal to Nicolas's patch "dummy: Add support for
>> custom resolutions (RandR 1.2)" [1]
>>
>> This version allows using xrandr's --fb option to resize the screen rather than
>> having to try to create fake modes that pass validation against made-up hardware
>> constraints.  It also allows resizing the framebuffer all the way up to
>> 32767x34767 (assuming malloc succeeds).
>
> You might check out my 'RandR monitors' proposal - that lets you control
> the set of output areas independent from the crtc set; xf86-video-dummy
> could then have *no* CRTCs and still have as many 'monitors' as you
> like.

Patch 6/6 in this series *does* set it up with zero crtcs.  The 
xf86CrtcConfigInit and xf86CrtcSetSizeRange functions are somewhat 
misnamed in that they don't actually require a crtc to operate.

> We need something like this for 4k MST monitor support; seems like it'll
> be useful for yet another use here. I've posted the protocol revisions,
> and there's a complete implementation in the library, protocol headers
> and X server all ready for code review as well.

Yeah, I do need to look into that proposal still.  But I think this is 
useful (in particular for 32k coordinate testing by using randr to 
switch dynamically between 32747x500 and 500x32767) independently.

-- Aaron


More information about the xorg-devel mailing list