[Bug,93649,radeonsi] Graphics lockup while playing tf2
diff mbox

Message ID bug-93649-502-YuwAlTI5xb@http.bugs.freedesktop.org/
State New
Headers show

Commit Message

bugzilla-daemon@freedesktop.org Oct. 24, 2016, 8:35 p.m. UTC
https://bugs.freedesktop.org/show_bug.cgi?id=93649

--- Comment #51 from Marek Olšák <maraeo@gmail.com> ---
You can try this:



It will only affect radeon, not amdgpu.

Patch
diff mbox

diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
index a15d559..ab95bae 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
@@ -939,7 +939,7 @@  radeon_winsys_bo_create(struct radeon_winsys *rws,
     struct radeon_drm_winsys *ws = radeon_drm_winsys(rws);
     struct radeon_bo *bo;
     unsigned usage = 0, pb_cache_bucket;
-
+alignment *= 2;
     /* Only 32-bit sizes are supported. */
     if (size > UINT_MAX)
         return NULL;