From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 06C2F3C3452 for ; Tue, 5 May 2026 06:14:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777961643; cv=none; b=H7FD/tpZn+2TV/lR4hKWWgiRQLvPW3J8VQuKOGAX1Ekd62wnN57F12Ms77IpWgHAu4n7WOhYtIpedi/rKD9cuQlccTUrtTdYJdt94FI24EkP8XJS7+4hHntzi4nDZFJBkNroNR5INtCYe7q9TUuxdtZif1PrROFdgLsdii1CC5U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777961643; c=relaxed/simple; bh=CRbTs5UgcIlx5aE76EvpRjynzotkkCEf8cZ8dFsdk68=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=avg8rL9S23U7Jyq8XxXkR0WUZ/7O0dGtvuNxvr4iVJihebRAjfihkhyYPRLX28z66nL9yRPtorpr1dDO0nZtB+VkhgcQBIM36VMbp3SyVc0NzBsk3WnILU/Znd7mtKrxoAyugHE7Tek/h/qX7NrLe12K+2we3nPex/exFEU6GJM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=avd9/JIo; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="avd9/JIo" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1777961641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6sUm+tYMbIZeehN9wnhHAZ+AqsmFHAZfxn1W+83HFwY=; b=avd9/JIokXqxpQ/2TSHBn3O/76opwicAeC9XwnvdF9QkCI7pLZTrmFe/9LIexd+UDlvzFK 25FyNQpgePLbqaXaGQxjaqU9rUpK0RjKkmYn+aFtn9bNla3u7ZZPgauFUh2nC4C6Lwv3LU 6qlVwRzN4+1lgL793Dxeu/qOYLA+kI4= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-315-Il8YqnwvN8CTN6K09-7T6w-1; Tue, 05 May 2026 02:13:59 -0400 X-MC-Unique: Il8YqnwvN8CTN6K09-7T6w-1 X-Mimecast-MFC-AGG-ID: Il8YqnwvN8CTN6K09-7T6w_1777961638 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 8314D19560A1; Tue, 5 May 2026 06:13:56 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.67.32.119]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 0DAED19560A6; Tue, 5 May 2026 06:13:51 +0000 (UTC) From: Kate Hsuan To: Mauro Carvalho Chehab , Hans de Goede , Hans Verkuil , Sakari Ailus , Serin Yeh Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Kate Hsuan Subject: [PATCH v2 1/2] media: ipu-bridge: Add DMI information of Lenovo X9 to the image upside-down list Date: Tue, 5 May 2026 14:13:26 +0800 Message-ID: <20260505061327.286700-2-hpa@redhat.com> In-Reply-To: <20260505061327.286700-1-hpa@redhat.com> References: <20260505061327.286700-1-hpa@redhat.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 The Lenovo X9 has an upside-down-mounted Sony IMX471 sensor so the image was displayed upside-down. Add the DMI information of Lenovo X9 to resolve the issue. Signed-off-by: Kate Hsuan --- drivers/media/pci/intel/ipu-bridge.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/media/pci/intel/ipu-bridge.c b/drivers/media/pci/intel/ipu-bridge.c index 32cc95a766b7..1c3364451fa3 100644 --- a/drivers/media/pci/intel/ipu-bridge.c +++ b/drivers/media/pci/intel/ipu-bridge.c @@ -118,6 +118,20 @@ static const struct dmi_system_id upside_down_sensor_dmi_ids[] = { }, .driver_data = "OVTI02C1", }, + { + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X9-14"), + }, + .driver_data = "SONY471A", + }, + { + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X9-15"), + }, + .driver_data = "SONY471A", + }, {} /* Terminating entry */ }; -- 2.54.0