All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Korsnes <johan.korsnes@gmail.com>
To: linux-media@vger.kernel.org
Subject: [PATCH v3 0/9] media: vivid: add HDMI (dis)connect emulation
Date: Tue, 18 Jun 2019 09:37:17 +0200	[thread overview]
Message-ID: <20190618073726.61776-1-johan.korsnes@gmail.com> (raw)

This patch series makes vivid V4L2-compliant by adding HDMI (dis)-
connect emulation. This is done by by adding a custom display_present
control to vivid output HDMI devices, along with the following standard
controls:

-ctrl_tx_edid_present
-ctrl_tx_hotplug
-ctrl_tx_rxsense
-ctrl_rx_power_present

With regard to v4l2-compliance:
Series fixes the following 1/1 warning for HDMI input devices:
   -V4L2_CID_DV_RX_POWER_PRESENT not found for input n
Series fixes the following 2/2 warnings for HDMI ouptut devices:
   -V4L2_CID_DV_TX_HOTPLUG not found for output n
   -V4L2_CID_DV_TX_EDID_PRESENT not found for output n

Regards,
Johan

v2 -> v3:
- Various checkpatch.pl fixes. There are still some warnings as I am
  not sure those really apply. Please let me know if they do, and I
  will fix them ASAP.
- PTR_ERR_OR_ZERO -> PTR_ERR where applicable
- Fix broken check for cec adapter not NULL

v1 -> v2:
- New patch: media: vivid: reorder CEC allocation and control set-up
- vidioc_s_edid: Use bitmask (not boolean) value for bitmask controls
- vidioc_g_edid: Changed dev->output to edid->pad

Johan Korsnes (9):
      media: vivid: make input dv_timings per-input
      media: vivid: make input std_signal per-input
      media: vivid: add display present control
      media: vivid: add number of HDMI ports to device state
      media: vivid: add HDMI (dis)connect TX emulation
      media: vivid: add HDMI (dis)connect RX emulation
      media: vivid: reorder CEC allocation and control set-up
      media: vivid: add CEC support to display present ctrl
      media: vivid.rst: describe display present control

Documentation/media/v4l-drivers/vivid.rst     |   5 +
drivers/media/platform/vivid/vivid-core.c     | 120 ++++++++++------
drivers/media/platform/vivid/vivid-core.h     |  32 +++--
drivers/media/platform/vivid/vivid-ctrls.c    | 108 ++++++++++++--
.../media/platform/vivid/vivid-kthread-cap.c  |   8 +-
drivers/media/platform/vivid/vivid-vbi-cap.c  |  16 +--
drivers/media/platform/vivid/vivid-vid-cap.c  | 135 ++++++++++++------
.../media/platform/vivid/vivid-vid-common.c   |   8 +-
drivers/media/platform/vivid/vivid-vid-out.c  |   6 +
9 files changed, 312 insertions(+), 126 deletions(-)




             reply	other threads:[~2019-06-17 22:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-18  7:37 Johan Korsnes [this message]
2019-06-18  7:28 ` [PATCH v3 0/9] media: vivid: add HDMI (dis)connect emulation Hans Verkuil
2019-06-18  7:37 ` [PATCH v3 1/9] media: vivid: make input dv_timings per-input Johan Korsnes
2019-06-18  7:37 ` [PATCH v3 2/9] media: vivid: make input std_signal per-input Johan Korsnes
2019-06-18  7:37 ` [PATCH v3 3/9] media: vivid: add display present control Johan Korsnes
2019-06-18  7:37 ` [PATCH v3 4/9] media: vivid: add number of HDMI ports to device state Johan Korsnes
2019-06-18  7:37 ` [PATCH v3 5/9] media: vivid: add HDMI (dis)connect TX emulation Johan Korsnes
2019-06-18  7:37 ` [PATCH v3 6/9] media: vivid: add HDMI (dis)connect RX emulation Johan Korsnes
2019-06-18  7:37 ` [PATCH v3 7/9] media: vivid: reorder CEC allocation and control set-up Johan Korsnes
2019-06-18  7:37 ` [PATCH v3 8/9] media: vivid: add CEC support to display present ctrl Johan Korsnes
2019-06-18  7:37 ` [PATCH v3 9/9] media: vivid.rst: describe display present control Johan Korsnes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190618073726.61776-1-johan.korsnes@gmail.com \
    --to=johan.korsnes@gmail.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.