Skip to contentSkip to conversation

drm/amdgpu: remove excess function parameter

PATCH In review Nirmoy Das 4 participants 4 messages Apr 30, 2021

Subsystems (2)
lore
Share & tools
lore

Nirmoy Das

author
#0 lore raw

PATCH 1/1 drm/amdgpu: remove excess function parameter

Fixes 49020fc1f5("drm/amdgpu: cleanup amdgpu_vm_init()")
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +0 -1
index dae51992c607..f2513be72980 100644
@@ -2796,7 +2796,6 @@ long amdgpu_vm_wait_idle(struct amdgpu_vm *vm, long timeout)
  *
  * @adev: amdgpu_device pointer
  * @vm: requested vm
- * @vm_context: Indicates if it GFX or Compute context
  * @pasid: Process address space identifier
  *
  * Init @vm fields.
Signature · 6 lines
2.30.2

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

Hi,

Quoted 1 line · Nirmoy Das
Fixes 49020fc1f5("drm/amdgpu: cleanup amdgpu_vm_init()")

Just for curiosity, do we need the Fixes tag for this?

How about adding the warning/error message that this patch fixes? I think this can be useful for other people searching for a similar fix in the git log (I do it sometimes).

Thanks
Siqueira

Quoted 24 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +0 -1
index dae51992c607..f2513be72980 100644
@@ -2796,7 +2796,6 @@ long amdgpu_vm_wait_idle(struct amdgpu_vm *vm, long timeout)
  *
  * @adev: amdgpu_device pointer
  * @vm: requested vm
- * @vm_context: Indicates if it GFX or Compute context
  * @pasid: Process address space identifier
  *
  * Init @vm fields.
Signature · 6 lines
2.30.2

_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7CRodrigo.Siqueira%40amd.com%7Ca88acdf110bc4994ff3c08d90bcd36f6%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637553798286590199%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=tS6NA4FPNYFPCbIdngKshN3I%2BwRwAumgC0vdA50h9l8%3D&reserved=0
Signature · 2 lines
Rodrigo Siqueira
https://siqueira.tech

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

#2 lore raw

Hi,

Am 30.04.21 um 14:52 schrieb Rodrigo Siqueira:

Quoted 5 lines

Hi,

Quoted 1 line · Nirmoy Das
Fixes 49020fc1f5("drm/amdgpu: cleanup amdgpu_vm_init()")

Just for curiosity, do we need the Fixes tag for this?

It's indeed a bit overkill.

The purpose of the Fixes tag is to mark bug fixes for specific patches so that backporters of feature know that when they picked up patch A they also need to pick up the fixes for patch A.

But since this is just cleaning up a recently added warning in a code documentation we could just push it without.

Christian.

Quoted 28 lines

How about adding the warning/error message that this patch fixes? I think this can be useful for other people searching for a similar fix in the git log (I do it sometimes).

Thanks
Siqueira

Quoted 20 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1 -
  1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +0 -1
index dae51992c607..f2513be72980 100644
@@ -2796,7 +2796,6 @@ long amdgpu_vm_wait_idle(struct amdgpu_vm *vm, long timeout)
   *
   * @adev: amdgpu_device pointer
   * @vm: requested vm
- * @vm_context: Indicates if it GFX or Compute context
   * @pasid: Process address space identifier
   *
   * Init @vm fields.
Signature · 1 line
2.30.2
Quoted 9 lines
Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7CRodrigo.Siqueira%40amd.com%7Ca88acdf110bc4994ff3c08d90bcd36f6%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637553798286590199%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=tS6NA4FPNYFPCbIdngKshN3I%2BwRwAumgC0vdA50h9l8%3D&reserved=0

_______________________________________________
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

#3 lore raw
Quoted 6 lines · Christian König

Hi,

Am 30.04.21 um 14:52 schrieb Rodrigo Siqueira:

Quoted 3 lines

Hi,

On 04/30, Nirmoy Das wrote:

Quoted 8 lines
Quoted 2 lines
Quoted 1 line
Fixes 49020fc1f5("drm/amdgpu: cleanup amdgpu_vm_init()")

Just for curiosity, do we need the Fixes tag for this?

It's indeed a bit overkill.

The purpose of the Fixes tag is to mark bug fixes for specific patches so that backporters of feature know that when they picked up patch A they also need to pick up the fixes for patch A.

But since this is just cleaning up a recently added warning in a code documentation we could just push it without.

Thanks Rodrigo and Christian, I will resend again without Fixes tag.

Nirmoy

Quoted 40 lines

Christian.

Quoted 36 lines

How about adding the warning/error message that this patch fixes? I think this can be useful for other people searching for a similar fix in the git log (I do it sometimes).

Thanks
Siqueira

Quoted 24 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1 -
  1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +0 -1
index dae51992c607..f2513be72980 100644
@@ -2796,7 +2796,6 @@ long amdgpu_vm_wait_idle(struct amdgpu_vm *vm, long timeout)
   *
   * @adev: amdgpu_device pointer
   * @vm: requested vm
- * @vm_context: Indicates if it GFX or Compute context
   * @pasid: Process address space identifier
   *
   * Init @vm fields.
Signature · 6 lines
2.30.2

_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7CRodrigo.Siqueira%40amd.com%7Ca88acdf110bc4994ff3c08d90bcd36f6%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637553798286590199%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=tS6NA4FPNYFPCbIdngKshN3I%2BwRwAumgC0vdA50h9l8%3D&reserved=0

_______________________________________________
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