drm/amdgpu: update ib_start/size_alignment same as windows used
Subsystems (2)
PATCH 1/1 drm/amdgpu: update ib_start/size_alignment same as windows used
PAGE_SIZE for start_alignment is far much than hw requirement, And now, update to expereince value from window side.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +14 -14
@@ -329,35 +329,35 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file type =AMD_IP_BLOCK_TYPE_GFX ;for (i =0 ; i < adev->gfx.num_gfx_rings; i++) ring_mask |= ((adev->gfx.gfx_ring[i].ready ?1 :0 ) << i); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =8 ; + ib_start_alignment =32 ; + ib_size_alignment =32 ;break ;case AMDGPU_HW_IP_COMPUTE : type =AMD_IP_BLOCK_TYPE_GFX ;for (i =0 ; i < adev->gfx.num_compute_rings; i++) ring_mask |= ((adev->gfx.compute_ring[i].ready ?1 :0 ) << i); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =8 ; + ib_start_alignment =32 ; + ib_size_alignment =32 ;break ;case AMDGPU_HW_IP_DMA : type =AMD_IP_BLOCK_TYPE_SDMA ;for (i =0 ; i < adev->sdma.num_instances; i++) ring_mask |= ((adev->sdma.instance[i].ring.ready ?1 :0 ) << i); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =1 ; + ib_start_alignment =256 ; + ib_size_alignment =4 ;break ;case AMDGPU_HW_IP_UVD : type =AMD_IP_BLOCK_TYPE_UVD ;for (i =0 ; i < adev->uvd.num_uvd_inst; i++) ring_mask |= ((adev->uvd.inst[i].ring.ready ?1 :0 ) << i); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =16 ; + ib_start_alignment =64 ; + ib_size_alignment =64 ;break ;case AMDGPU_HW_IP_VCE : type =AMD_IP_BLOCK_TYPE_VCE ;for (i =0 ; i < adev->vce.num_rings; i++) ring_mask |= ((adev->vce.ring[i].ready ?1 :0 ) << i); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =4 ; ib_size_alignment =1 ;break ;case AMDGPU_HW_IP_UVD_ENC :
@@ -367,26 +367,26 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file ring_mask |= ((adev->uvd.inst[i].ring_enc[j].ready ?1 :0 ) << (j + i * adev->uvd.num_enc_rings)); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =1 ; + ib_start_alignment =64 ; + ib_size_alignment =64 ;break ;case AMDGPU_HW_IP_VCN_DEC : type =AMD_IP_BLOCK_TYPE_VCN ; ring_mask = adev->vcn.ring_dec.ready ?1 :0 ; - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =16 ; ib_size_alignment =16 ;break ;case AMDGPU_HW_IP_VCN_ENC : type =AMD_IP_BLOCK_TYPE_VCN ;for (i =0 ; i < adev->vcn.num_enc_rings; i++) ring_mask |= ((adev->vcn.ring_enc[i].ready ?1 :0 ) << i); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =64 ; ib_size_alignment =1 ;break ;case AMDGPU_HW_IP_VCN_JPEG : type =AMD_IP_BLOCK_TYPE_VCN ; ring_mask = adev->vcn.ring_jpeg.ready ?1 :0 ; - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =16 ; ib_size_alignment =16 ;break ;default :
Signature · 6 lines
2.14.1 _______________________________________________ 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): [email protected]
Christian König
Acked-byAm 15.06.2018 um 08:45 schrieb Chunming Zhou:
Quoted 5 lines
PAGE_SIZEforstart_alignmentis far much than hw requirement, And now, update to expereince value from window side.Change-Id I08a7e72076386c32faf36ec4812b30e68dde23e5Signed-off-by Chunming Zhou <[email protected]>
Quoted 75 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +13
-13@@ -329,35 +329,35 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file type =AMD_IP_BLOCK_TYPE_GFX ;for (i =0 ; i < adev->gfx.num_gfx_rings; i++) ring_mask |= ((adev->gfx.gfx_ring[i].ready ?1 :0 ) << i); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =8 ; + ib_start_alignment =32 ; + ib_size_alignment =32 ;break ;case AMDGPU_HW_IP_COMPUTE : type =AMD_IP_BLOCK_TYPE_GFX ;for (i =0 ; i < adev->gfx.num_compute_rings; i++) ring_mask |= ((adev->gfx.compute_ring[i].ready ?1 :0 ) << i); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =8 ; + ib_start_alignment =32 ; + ib_size_alignment =32 ;break ;case AMDGPU_HW_IP_DMA : type =AMD_IP_BLOCK_TYPE_SDMA ;for (i =0 ; i < adev->sdma.num_instances; i++) ring_mask |= ((adev->sdma.instance[i].ring.ready ?1 :0 ) << i); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =1 ; + ib_start_alignment =256 ; + ib_size_alignment =4 ;break ;case AMDGPU_HW_IP_UVD : type =AMD_IP_BLOCK_TYPE_UVD ;for (i =0 ; i < adev->uvd.num_uvd_inst; i++) ring_mask |= ((adev->uvd.inst[i].ring.ready ?1 :0 ) << i); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =16 ; + ib_start_alignment =64 ; + ib_size_alignment =64 ;break ;case AMDGPU_HW_IP_VCE : type =AMD_IP_BLOCK_TYPE_VCE ;for (i =0 ; i < adev->vce.num_rings; i++) ring_mask |= ((adev->vce.ring[i].ready ?1 :0 ) << i); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =4 ; ib_size_alignment =1 ;break ;case AMDGPU_HW_IP_UVD_ENC :@@ -367,26 +367,26 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file ring_mask |= ((adev->uvd.inst[i].ring_enc[j].ready ?1 :0 ) << (j + i * adev->uvd.num_enc_rings)); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =1 ; + ib_start_alignment =64 ; + ib_size_alignment =64 ;break ;case AMDGPU_HW_IP_VCN_DEC : type =AMD_IP_BLOCK_TYPE_VCN ; ring_mask = adev->vcn.ring_dec.ready ?1 :0 ; - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =16 ; ib_size_alignment =16 ;break ;case AMDGPU_HW_IP_VCN_ENC : type =AMD_IP_BLOCK_TYPE_VCN ;for (i =0 ; i < adev->vcn.num_enc_rings; i++) ring_mask |= ((adev->vcn.ring_enc[i].ready ?1 :0 ) << i); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =64 ;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file · line 392
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +1
-1ib_size_alignment =1 ;break ;case AMDGPU_HW_IP_VCN_JPEG : type =AMD_IP_BLOCK_TYPE_VCN ; ring_mask = adev->vcn.ring_jpeg.ready ?1 :0 ; - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =16 ; ib_size_alignment =16 ;break ;default :
_______________________________________________
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): dd3006dc-203f-9fb8-b43f-14151f01127a-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Zhang, Jerry
Acked-by Junwei ZhangQuoted 10 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Christian K?nig
Sent: Friday, June 15, 2018 15:09
To: Zhou, David(ChunMing) <[email protected]>; amd- [email protected]
Cc: Olsak, Marek <[email protected]>; Ryan, Sean <[email protected]>
Subject: Re: [PATCH] drm/amdgpu: update ib_start/size_alignment same as windows used
Quoted 8 lines
Am 15.06.2018 um 08:45 schrieb Chunming Zhou:
Quoted 5 lines
PAGE_SIZEforstart_alignmentis far much than hw requirement, And now, update to expereince value from window side.Change-Id I08a7e72076386c32faf36ec4812b30e68dde23e5Signed-off-by Chunming Zhou <[email protected]>Acked-by Christian König <[email protected]>
BTW, any issue it fixes?
Jerry
Quoted 94 lines
Quoted 3 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 28 ++++++++++++++--------------
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev,
Quoted 8 lines
1 file changed, 14 insertions(+), 14 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0@@ -329,35 +329,35 @@ static int amdgpu_info_ioctl(struct drm_device *dev,void *data, struct
drm_filedrivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file
Quoted 3 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0type =AMD_IP_BLOCK_TYPE_GFX ;for (i =0 ; i < adev->gfx.num_gfx_rings; i++) ring_mask |= ((adev->gfx.gfx_ring[i].ready ? 1 : 0)<< i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =8 ; + ib_start_alignment =32 ; + ib_size_alignment =32 ;break ;case AMDGPU_HW_IP_COMPUTE : type =AMD_IP_BLOCK_TYPE_GFX ;for (i =0 ; i < adev->gfx.num_compute_rings; i++) ring_mask |= ((adev->gfx.compute_ring[i].ready ?1 : 0) << i);
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =8 ; + ib_start_alignment =32 ; + ib_size_alignment =32 ;break ;case AMDGPU_HW_IP_DMA : type =AMD_IP_BLOCK_TYPE_SDMA ;for (i =0 ; i < adev->sdma.num_instances; i++) ring_mask |= ((adev-drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2sdma.instance[i].ring.ready ? 1 : 0) << i); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =1 ; + ib_start_alignment =256 ; + ib_size_alignment =4 ;break ;case AMDGPU_HW_IP_UVD : type =AMD_IP_BLOCK_TYPE_UVD ;for (i =0 ; i < adev->uvd.num_uvd_inst; i++) ring_mask |= ((adev->uvd.inst[i].ring.ready ? 1 : 0)<< i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =16 ; + ib_start_alignment =64 ; + ib_size_alignment =64 ;break ;case AMDGPU_HW_IP_VCE : type =AMD_IP_BLOCK_TYPE_VCE ;for (i =0 ; i < adev->vce.num_rings; i++) ring_mask |= ((adev->vce.ring[i].ready ? 1 : 0) <<i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev,
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +1
-1- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =4 ; ib_size_alignment =1 ;break ;case
AMDGPU_HW_IP_UVD_ENC:drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0@@ -367,26 +367,26 @@ static int amdgpu_info_ioctl(struct drm_device *dev,void *data, struct
drm_filedrivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, · line 368
Quoted 2 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0ring_mask |= ((adev->uvd.inst[i].ring_enc[j].ready ? 1 :0) <<
Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2(j + i * adev->uvd.num_enc_rings)); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =1 ; + ib_start_alignment =64 ; + ib_size_alignment =64 ;break ;case AMDGPU_HW_IP_VCN_DEC :drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +1
-1type =AMD_IP_BLOCK_TYPE_VCN ; ring_mask = adev->vcn.ring_dec.ready ?1 :0 ; - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =16 ; ib_size_alignment =16 ;break ;case AMDGPU_HW_IP_VCN_ENC : type =AMD_IP_BLOCK_TYPE_VCN ;for (i =0 ; i < adev->vcn.num_enc_rings; i++) ring_mask |= ((adev->vcn.ring_enc[i].ready ? 1 : 0)<< i);
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =64 ; ib_size_alignment =1 ;break ;case AMDGPU_HW_IP_VCN_JPEG : type =AMD_IP_BLOCK_TYPE_VCN ; ring_mask = adev->vcn.ring_jpeg.ready ?1 :0 ; - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =16 ;
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file · line 392
Quoted 3 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0ib_size_alignment =16 ;break ;default :_______________________________________________
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
A message that is not in the archive (sent off-list or not yet received): CY4PR12MB141405AC0D97B1A681203BC6FF7C0-rpdhrqHFk04b0eJBKAp/[email protected]
Quoted 14 lines · Jerry
Quoted 14 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Christian K?nig
Sent: Friday, June 15, 2018 15:09
To: Zhou, David(ChunMing) <[email protected]>; amd- [email protected]
Cc: Olsak, Marek <[email protected]>; Ryan, Sean <[email protected]>
Subject: Re: [PATCH] drm/amdgpu: update ib_start/size_alignment same as windows usedAm 15.06.2018 um 08:45 schrieb Chunming Zhou:
Quoted 3 lines
PAGE_SIZEforstart_alignmentis far much than hw requirement, And now, update to expereince value from window side.
Quoted 6 lines
Quoted 3 lines
Quoted 2 lines
Change-Id I08a7e72076386c32faf36ec4812b30e68dde23e5Signed-off-by Chunming Zhou <[email protected]>Acked-by Christian König <[email protected]>Acked-by Junwei Zhang <[email protected]>BTW, any issue it fixes?
Yes, as talked in internal brahma list " whether ib_start_alignment is proper", which fixes some PAL assert checking.
Regards,
David Zhou
Quoted 103 lines
Jerry
Quoted 100 lines
Quoted 2 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 28 ++++++++++++++--------------
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev,
Quoted 8 lines
1 file changed, 14 insertions(+), 14 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0@@ -329,35 +329,35 @@ static int amdgpu_info_ioctl(struct drm_device *dev,void *data, struct
drm_filedrivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file
Quoted 3 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0type =AMD_IP_BLOCK_TYPE_GFX ;for (i =0 ; i < adev->gfx.num_gfx_rings; i++) ring_mask |= ((adev->gfx.gfx_ring[i].ready ? 1 : 0)<< i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =8 ; + ib_start_alignment =32 ; + ib_size_alignment =32 ;break ;case AMDGPU_HW_IP_COMPUTE : type =AMD_IP_BLOCK_TYPE_GFX ;for (i =0 ; i < adev->gfx.num_compute_rings; i++) ring_mask |= ((adev->gfx.compute_ring[i].ready ?1 : 0) << i);
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =8 ; + ib_start_alignment =32 ; + ib_size_alignment =32 ;break ;case AMDGPU_HW_IP_DMA : type =AMD_IP_BLOCK_TYPE_SDMA ;for (i =0 ; i < adev->sdma.num_instances; i++) ring_mask |= ((adev-drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2sdma.instance[i].ring.ready ? 1 : 0) << i); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =1 ; + ib_start_alignment =256 ; + ib_size_alignment =4 ;break ;case AMDGPU_HW_IP_UVD : type =AMD_IP_BLOCK_TYPE_UVD ;for (i =0 ; i < adev->uvd.num_uvd_inst; i++) ring_mask |= ((adev->uvd.inst[i].ring.ready ? 1 : 0)<< i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =16 ; + ib_start_alignment =64 ; + ib_size_alignment =64 ;break ;case AMDGPU_HW_IP_VCE : type =AMD_IP_BLOCK_TYPE_VCE ;for (i =0 ; i < adev->vce.num_rings; i++) ring_mask |= ((adev->vce.ring[i].ready ? 1 : 0) <<i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev,
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +1
-1- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =4 ; ib_size_alignment =1 ;break ;case
AMDGPU_HW_IP_UVD_ENC:drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0@@ -367,26 +367,26 @@ static int amdgpu_info_ioctl(struct drm_device *dev,void *data, struct
drm_filedrivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, · line 368
Quoted 2 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0ring_mask |= ((adev->uvd.inst[i].ring_enc[j].ready ? 1 :0) <<
Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2(j + i * adev->uvd.num_enc_rings)); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =1 ; + ib_start_alignment =64 ; + ib_size_alignment =64 ;break ;case AMDGPU_HW_IP_VCN_DEC :drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +1
-1type =AMD_IP_BLOCK_TYPE_VCN ; ring_mask = adev->vcn.ring_dec.ready ?1 :0 ; - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =16 ; ib_size_alignment =16 ;break ;case AMDGPU_HW_IP_VCN_ENC : type =AMD_IP_BLOCK_TYPE_VCN ;for (i =0 ; i < adev->vcn.num_enc_rings; i++) ring_mask |= ((adev->vcn.ring_enc[i].ready ? 1 : 0)<< i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file · line 392
Quoted 12 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =64 ; ib_size_alignment =1 ;break ;case AMDGPU_HW_IP_VCN_JPEG : type =AMD_IP_BLOCK_TYPE_VCN ; ring_mask = adev->vcn.ring_jpeg.ready ?1 :0 ; - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =16 ; ib_size_alignment =16 ;break ;default :_______________________________________________
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
A message that is not in the archive (sent off-list or not yet received): 21a15654-b8f1-da9b-5771-bfd28c8a25ca-5C7GfCeVMHo@public.gmane.org
Marek, Can I get your RB or Acked on this patches? Since these info are reported to UMD.
Thanks,
David Zhou
Quoted 134 lines · On 2018年06月15日 15:22, zhoucm1 wrote:
Quoted 14 lines · Jerry
Quoted 14 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Christian K?nig
Sent: Friday, June 15, 2018 15:09
To: Zhou, David(ChunMing) <[email protected]>; amd- [email protected]
Cc: Olsak, Marek <[email protected]>; Ryan, Sean <[email protected]>
Subject: Re: [PATCH] drm/amdgpu: update ib_start/size_alignment same as windows usedAm 15.06.2018 um 08:45 schrieb Chunming Zhou:
Quoted 3 lines
PAGE_SIZEforstart_alignmentis far much than hw requirement, And now, update to expereince value from window side.Quoted 6 lines
Quoted 3 lines
Quoted 2 lines
Change-Id I08a7e72076386c32faf36ec4812b30e68dde23e5Signed-off-by Chunming Zhou <[email protected]>Acked-by Christian König <[email protected]>Acked-by Junwei Zhang <[email protected]>BTW, any issue it fixes?
Yes, as talked in internal brahma list " whether
ib_start_alignmentis proper", which fixes some PAL assert checking.Regards,
David ZhouQuoted 106 lines
Jerry
Quoted 103 lines
Quoted 3 lines
---
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c| 28
++++++++++++++--------------
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct · line 329
Quoted 9 lines
1 file changed, 14 insertions(+), 14 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0@@ -329,35 +329,35 @@ static int amdgpu_info_ioctl(struct drm_device *dev,void *data, struct
drm_filedrivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct · line 332
Quoted 3 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0type = AMD_IP_BLOCK_TYPE_GFX; for (i = 0; i < adev->gfx.num_gfx_rings; i++) ring_mask |= ((adev->gfx.gfx_ring[i].ready ? 1 : 0)<< i);
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment = AMDGPU_GPU_PAGE_SIZE; - ib_size_alignment = 8; + ib_start_alignment = 32; + ib_size_alignment = 32; break;case
AMDGPU_HW_IP_COMPUTE:
type =AMD_IP_BLOCK_TYPE_GFX;
for (i = 0; i <adev->gfx.num_compute_rings; i++)ring_mask|= ((adev->gfx.compute_ring[i].ready ?1 : 0) << i);
Quoted 11 lines
-
ib_start_alignment=AMDGPU_GPU_PAGE_SIZE; -ib_size_alignment= 8;
+ib_start_alignment= 32;
+ib_size_alignment= 32;
break;
caseAMDGPU_HW_IP_DMA:
type =AMD_IP_BLOCK_TYPE_SDMA;
for (i = 0; i <adev->sdma.num_instances; i++)ring_mask|= ((adev- sdma.instance[i].ring.ready ? 1 : 0) << i);
-ib_start_alignment=AMDGPU_GPU_PAGE_SIZE;Quoted 8 lines
-
ib_size_alignment= 1;
+ib_start_alignment= 256;
+ib_size_alignment= 4;
break;
caseAMDGPU_HW_IP_UVD:
type =AMD_IP_BLOCK_TYPE_UVD;
for (i = 0; i <adev->uvd.num_uvd_inst; i++)ring_mask|= ((adev->uvd.inst[i].ring.ready ? 1 : 0)<< i);
Quoted 9 lines
-
ib_start_alignment=AMDGPU_GPU_PAGE_SIZE;
-ib_size_alignment= 16;
+ib_start_alignment= 64;
+ib_size_alignment= 64;
break;
caseAMDGPU_HW_IP_VCE:
type =AMD_IP_BLOCK_TYPE_VCE;
for (i = 0; i <adev->vce.num_rings; i++)ring_mask|= ((adev->vce.ring[i].ready ? 1 : 0) <<i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct · line 367
Quoted 7 lines
-
ib_start_alignment=AMDGPU_GPU_PAGE_SIZE; +ib_start_alignment= 4;ib_size_alignment= 1;
break;
caseAMDGPU_HW_IP_UVD_ENC:drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0@@ -367,26 +367,26 @@ static int amdgpu_info_ioctl(struct drm_device *dev,void *data, struct
drm_fileQuoted 2 lines
ring_mask|=
((adev->uvd.inst[i].ring_enc[j].ready ? 1 :0) <<
Quoted 9 lines
(j + i *
adev->uvd.num_enc_rings)); -ib_start_alignment=AMDGPU_GPU_PAGE_SIZE; -ib_size_alignment= 1;
+ib_start_alignment= 64;
+ib_size_alignment= 64;
break;
caseAMDGPU_HW_IP_VCN_DEC:
type =AMD_IP_BLOCK_TYPE_VCN;ring_mask=adev->vcn.ring_dec.ready? 1 : 0;Quoted 8 lines
-
ib_start_alignment=AMDGPU_GPU_PAGE_SIZE;
+ib_start_alignment= 16;
ib_size_alignment= 16;
break;
caseAMDGPU_HW_IP_VCN_ENC:
type =AMD_IP_BLOCK_TYPE_VCN;
for (i = 0; i <adev->vcn.num_enc_rings; i++)ring_mask|= ((adev->vcn.ring_enc[i].ready ? 1 : 0)<< i);
Quoted 4 lines
-
ib_start_alignment=AMDGPU_GPU_PAGE_SIZE; +ib_start_alignment= 64;ib_size_alignment= 1;
break;Quoted 8 lines
case
AMDGPU_HW_IP_VCN_JPEG:
type =AMD_IP_BLOCK_TYPE_VCN;ring_mask=adev->vcn.ring_jpeg.ready? 1 : 0; -ib_start_alignment=AMDGPU_GPU_PAGE_SIZE; +ib_start_alignment= 16;ib_size_alignment= 16;
break;
default:_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
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
A message that is not in the archive (sent off-list or not yet received): b4dcf392-e29b-ca30-12d8-69434c28e834-5C7GfCeVMHo@public.gmane.org
Marek Olšák
Acked-byMarek
Quoted 152 lines · On Fri, Jun 15, 2018, 4:03 AM zhoucm1 <[email protected]>…
Marek, Can I get your RB or Acked on this patches? Since these info are reported to UMD.
Thanks,
David Zhou
Quoted 137 lines · On 2018年06月15日 15:22, zhoucm1 wrote:
Quoted 15 lines · Jerry
Quoted 15 lines
-----Original Message-----
From: amd-gfx [mailto:amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org] On Behalf Of
Christian K?nig
Sent: Friday, June 15, 2018 15:09
To: Zhou, David(ChunMing) <[email protected]>; amd- [email protected]
Cc: Olsak, Marek <[email protected]>; Ryan, Sean <[email protected]>
Subject: Re: [PATCH] drm/amdgpu: update ib_start/size_alignment same as
windows usedAm 15.06.2018 um 08:45 schrieb Chunming Zhou:
Quoted 3 lines
PAGE_SIZEforstart_alignmentis far much than hw requirement, And now, update to expereince value from window side.Quoted 6 lines
Quoted 3 lines
Quoted 2 lines
Change-Id I08a7e72076386c32faf36ec4812b30e68dde23e5Signed-off-by Chunming Zhou <[email protected]>Acked-by Christian König <[email protected]>Acked-by Junwei Zhang <[email protected]>BTW, any issue it fixes?
Yes, as talked in internal brahma list " whether
ib_start_alignmentis proper", which fixes some PAL assert checking.Regards,
David ZhouQuoted 107 lines
Jerry
Quoted 104 lines
Quoted 3 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 28++++++++++++++---------
-----
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct · line 329
Quoted 9 lines
1 file changed, 14 insertions(+), 14 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0@@ -329,35 +329,35 @@ static int amdgpu_info_ioctl(struct drm_device *dev,void *data, struct
drm_filedrivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct · line 332
Quoted 3 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0type =AMD_IP_BLOCK_TYPE_GFX ;for (i =0 ; i < adev->gfx.num_gfx_rings; i++) ring_mask |= ((adev->gfx.gfx_ring[i].ready ? 1 : 0)<< i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct · line 339
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =8 ; + ib_start_alignment =32 ; + ib_size_alignment =32 ;break ;case AMDGPU_HW_IP_COMPUTE : type =AMD_IP_BLOCK_TYPE_GFX ;for (i =0 ; i < adev->gfx.num_compute_rings; i++) ring_mask |= ((adev->gfx.compute_ring[i].ready ?1 : 0) << i);
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =8 ; + ib_start_alignment =32 ; + ib_size_alignment =32 ;break ;case AMDGPU_HW_IP_DMA : type =AMD_IP_BLOCK_TYPE_SDMA ;for (i =0 ; i < adev->sdma.num_instances; i++) ring_mask |= ((adev- sdma.instance[i].ring.ready ?1 :0 ) << i);drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct · line 355
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =1 ; + ib_start_alignment =256 ; + ib_size_alignment =4 ;break ;case AMDGPU_HW_IP_UVD : type =AMD_IP_BLOCK_TYPE_UVD ;for (i =0 ; i < adev->uvd.num_uvd_inst; i++) ring_mask |= ((adev->uvd.inst[i].ring.ready ?1 : 0)<< i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct · line 362
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =16 ; + ib_start_alignment =64 ; + ib_size_alignment =64 ;break ;case AMDGPU_HW_IP_VCE : type =AMD_IP_BLOCK_TYPE_VCE ;for (i =0 ; i < adev->vce.num_rings; i++) ring_mask |= ((adev->vce.ring[i].ready ? 1 : 0) <<i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct · line 367
Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +1
-1- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =4 ;ib_size_alignment = 1; break; case AMDGPU_HW_IP_UVD_ENC:drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0@@ -367,26 +367,26 @@ static int amdgpu_info_ioctl(struct drm_device *dev,void *data, struct
drm_fileQuoted 2 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0ring_mask |=((adev->uvd.inst[i].ring_enc[j].ready ? 1 :
0) <<
Quoted 7 lines
(j + i * adev->uvd.num_enc_rings));drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =1 ; + ib_start_alignment =64 ; + ib_size_alignment =64 ;break ;case AMDGPU_HW_IP_VCN_DEC :drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +1
-1type =AMD_IP_BLOCK_TYPE_VCN ; ring_mask = adev->vcn.ring_dec.ready ?1 :0 ; - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =16 ; ib_size_alignment =16 ;break ;case AMDGPU_HW_IP_VCN_ENC : type =AMD_IP_BLOCK_TYPE_VCN ;for (i =0 ; i < adev->vcn.num_enc_rings; i++) ring_mask |= ((adev->vcn.ring_enc[i].ready ? 1 : 0)<< i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
Quoted 12 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =64 ; ib_size_alignment =1 ;break ;case AMDGPU_HW_IP_VCN_JPEG : type =AMD_IP_BLOCK_TYPE_VCN ; ring_mask = adev->vcn.ring_jpeg.ready ?1 :0 ; - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =16 ; ib_size_alignment =16 ;break ;default :_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfxQuoted 4 lines
_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 5 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
Quoted 17 lines · On 06/15/2018 03:22 PM, zhoucm1 wrote:
Quoted 14 lines · Jerry
Quoted 14 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Christian K?nig
Sent: Friday, June 15, 2018 15:09
To: Zhou, David(ChunMing) <[email protected]>; amd- [email protected]
Cc: Olsak, Marek <[email protected]>; Ryan, Sean <[email protected]>
Subject: Re: [PATCH] drm/amdgpu: update ib_start/size_alignment same as windows usedAm 15.06.2018 um 08:45 schrieb Chunming Zhou:
Quoted 3 lines
PAGE_SIZEforstart_alignmentis far much than hw requirement, And now, update to expereince value from window side.
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 2 lines
Change-Id I08a7e72076386c32faf36ec4812b30e68dde23e5Signed-off-by Chunming Zhou <[email protected]>Acked-by Christian König <[email protected]>Acked-by Junwei Zhang <[email protected]>BTW, any issue it fixes?
Yes, as talked in internal brahma list " whether
ib_start_alignmentis proper", which fixes some PAL assert checking.
Yeah, got it.
Thanks for your explanation.
Jerry
Quoted 107 lines
Regards,
David ZhouQuoted 103 lines
Jerry
Quoted 100 lines
Quoted 2 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 28 ++++++++++++++--------------
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev,
Quoted 8 lines
1 file changed, 14 insertions(+), 14 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0@@ -329,35 +329,35 @@ static int amdgpu_info_ioctl(struct drm_device *dev,void *data, struct
drm_filedrivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, · line 331
Quoted 3 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0type =AMD_IP_BLOCK_TYPE_GFX ;for (i =0 ; i < adev->gfx.num_gfx_rings; i++) ring_mask |= ((adev->gfx.gfx_ring[i].ready ? 1 : 0)<< i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, · line 338
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =8 ; + ib_start_alignment =32 ; + ib_size_alignment =32 ;break ;case AMDGPU_HW_IP_COMPUTE : type =AMD_IP_BLOCK_TYPE_GFX ;for (i =0 ; i < adev->gfx.num_compute_rings; i++) ring_mask |= ((adev->gfx.compute_ring[i].ready ?1 : 0) << i);
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =8 ; + ib_start_alignment =32 ; + ib_size_alignment =32 ;break ;case AMDGPU_HW_IP_DMA : type =AMD_IP_BLOCK_TYPE_SDMA ;for (i =0 ; i < adev->sdma.num_instances; i++) ring_mask |= ((adev-drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, · line 353
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2sdma.instance[i].ring.ready ? 1 : 0) << i); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =1 ; + ib_start_alignment =256 ; + ib_size_alignment =4 ;break ;case AMDGPU_HW_IP_UVD : type =AMD_IP_BLOCK_TYPE_UVD ;for (i =0 ; i < adev->uvd.num_uvd_inst; i++) ring_mask |= ((adev->uvd.inst[i].ring.ready ? 1 : 0)<< i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, · line 360
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =16 ; + ib_start_alignment =64 ; + ib_size_alignment =64 ;break ;case AMDGPU_HW_IP_VCE : type =AMD_IP_BLOCK_TYPE_VCE ;for (i =0 ; i < adev->vce.num_rings; i++) ring_mask |= ((adev->vce.ring[i].ready ? 1 : 0) <<i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev,
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +1
-1- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =4 ; ib_size_alignment =1 ;break ;case
AMDGPU_HW_IP_UVD_ENC:drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0@@ -367,26 +367,26 @@ static int amdgpu_info_ioctl(struct drm_device *dev,void *data, struct
drm_filedrivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, · line 368
Quoted 2 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +0
-0ring_mask |= ((adev->uvd.inst[i].ring_enc[j].ready ? 1 :0) <<
Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2(j + i * adev->uvd.num_enc_rings)); - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; - ib_size_alignment =1 ; + ib_start_alignment =64 ; + ib_size_alignment =64 ;break ;case AMDGPU_HW_IP_VCN_DEC :drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, · line 382
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +1
-1type =AMD_IP_BLOCK_TYPE_VCN ; ring_mask = adev->vcn.ring_dec.ready ?1 :0 ; - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =16 ; ib_size_alignment =16 ;break ;case AMDGPU_HW_IP_VCN_ENC : type =AMD_IP_BLOCK_TYPE_VCN ;for (i =0 ; i < adev->vcn.num_enc_rings; i++) ring_mask |= ((adev->vcn.ring_enc[i].ready ? 1 : 0)<< i);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c static int amdgpu_info_ioctl(struct drm_device *dev, · line 392
Quoted 12 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2
-2- ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =64 ; ib_size_alignment =1 ;break ;case AMDGPU_HW_IP_VCN_JPEG : type =AMD_IP_BLOCK_TYPE_VCN ; ring_mask = adev->vcn.ring_jpeg.ready ?1 :0 ; - ib_start_alignment =AMDGPU_GPU_PAGE_SIZE ; + ib_start_alignment =16 ; ib_size_alignment =16 ;break ;default :_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
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