drm/radeon: Changing number of compute pipe lines
Subsystems (2)
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
@@ -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
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).Signed-off-by Ben Goz <[email protected]>Signed-off-by Oded Gabbay <[email protected]>--- drivers/gpu/drm/radeon/radeon_kfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/radeon/radeon_kfd.c +0
-0
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
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).Signed-off-by Ben Goz <[email protected]>Signed-off-by Oded Gabbay <[email protected]>--- drivers/gpu/drm/radeon/radeon_kfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)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, };
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
-0radeon_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