diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2011-11-22 21:06:24 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2011-11-25 16:57:34 +0100 |
commit | da29c648051208b98704860f851564a80bd3b123 (patch) | |
tree | 69889a3db018582dffcff4adea23acff4969aba0 /vmwgfx/vmwgfx_drmi.h | |
parent | e52b1505cfc4a7d0507e14c3b6335a9b9652c50f (diff) |
vmwgfx: Pre-init fixes
A bunch of fixes that makes the fallback from vmwgfx to vmwlegacy easier.
1) Allow only 16 and 24 bit depths with vmwgfx. We may revisit this later.
2) Try to reclaim some resources if pre_init fails.
3) Print error messages so the user understands what happens on fallback.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'vmwgfx/vmwgfx_drmi.h')
-rw-r--r-- | vmwgfx/vmwgfx_drmi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vmwgfx/vmwgfx_drmi.h b/vmwgfx/vmwgfx_drmi.h index 11abf25..2435009 100644 --- a/vmwgfx/vmwgfx_drmi.h +++ b/vmwgfx/vmwgfx_drmi.h @@ -82,4 +82,6 @@ vmwgfx_max_fb_size(int drm_fd, size_t *size); int vmwgfx_update_gui_layout(int drm_fd, unsigned int num_rects, struct drm_vmw_rect *rects); +int +vmwgfx_get_param(int drm_fd, uint32_t param, uint64_t *out); #endif |