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

Christian König christian.koenig at amd.com
Tue Mar 3 15:30:29 UTC 2020


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.

regards,
Christian.

>
>
> Regards,
>
> Nirmoy
>



More information about the amd-gfx mailing list