Skip to contentSkip to conversation

drm/radeon: Changing number of compute pipe lines

PATCH In review Oded Gabbay 2 participants 3 messages Mar 12, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/radeon: Changing number of compute pipe lines

From: Ben Goz <[email protected]>

The current CP firmware can handle Usermode Queues only on MEC1.
To reflect this firmware change, this commit reduces number of compute pipelines to 4 - 1, from 8 - 1 (the first pipeline is allocated for kgd).

---
 drivers/gpu/drm/radeon/radeon_kfd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_kfd.c +1 -1
index 061eaa9..122eb56 100644
@@ -153,7 +153,7 @@ void radeon_kfd_device_init(struct radeon_device *rdev)
 			.compute_vmid_bitmap = 0xFF00,
 
 			.first_compute_pipe = 1,
-			.compute_pipe_count = 8 - 1,
+			.compute_pipe_count = 4 - 1,
 		};
 
 		radeon_doorbell_get_kfd_info(rdev,
Signature · 6 lines
2.1.0

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 18 lines · Oded Gabbay

From: Ben Goz <[email protected]>

The current CP firmware can handle Usermode Queues only on MEC1.
To reflect this firmware change, this commit reduces number of compute pipelines to 4 - 1, from 8 - 1 (the first pipeline is allocated for kgd).

---
 drivers/gpu/drm/radeon/radeon_kfd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_kfd.c +0 -0
index 061eaa9..122eb56 100644

drivers/gpu/drm/radeon/radeon_kfd.c void radeon_kfd_device_init(struct radeon_device *rdev) · line 159

Quoted 8 lines
drivers/gpu/drm/radeon/radeon_kfd.c +1 -1
@@ -153,7 +153,7 @@ void radeon_kfd_device_init(struct radeon_device *rdev)
 			.compute_vmid_bitmap = 0xFF00,
 
 			.first_compute_pipe = 1,
-			.compute_pipe_count = 8 - 1,
+			.compute_pipe_count = 4 - 1,
 		};
 
 		radeon_doorbell_get_kfd_info(rdev,

Does this need to be backported to 3.19? (Does the current CP microcode work with 3.19?)

Signature · 6 lines
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw
Quoted 25 lines · Michel Dänzer
Quoted 24 lines · Oded Gabbay

From: Ben Goz <[email protected]>

The current CP firmware can handle Usermode Queues only on MEC1.
To reflect this firmware change, this commit reduces number of compute pipelines to 4 - 1, from 8 - 1 (the first pipeline is allocated for kgd).

---
 drivers/gpu/drm/radeon/radeon_kfd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_kfd.c +1 -1
index 061eaa9..122eb56 100644
@@ -153,7 +153,7 @@ void radeon_kfd_device_init(struct radeon_device *rdev)
 			.compute_vmid_bitmap = 0xFF00,
 
 			.first_compute_pipe = 1,
-			.compute_pipe_count = 8 - 1,
+			.compute_pipe_count = 4 - 1,
 		};
 
Quoted 7 lines

drivers/gpu/drm/radeon/radeon_kfd.c void radeon_kfd_device_init(struct radeon_device *rdev) · line 159

Quoted 2 lines
drivers/gpu/drm/radeon/radeon_kfd.c +0 -0
 		radeon_doorbell_get_kfd_info(rdev,

Does this need to be backported to 3.19? (Does the current CP microcode work with 3.19?)

Yes, I remembered that the moment after I sent the email :) So I added the Cc stable to the patch in my repo. Thanks for the reminder.

Oded
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel