Sinclair Yeh 242ef5d483 drm/vmwgfx: Fix depth input into drm_mode_legacy_fb_format
Currently the pitch is passed in as depth.  This causes
drm_mode_legacy_fb_format() to return the wrong pixel format.

The wrong pixel format will be rejected by vmw_kms_new_framebuffer(),
thus leaving par->set_fb to NULL.

This eventually causes a crash in vmw_fb_setcolreg() when the code
tries to dereference par->set_fb.

Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
2017-01-26 19:53:34 -08:00
..
2016-08-12 10:41:46 +02:00
2015-08-12 10:06:56 -07:00
2016-12-02 17:15:20 +01:00
2016-12-02 17:15:20 +01:00
2016-08-16 16:30:50 +02:00
2015-08-12 10:06:56 -07:00
2015-08-12 10:06:56 -07:00
2015-08-12 10:06:56 -07:00