mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 07:29:12 -04:00
drm/amdgpu/smu11.0: add missing IP version check
Add missing check in smu_v11_0_init_display_count(),
Fixes: af3b89d3a6 ("drm/amdgpu/smu11.0: convert to IP version checking")
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -755,6 +755,7 @@ int smu_v11_0_init_display_count(struct smu_context *smu, uint32_t count)
|
||||
*/
|
||||
if (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 11) ||
|
||||
adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 5, 0) ||
|
||||
adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 12) ||
|
||||
adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 13))
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user