commit | b360a3cecd3a2e14e56798b570007d4763f21b74 | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Wed Jan 15 08:51:36 2014 +0100 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Fri Jan 17 07:52:39 2014 +0100 |
tree | d176c6b44f178b6d0afadf558254b2d440810167 | |
parent | 7cba9062e689441ac68bde63104517aa0d3bae1b [diff] |
drm/vmwgfx: Fix surface framebuffer check for guest-backed surfaces With guest-backed surfaces, surface->sizes == NULL, causing a kernel oops. Use the base_size member instead. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>