[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240405141411.1807189-1-panikiel@google.com>
Date: Fri, 5 Apr 2024 14:13:55 +0000
From: "Paweł Anikiel" <panikiel@...gle.com>
To: kieran.bingham@...asonboard.com, mchehab@...nel.org,
hverkuil-cisco@...all.nl, tharvey@...eworks.com,
niklas.soderlund@...natech.se, prabhakar.csengg@...il.com,
charles-antoine.couret@...vision.fr, thierry.reding@...il.com,
jonathanh@...dia.com, skomatineni@...dia.com, luca.ceresoli@...tlin.com
Cc: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
chromeos-krk-upstreaming@...gle.com,
"Paweł Anikiel" <panikiel@...gle.com>
Subject: [PATCH 00/16] Switch subdev dv timing callbacks to pad ops
Currently, subdev dv timing calls (i.e. g/s/query_dv_timings) are video
ops without a pad argument. This is a problem if the subdevice can have
different dv timings for each pad (e.g. a DisplayPort receiver with
multiple virtual channels).
This patchset changes subdev dv timing callbacks to include a pad
argument, and moves them from video to pad ops. All the affected
drivers are updated to use the new pad ops version.
The affected drivers were updated in a way that mathes how they deal
with the pad argument in other callbacks (mainly enum_dv_timings,
dv_timings_cap, get/set_edid).
This was originally a part of a larger patchset:
https://lore.kernel.org/lkml/20240221160215.484151-2-panikiel@google.com/
Paweł Anikiel (16):
media: v4l2-subdev: Add pad versions of dv timing subdev calls
media: i2c: adv748x: Switch dv timing callbacks to pad ops
media: i2c: adv7511: Switch dv timing callbacks to pad ops
media: i2c: adv7604: Switch dv timing callbacks to pad ops
media: i2c: adv7842: Switch dv timing callbacks to pad ops
media: i2c: tc358743: Switch dv timing callbacks to pad ops
media: i2c: tda1997x: Switch dv timing callbacks to pad ops
media: i2c: ths7303: Switch dv timing callbacks to pad ops
media: i2c: ths8200: Switch dv timing callbacks to pad ops
media: i2c: tvp7002: Switch dv timing callbacks to pad ops
media: spi: gs1662: Switch dv timing callbacks to pad ops
media: cobalt: Use pad variant of dv timing subdev calls
media: rcar-vin: Use pad variant of dv timing subdev calls
media: vpif_capture: Use pad variant of dv timing subdev calls
media: tegra-video: Use pad variant of dv timing subdev calls
media: v4l2-subdev: Remove non-pad dv timing callbacks
drivers/media/i2c/adv748x/adv748x-hdmi.c | 16 ++++----
drivers/media/i2c/adv7511-v4l2.c | 14 +++++--
drivers/media/i2c/adv7604.c | 14 +++----
drivers/media/i2c/adv7842.c | 25 ++++++++----
drivers/media/i2c/tc358743.c | 23 +++++++----
drivers/media/i2c/tda1997x.c | 12 +++---
drivers/media/i2c/ths7303.c | 8 +++-
drivers/media/i2c/ths8200.c | 14 +++++--
drivers/media/i2c/tvp7002.c | 26 +++++++++----
drivers/media/pci/cobalt/cobalt-v4l2.c | 12 +++---
.../platform/renesas/rcar-vin/rcar-v4l2.c | 9 +++--
.../media/platform/ti/davinci/vpif_capture.c | 4 +-
drivers/media/spi/gs1662.c | 21 +++++++---
drivers/media/v4l2-core/v4l2-subdev.c | 39 +++++++++++++++++--
drivers/staging/media/tegra-video/vi.c | 12 +++---
include/media/v4l2-subdev.h | 28 ++++++-------
16 files changed, 183 insertions(+), 94 deletions(-)
--
2.44.0.478.gd926399ef9-goog
Powered by blists - more mailing lists