From nobody Sun Feb 8 22:21:42 2026 Received: from mx.gpxsee.org (mx.gpxsee.org [37.205.14.76]) (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 379FD335BA; Wed, 29 Oct 2025 14:12:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=37.205.14.76 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761747179; cv=none; b=o3TBcYbQ1jxGLRzcJIkAYPfZ86plLijg5tZTqtWLkylShC9nIOmxuwACaszGbaNddpsH9ij2JZl+LrUUyNLbqznuzrO8KwMWfTBHdyffytqQF/lFhi14adLF3Wm9Fw4AG6Odj/iriXtpaEAaUKj8rAP1m/yCS6Zoqb2B/1IG+tE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761747179; c=relaxed/simple; bh=ttthNOiUh+SLcQSsBtvACMgmyn7cMECOh1rlFqgb4wA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=PbGmygmbRghtwXm0J5xTrLZQ6FcxP7+g1D4/C8putpPA5iT7ZR5bYvGHyYW6T+m0UTik1pahaf8cYszKW67Zd0L1Wrh5mSUQOuLJ/QFmsEicgPVUWKCVFSuwJKeHvbvZ5zK8PFI7XjnmfRaNo7RU9AmIbQ+Fr/eeYzdVGgprwNg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gpxsee.org; spf=pass smtp.mailfrom=gpxsee.org; arc=none smtp.client-ip=37.205.14.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gpxsee.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gpxsee.org Received: from localhost (unknown [62.77.71.229]) by mx.gpxsee.org (Postfix) with ESMTPSA id 7AF7F48488; Wed, 29 Oct 2025 15:12:50 +0100 (CET) From: tumic@gpxsee.org To: Mauro Carvalho Chehab , Hans Verkuil Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Martin=20T=C5=AFma?= Subject: [PATCH v2] media: pci: mgb4: Fix DV capabilities Date: Wed, 29 Oct 2025 15:12:33 +0100 Message-ID: <20251029141233.3643-1-tumic@gpxsee.org> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Martin T=C5=AFma Use the same value (4096) for the maximum height as used for width. The HW limits are a 4K video, but the orientation does not matter. Fixes issues with some portrait oriented Audi displays that exceed the old height value (2160). Signed-off-by: Martin T=C5=AFma --- drivers/media/pci/mgb4/mgb4_vin.c | 4 ++-- drivers/media/pci/mgb4/mgb4_vout.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/pci/mgb4/mgb4_vin.c b/drivers/media/pci/mgb4/mgb= 4_vin.c index 42c327bc50e1..4b38076486ff 100644 --- a/drivers/media/pci/mgb4/mgb4_vin.c +++ b/drivers/media/pci/mgb4/mgb4_vin.c @@ -64,10 +64,10 @@ static const struct mgb4_i2c_kv gmsl_i2c[] =3D { static const struct v4l2_dv_timings_cap video_timings_cap =3D { .type =3D V4L2_DV_BT_656_1120, .bt =3D { - .min_width =3D 320, + .min_width =3D 240, .max_width =3D 4096, .min_height =3D 240, - .max_height =3D 2160, + .max_height =3D 4096, .min_pixelclock =3D 1843200, /* 320 x 240 x 24Hz */ .max_pixelclock =3D 530841600, /* 4096 x 2160 x 60Hz */ .standards =3D V4L2_DV_BT_STD_CEA861 | V4L2_DV_BT_STD_DMT | diff --git a/drivers/media/pci/mgb4/mgb4_vout.c b/drivers/media/pci/mgb4/mg= b4_vout.c index c179c425e167..fd93fbbaf755 100644 --- a/drivers/media/pci/mgb4/mgb4_vout.c +++ b/drivers/media/pci/mgb4/mgb4_vout.c @@ -44,10 +44,10 @@ static const struct mgb4_i2c_kv fpdl3_i2c[] =3D { static const struct v4l2_dv_timings_cap video_timings_cap =3D { .type =3D V4L2_DV_BT_656_1120, .bt =3D { - .min_width =3D 320, + .min_width =3D 240, .max_width =3D 4096, .min_height =3D 240, - .max_height =3D 2160, + .max_height =3D 4096, .min_pixelclock =3D 1843200, /* 320 x 240 x 24Hz */ .max_pixelclock =3D 530841600, /* 4096 x 2160 x 60Hz */ .standards =3D V4L2_DV_BT_STD_CEA861 | V4L2_DV_BT_STD_DMT | base-commit: ea299a2164262ff787c9d33f46049acccd120672 --=20 2.51.0