]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/vmwgfx: Use the backdoor port if the HB port is not available
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 29 May 2019 06:15:19 +0000 (08:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jun 2019 03:34:54 +0000 (11:34 +0800)
commit9f7779fc33da24b592f4e10d54e936dea965de46
treecc326c3550df68fe292cfb0cfb72d2d6460f6627
parente10e064bf6c263d760fcc8f842e89bb1bd3cdf89
drm/vmwgfx: Use the backdoor port if the HB port is not available

commit cc0ba0d8624f210995924bb57a8b181ce8976606 upstream.

The HB port may not be available for various reasons. Either it has been
disabled by a config option or by the hypervisor for other reasons.
In that case, make sure we have a backup plan and use the backdoor port
instead with a performance penalty.

Cc: stable@vger.kernel.org
Fixes: 89da76fde68d ("drm/vmwgfx: Add VMWare host messaging capability")
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/vmwgfx/vmwgfx_msg.c