[Spice-devel] [drm/qxl 6/6] qxl: Allow resolution which are not multiple of 8

2016-10-31 Thread Pavel Grunt
On Mon, 2016-10-31 at 07:35 -0400, Frediano Ziglio wrote: > > > > The use of drm_cvt_mode() in qxl_add_monitors_config_modes() means > > that > > the resolutions we are going to present to user-space are going to > > be > > rounded down to a multiple of 8. In the QXL arbitrary resolution > > case,

[Spice-devel] [drm/qxl 6/6] qxl: Allow resolution which are not multiple of 8

2016-10-31 Thread Frediano Ziglio
> > The use of drm_cvt_mode() in qxl_add_monitors_config_modes() means that > the resolutions we are going to present to user-space are going to be > rounded down to a multiple of 8. In the QXL arbitrary resolution case, > this is not useful. > This commit forces the actual width/height that was r