diff options
author | Sinclair Yeh <syeh@vmware.com> | 2017-01-18 14:14:01 -0800 |
---|---|---|
committer | Sinclair Yeh <syeh@vmware.com> | 2017-01-26 19:53:34 -0800 |
commit | 242ef5d483594a2bed6b8a2685849c83e7810d17 (patch) | |
tree | 7ed12099198823ccb1d41180be6b85cee5ecce3f /net/ipv4/Makefile | |
parent | 54a07c7bb0da0343734c78212bbe9f3735394962 (diff) |
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>
Diffstat (limited to 'net/ipv4/Makefile')
0 files changed, 0 insertions, 0 deletions