[PATCH v6 1/1] drm/amdgpu: set compute queue priority at mqd_init

Nirmoy nirmodas at amd.com
Wed Mar 4 09:28:56 UTC 2020


On 3/3/20 4:30 PM, Christian König wrote:
> Am 03.03.20 um 16:22 schrieb Nirmoy:
>> Hi Christian,
>>
>> On 3/3/20 4:14 PM, Christian König wrote:
>>>
>>>>> I mean the drm_gpu_scheduler * array doesn't needs to be 
>>>>> constructed by the context code in the first place.
>>>> Do you mean amdgpu_ctx_init_sched() should belong to somewhere else 
>>>> may be in amdgpu_ring.c ?
>>>
>>> That's one possibility, yes. On the other hand feel free to go ahead 
>>> with the boolean for now. \
>>
>> Are you fine with struct drm_gpu_scheduler 
>> **compute_prio_sched[AMDGPU_GFX_PIPE_PRIO_MAX]; for now as well ?
>
> Yeah, that should work anyway. My only concern was adding the boolean 
> to the ring structure.

Thanks.

I will later work on the ctx code cleanup to move drm_gpu_scheduler 
array construction to a proper place.


Regards,

Nirmoy

>
> regards,
> Christian.
>
>>
>>
>> Regards,
>>
>> Nirmoy
>>
>


More information about the amd-gfx mailing list