On 2022-08-02 15:55, Shashank Sharma wrote: > This patch adds: > - A new input parameter "flags" in the amdgpu_ctx_create2 call. > - Some new flags defining workload type hints. > - Some change in the caller function of amdgpu_ctx_create2, to > accomodate this new parameter. > > The idea is to pass the workload hints while context creation, so > that kernel GPU scheduler can pass this information to GPU FW, which in > turn can adjust the GPU characterstics as per the workload type. > > Signed-off-by: Shashank Sharma <shashank.sharma@xxxxxxx> > Cc: Alex Deucher <alexander.deucher@xxxxxxx> > Cc: Marek Olsak <marek.olsak@xxxxxxx> > Cc: Christian Koenig <christian.koenig@xxxxxxx> > Cc: Amarnath Somalapuram <amaranath.somalapuram@xxxxxxx> > --- > amdgpu/amdgpu.h | 2 ++ > amdgpu/amdgpu_cs.c | 5 ++++- > include/drm/amdgpu_drm.h | 10 +++++++++- See include/drm/README on how to handle changes to include/drm/*_drm.h . Also, libdrm changes are now reviewed and merged as GitLab merge requests: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests -- Earthling Michel Dänzer | https://redhat.com Libre software enthusiast | Mesa and Xwayland developer