[PATCH 14/37] drm/vmwgfx: Populate fb->pixel_format

2016-11-21 Thread Sinclair Yeh
Reviewed-by: Sinclair Yeh On Fri, Nov 18, 2016 at 09:52:50PM +0200, ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > Stuff something semi-reasonable into fb->pixel_format. I had to guess > as to which formats we should pick. Did I guess correctly? > > We can't quite use drm

[PATCH 14/37] drm/vmwgfx: Populate fb->pixel_format

2016-11-18 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Stuff something semi-reasonable into fb->pixel_format. I had to guess as to which formats we should pick. Did I guess correctly? We can't quite use drm_mode_legacy_fb_format() due to the ARGB1555 vs. XRGB155 mess. However use of 'A' formats should imply per-pixel alpha blen