• Deepak Rawat's avatar
    winsys/svga/drm: Fix 32-bit RPCI send message · 72fc8868
    Deepak Rawat authored
    Depending on whether compiled with frame-pointer or not, the temporary
    memory location used for the bp parameter in these macros are referenced
    relative to the stack pointer or the frame pointer.
    Hence we can never reference that parameter when we've modified either
    the stack pointer or the frame pointer, because then the compiler would
    generate an incorrect stack reference.
    
    Fix this by pushing the temporary memory parameter on a known location on
    the stack before modifying the stack- and frame pointers.
    
    Also in case of failuire RPCI channel is not closed which lead to vmx
    running out of channels.
    
    Cc: mesa-stable@lists.freedesktop.org
    Signed-off-by: default avatarDeepak Rawat <drawat@vmware.com>
    Reviewed-by: Sinclair Yeh's avatarSinclair Yeh <syeh@vmware.com>
    Reviewed-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
    Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
    72fc8868
Name
Last commit
Last update
.gitlab-ci Loading commit data...
bin Loading commit data...
build-support Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
README.rst Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
common.py Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...