Skip to contentSkip to conversation

amdgpu:support 16 ibs per submit for PAL/SRIOV

PATCH In review Marek Olšák 3 participants 3 messages Mar 8, 2018 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 amdgpu:support 16 ibs per submit for PAL/SRIOV

From: Qiang Yu <[email protected]>

to support SRIOV and MCBP, need 16 IBs per submit

---
 amdgpu/amdgpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
amdgpu/amdgpu.h +1 -1
index 928b2a6..8950341 100644
@@ -46,21 +46,21 @@ struct drm_amdgpu_info_hw_ip;
 /*--------------------------------------------------------------------------*/
 /* --------------------------- Defines ------------------------------------ */
 /*--------------------------------------------------------------------------*/
 
 /**
  * Define max. number of Command Buffers (IB) which could be sent to the single
  * hardware IP to accommodate CE/DE requirements
  *
  * \sa amdgpu_cs_ib_info
 */
-#define AMDGPU_CS_MAX_IBS_PER_SUBMIT		4
+#define AMDGPU_CS_MAX_IBS_PER_SUBMIT		16
 
 /**
  * Special timeout value meaning that the timeout is infinite.
  */
 #define AMDGPU_TIMEOUT_INFINITE			0xffffffffffffffffull
 
 /**
  * Used in amdgpu_cs_query_fence_status(), meaning that the given timeout
  * is absolute.
  */
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1520530267-2580-1-git-send-email-maraeo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw

Am 08.03.2018 um 18:31 schrieb Marek Olšák:

Quoted 6 lines

From: Qiang Yu <[email protected]>

to support SRIOV and MCBP, need 16 IBs per submit

Quoted 21 lines
---
  amdgpu/amdgpu.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
amdgpu/amdgpu.h +1 -1
index 928b2a6..8950341 100644
@@ -46,21 +46,21 @@ struct drm_amdgpu_info_hw_ip;
  /*--------------------------------------------------------------------------*/
  /* --------------------------- Defines ------------------------------------ */
  /*--------------------------------------------------------------------------*/
 
  /**
   * Define max. number of Command Buffers (IB) which could be sent to the single
   * hardware IP to accommodate CE/DE requirements
   *
   * \sa amdgpu_cs_ib_info
  */
-#define AMDGPU_CS_MAX_IBS_PER_SUBMIT		4
+#define AMDGPU_CS_MAX_IBS_PER_SUBMIT		16

amdgpu/amdgpu.h struct drm_amdgpu_info_hw_ip; · line 66

Quoted 10 lines
amdgpu/amdgpu.h +0 -0
 
  /**
   * Special timeout value meaning that the timeout is infinite.
   */
  #define AMDGPU_TIMEOUT_INFINITE			0xffffffffffffffffull
 
  /**
   * Used in amdgpu_cs_query_fence_status(), meaning that the given timeout
   * is absolute.
   */

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reviewed-by
#3 lore raw
In reply to a message not in the archive
Quoted 6 lines · Marek Olšák

From: Qiang Yu <[email protected]>

to support SRIOV and MCBP, need 16 IBs per submit

Quoted 34 lines
---
 amdgpu/amdgpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
amdgpu/amdgpu.h +1 -2
index 928b2a6..8950341 100644
@@ -46,21 +46,21 @@ struct drm_amdgpu_info_hw_ip;
 /*--------------------------------------------------------------------------*/
 /* --------------------------- Defines ------------------------------------ */
 /*--------------------------------------------------------------------------*/
 
 /**
  * Define max. number of Command Buffers (IB) which could be sent to the single
  * hardware IP to accommodate CE/DE requirements
  *
  * \sa amdgpu_cs_ib_info
 */
-#define AMDGPU_CS_MAX_IBS_PER_SUBMIT           4
+#define AMDGPU_CS_MAX_IBS_PER_SUBMIT           16
 
 /**
  * Special timeout value meaning that the timeout is infinite.
  */
 #define AMDGPU_TIMEOUT_INFINITE                        0xffffffffffffffffull
 
 /**
  * Used in amdgpu_cs_query_fence_status(), meaning that the given timeout
  * is absolute.
  */
--

2.7.4

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx