Re: [Intel-gfx] [RFC v3 10/12] drm/client: Add fbdev emulation client

2018-03-06 Thread Daniel Vetter
On Thu, Feb 22, 2018 at 09:06:51PM +0100, Noralf Trønnes wrote: > This adds generic fbdev emulation for drivers that support the > dumb buffer API. No fbdev code is necessary in the driver. > > Differences from drm_fb_helper: > - The backing buffer is created when the first fd is opened. > - Suppo

[Intel-gfx] [RFC v3 10/12] drm/client: Add fbdev emulation client

2018-02-22 Thread Noralf Trønnes
This adds generic fbdev emulation for drivers that support the dumb buffer API. No fbdev code is necessary in the driver. Differences from drm_fb_helper: - The backing buffer is created when the first fd is opened. - Supports changing the mode from userspace. - Doesn't restore on lastclose if ther