winsys/svga: improve error/debug message output
authorBrian Paul <brianp@vmware.com>
Tue, 19 Mar 2013 16:03:39 +0000 (10:03 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 19 Mar 2013 21:18:38 +0000 (15:18 -0600)
commitc45d22e26a3e66371b239b5aac80170fcbf213f8
tree98c1856bc56db943ea63e42697a410d719aced04
parent460a4444e8a11a33340a979c7e0721f76e63a990
winsys/svga: improve error/debug message output

Use vmw_printf() just for extra debugging info (off by default).
Use vmw_error() for real errors/failures/etc that we definitely
want to report.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/winsys/svga/drm/vmw_context.h
src/gallium/winsys/svga/drm/vmw_screen_dri.c
src/gallium/winsys/svga/drm/vmw_screen_ioctl.c