]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu: Enable VCN_5_0_1 IP block
authorSonny Jiang <sonjiang@amd.com>
Sun, 13 Oct 2024 04:16:21 +0000 (00:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:29:50 +0000 (10:29 -0500)
Add VCN_5_0_1 IP block to kernel boot

Signed-off-by: Sonny Jiang <sonjiang@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index 60c36cc4adb123e92de323b7682cecfc40db05d0..949d74eff29465b12df862d8c1e00c09a9990d96 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Advanced Micro Devices, Inc.
+ * Copyright 2018-2024 Advanced Micro Devices, Inc. All rights reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
 #include "smuio_v13_0_6.h"
 #include "smuio_v14_0_2.h"
 #include "vcn_v5_0_0.h"
+#include "vcn_v5_0_1.h"
 #include "jpeg_v5_0_0.h"
 #include "jpeg_v5_0_1.h"
 
@@ -2368,6 +2369,7 @@ static int amdgpu_discovery_set_mm_ip_blocks(struct amdgpu_device *adev)
                        amdgpu_device_ip_block_add(adev, &jpeg_v5_0_0_ip_block);
                        break;
                case IP_VERSION(5, 0, 1):
+                       amdgpu_device_ip_block_add(adev, &vcn_v5_0_1_ip_block);
                        amdgpu_device_ip_block_add(adev, &jpeg_v5_0_1_ip_block);
                        break;
                default: