drm/amdkfd: fix spelling mistake in packet manager
The plural of 'process' should be 'processes'. Signed-off-by: Jonathan Kim <jonathan.kim@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
95ea3dbc4e
commit
c3c5cc9a83
|
@ -124,14 +124,14 @@ static int pm_create_runlist_ib(struct packet_manager *pm,
|
||||||
{
|
{
|
||||||
unsigned int alloc_size_bytes;
|
unsigned int alloc_size_bytes;
|
||||||
unsigned int *rl_buffer, rl_wptr, i;
|
unsigned int *rl_buffer, rl_wptr, i;
|
||||||
int retval, proccesses_mapped;
|
int retval, processes_mapped;
|
||||||
struct device_process_node *cur;
|
struct device_process_node *cur;
|
||||||
struct qcm_process_device *qpd;
|
struct qcm_process_device *qpd;
|
||||||
struct queue *q;
|
struct queue *q;
|
||||||
struct kernel_queue *kq;
|
struct kernel_queue *kq;
|
||||||
bool is_over_subscription;
|
bool is_over_subscription;
|
||||||
|
|
||||||
rl_wptr = retval = proccesses_mapped = 0;
|
rl_wptr = retval = processes_mapped = 0;
|
||||||
|
|
||||||
retval = pm_allocate_runlist_ib(pm, &rl_buffer, rl_gpu_addr,
|
retval = pm_allocate_runlist_ib(pm, &rl_buffer, rl_gpu_addr,
|
||||||
&alloc_size_bytes, &is_over_subscription);
|
&alloc_size_bytes, &is_over_subscription);
|
||||||
|
@ -148,7 +148,7 @@ static int pm_create_runlist_ib(struct packet_manager *pm,
|
||||||
list_for_each_entry(cur, queues, list) {
|
list_for_each_entry(cur, queues, list) {
|
||||||
qpd = cur->qpd;
|
qpd = cur->qpd;
|
||||||
/* build map process packet */
|
/* build map process packet */
|
||||||
if (proccesses_mapped >= pm->dqm->processes_count) {
|
if (processes_mapped >= pm->dqm->processes_count) {
|
||||||
pr_debug("Not enough space left in runlist IB\n");
|
pr_debug("Not enough space left in runlist IB\n");
|
||||||
pm_release_ib(pm);
|
pm_release_ib(pm);
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
@ -158,7 +158,7 @@ static int pm_create_runlist_ib(struct packet_manager *pm,
|
||||||
if (retval)
|
if (retval)
|
||||||
return retval;
|
return retval;
|
||||||
|
|
||||||
proccesses_mapped++;
|
processes_mapped++;
|
||||||
inc_wptr(&rl_wptr, pm->pmf->map_process_size,
|
inc_wptr(&rl_wptr, pm->pmf->map_process_size,
|
||||||
alloc_size_bytes);
|
alloc_size_bytes);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue