]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amdgpu: move PX checking into amdgpu_device_ip_early_init
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Jan 2022 18:42:30 +0000 (13:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:13 +0000 (13:57 +0200)
commitb83fefd5477bc0491cd5cd62ae35c1c3d5f8f38f
tree3ec782d8be6ba48dcc9eeb52c416d89db454b4e0
parent0e3dd4fba4b1ccfaac60194950df6a760576c608
drm/amdgpu: move PX checking into amdgpu_device_ip_early_init

commit 901e2be20dc55079997ea1885ea77fc72e6826e7 upstream.

We need to set the APU flag from IP discovery before
we evaluate this code.

Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Mario Limonciello <Mario.Limonciello@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c