drm/amdgpu: keep amdgpu_ctx_mgr in ctx structure
authorJames Zhu <James.Zhu@amd.com>
Mon, 15 Aug 2022 21:12:01 +0000 (17:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:59:37 +0000 (09:59 -0400)
commitc30e326e488ec43f6b0931f16ddba16a3370ed4a
tree87796a88902f0d5e250f8696aa51d7023c9cc48b
parentd425c6f48b189f0a5a7c7d26980fd7a2114fb35d
drm/amdgpu: keep amdgpu_ctx_mgr in ctx structure

Keep amdgpu_ctx_mgr in ctx structure to track fpriv.

v2: add missing fpriv declaration lost in rebase

Signed-off-by: James Zhu <James.Zhu@amd.com>
Acked-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h