]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/gfx: set cg flags to enter/exit safe mode
authorJane Jian <Jane.Jian@amd.com>
Wed, 15 Mar 2023 10:59:59 +0000 (18:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 10:35:12 +0000 (12:35 +0200)
commit8c1e247907b999fbd3bbcb0ad2074949fb0f55ae
treeb457fbc3069e4acaafe7d10fbd3b46fa6bc64732
parentb4efb6af93ca755f5469114adfd7f26bb944962c
drm/amdgpu/gfx: set cg flags to enter/exit safe mode

[ Upstream commit e06bfcc1a1c41bcb8c31470d437e147ce9f0acfd ]

sriov needs to enter/exit safe mode in update umd p state
add the cg flag to let it enter or exit while needed

Signed-off-by: Jane Jian <Jane.Jian@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c