From c5941e68116ae6d3d8344b451169cf19abd5d824 Mon Sep 17 00:00:00 2001 From: chenyanxzhu Date: Fri, 20 Dec 2024 10:16:17 +0800 Subject: [PATCH] Use dgpu for codec when dual gpu case Tracked-On: OAM-128384 Signed-off-by: chenyanxzhu --- media_driver/linux/common/ddi/media_libva.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/media_driver/linux/common/ddi/media_libva.cpp b/media_driver/linux/common/ddi/media_libva.cpp index d349965a2..d5cb00a5a 100755 --- a/media_driver/linux/common/ddi/media_libva.cpp +++ b/media_driver/linux/common/ddi/media_libva.cpp @@ -1583,9 +1583,6 @@ static int DdiMedia_SelectIntelDevice() } if (strncmp(version->name, "i915", strlen("i915")) == 0) { intel_gpu_index = i; - drmFreeVersion(version); - close(temp); - break; } drmFreeVersion(version); close(temp);