[Bug 93649] [radeonsi] Graphics lockup while playing tf2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 24 20:35:17 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93649

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

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;


It will only affect radeon, not amdgpu.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161024/5779a78b/attachment.html>


More information about the dri-devel mailing list