Skip to content

Commit

Permalink
drm/radeon: Changing number of compute pipe lines
Browse files Browse the repository at this point in the history
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 <ben.goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Cc: stable@vger.kernel.org
  • Loading branch information
Ben Goz authored and Oded Gabbay committed Mar 16, 2015
1 parent 4fadf6b commit e405ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/radeon_kfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e405ca3

Please sign in to comment.