mirror of
https://github.com/torvalds/linux.git
synced 2025-11-09 05:00:09 +02:00
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> |
||
|---|---|---|
| .. | ||
| device_include | ||
| Kconfig | ||
| Makefile | ||
| vmwgfx_binding.c | ||
| vmwgfx_binding.h | ||
| vmwgfx_buffer.c | ||
| vmwgfx_cmdbuf.c | ||
| vmwgfx_cmdbuf_res.c | ||
| vmwgfx_context.c | ||
| vmwgfx_cotable.c | ||
| vmwgfx_dmabuf.c | ||
| vmwgfx_drv.c | ||
| vmwgfx_drv.h | ||
| vmwgfx_execbuf.c | ||
| vmwgfx_fb.c | ||
| vmwgfx_fence.c | ||
| vmwgfx_fence.h | ||
| vmwgfx_fifo.c | ||
| vmwgfx_gmr.c | ||
| vmwgfx_gmrid_manager.c | ||
| vmwgfx_ioctl.c | ||
| vmwgfx_irq.c | ||
| vmwgfx_kms.c | ||
| vmwgfx_kms.h | ||
| vmwgfx_ldu.c | ||
| vmwgfx_marker.c | ||
| vmwgfx_mob.c | ||
| vmwgfx_msg.c | ||
| vmwgfx_msg.h | ||
| vmwgfx_overlay.c | ||
| vmwgfx_prime.c | ||
| vmwgfx_reg.h | ||
| vmwgfx_resource.c | ||
| vmwgfx_resource_priv.h | ||
| vmwgfx_scrn.c | ||
| vmwgfx_shader.c | ||
| vmwgfx_so.c | ||
| vmwgfx_so.h | ||
| vmwgfx_stdu.c | ||
| vmwgfx_surface.c | ||
| vmwgfx_ttm_glue.c | ||