drm/amdgpu/gfx9: move define to header file
Subsystems (2)
PATCH 1/1 drm/amdgpu/gfx9: move define to header file
rather than defining it locally.
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 -- drivers/gpu/drm/amd/amdgpu/soc15d.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +0 -2
@@ -2977,8 +2977,6 @@ static void gfx_v9_0_ring_emit_ib_gfx(struct amdgpu_ring *ring,amdgpu_ring_write (ring, control); } -#define INDIRECT_BUFFER_VALID (1 << 23) -static void gfx_v9_0_ring_emit_ib_compute (struct amdgpu_ring *ring,struct amdgpu_ib *ib,unsigned vm_id,bool ctx_switch)
drivers/gpu/drm/amd/amdgpu/soc15d.h +1 -0
@@ -132,6 +132,7 @@* 1 - pfp */ #define PACKET3_INDIRECT_BUFFER 0x3F +#define INDIRECT_BUFFER_VALID (1 << 23)#define INDIRECT_BUFFER_CACHE_POLICY (x) ((x) << 28)/* 0 - LRU * 1 - Stream
Signature · 6 lines
2.5.5 _______________________________________________ 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): 1493908399-22631-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org
Zhang, Jerry (Junwei)
Reviewed-by Junwei ZhangQuoted 3 lines · Alex Deucher
rather than defining it locally.
Signed-off-by Alex Deucher <[email protected]>
Quoted 24 lines
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 -- drivers/gpu/drm/amd/amdgpu/soc15d.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +0
-2@@ -2977,8 +2977,6 @@ static void gfx_v9_0_ring_emit_ib_gfx(struct amdgpu_ring *ring,amdgpu_ring_write (ring, control); } -#define INDIRECT_BUFFER_VALID (1 << 23) -static void gfx_v9_0_ring_emit_ib_compute (struct amdgpu_ring *ring,struct amdgpu_ib *ib,unsigned vm_id,bool ctx_switch)drivers/gpu/drm/amd/amdgpu/soc15d.h +0
-0
drivers/gpu/drm/amd/amdgpu/soc15d.h line 138
Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/soc15d.h +1
-0@@ -132,6 +132,7 @@* 1 - pfp */ #define PACKET3_INDIRECT_BUFFER 0x3F +#define INDIRECT_BUFFER_VALID (1 << 23)#define INDIRECT_BUFFER_CACHE_POLICY (x) ((x) << 28)/* 0 - LRU * 1 - Stream
_______________________________________________
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
Reviewed-byAm 05.05.2017 um 05:34 schrieb Zhang, Jerry (Junwei):
Quoted 5 lines · Alex Deucher
Quoted 3 lines
rather than defining it locally.
Signed-off-by Alex Deucher <[email protected]>Reviewed-by Junwei Zhang <[email protected]>
Quoted 30 lines
Quoted 30 lines
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 -- drivers/gpu/drm/amd/amdgpu/soc15d.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +0
-2@@ -2977,8 +2977,6 @@ static void gfx_v9_0_ring_emit_ib_gfx(structamdgpu_ring *ring,amdgpu_ring_write (ring ,control ); } -#define INDIRECT_BUFFER_VALID (1 << 23) - static void gfx_v9_0_ring_emit_ib_compute(struct amdgpu_ring *ring, struct amdgpu_ib *ib,unsigned
vm_id, boolctx_switch)drivers/gpu/drm/amd/amdgpu/soc15d.h +1
-0@@ -132,6 +132,7 @@* 1 - pfp */ #define PACKET3_INDIRECT_BUFFER 0x3F +#define INDIRECT_BUFFER_VALID (1 << 23)
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/soc15d.h line 138
Quoted 4 lines
drivers/gpu/drm/amd/amdgpu/soc15d.h +0
-0#define INDIRECT_BUFFER_CACHE_POLICY (x) ((x) << 28)/* 0 - LRU * 1 - Stream _______________________________________________
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