diff options
author | Sinclair Yeh <syeh@vmware.com> | 2016-04-28 05:11:18 +0300 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2016-05-20 18:40:07 +0300 |
commit | f921791314811afa00bb7fbbd40f51bd3b8eff01 (patch) | |
tree | fe5aafd1ac4396cb394312a26f5912312060a86a /drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | |
parent | 89da76fde68de1205756707133508e930be4f389 (diff) | |
download | linux-f921791314811afa00bb7fbbd40f51bd3b8eff01.tar.xz |
drm/vmwgfx: Report vmwgfx version to vmware.log
When tracking down a customer issue, it is useful to know exactly
which version of the vmwgfx they are using. Since vmware.log is
often the only available debug log, report vmwgfx version in there.
Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.h')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h index 6db358a85b46..1980e2a28265 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h @@ -1235,4 +1235,10 @@ static inline void vmw_mmio_write(u32 value, u32 *addr) { WRITE_ONCE(*addr, value); } + +/** + * Add vmw_msg module function + */ +extern int vmw_host_log(const char *log); + #endif |