Module: Mesa
Branch: main
Commit: a008a7dcdf18acb7d74d63c53ca89fc84e3620e2
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a008a7dcdf18acb7d74d63c53ca89fc84e3620e2

Author: Marek Olšák <marek.ol...@amd.com>
Date:   Sun Jan  7 16:58:17 2024 -0500

winsys/amdgpu: remove misplaced duplicated comment

The same comment is in the header file where it should be.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-pra...@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27060>

---

 src/gallium/winsys/amdgpu/drm/amdgpu_cs.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c 
b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
index c67322b4681..7243ff75dc9 100644
--- a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
+++ b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
@@ -782,10 +782,6 @@ static bool amdgpu_get_new_ib(struct amdgpu_winsys *ws,
                               struct amdgpu_ib *main_ib,
                               struct amdgpu_cs *cs)
 {
-   /* Small IBs are better than big IBs, because the GPU goes idle quicker
-    * and there is less waiting for buffers and fences. Proof:
-    *   http://www.phoronix.com/scan.php?page=article&item=mesa-111-si&num=1
-    */
    struct drm_amdgpu_cs_chunk_ib *chunk_ib = &cs->csc->chunk_ib[IB_MAIN];
    /* This is the minimum size of a contiguous IB. */
    unsigned ib_size = 4 * 1024 * 4;

Reply via email to