Message ID | 20181005133745.8593-1-hverkuil@xs4all.nl (mailing list archive) |
---|---|
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9A12A112B for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 5 Oct 2018 13:37:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 877C6291F5 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 5 Oct 2018 13:37:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7C0652921C; Fri, 5 Oct 2018 13:37:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 35217291F5 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 5 Oct 2018 13:37:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B3C876E7D0; Fri, 5 Oct 2018 13:37:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from lb3-smtp-cloud9.xs4all.net (lb3-smtp-cloud9.xs4all.net [194.109.24.30]) by gabe.freedesktop.org (Postfix) with ESMTPS id 66E69895C8 for <dri-devel@lists.freedesktop.org>; Fri, 5 Oct 2018 13:37:51 +0000 (UTC) Received: from tschai.fritz.box ([212.251.195.8]) by smtp-cloud9.xs4all.net with ESMTPA id 8QIbgWz5xwD188QIfg1RiT; Fri, 05 Oct 2018 15:37:49 +0200 From: Hans Verkuil <hverkuil@xs4all.nl> To: linux-media@vger.kernel.org Subject: [PATCHv2 0/6] cec/adv/cec-gpio: fixes and new status flags Date: Fri, 5 Oct 2018 15:37:39 +0200 Message-Id: <20181005133745.8593-1-hverkuil@xs4all.nl> X-Mailer: git-send-email 2.18.0 X-CMAE-Envelope: MS4wfJ/9SWMf7arKEB7cY+lW+OuheoU1PwBlJL4mU9NsTBPI8yTWjvSfvVZqk/Xuvy+MBe0Vjc38/Q0heWA7JV1j4dJX4Mu6/dpFmaPZACe/v+jCgoG/Mwsj SrCwtTE/9Im7pcZ0Bl3td5Vcrlp+DLSUZv/kq43keSiSgPjyqooU5l2WwO6EkGXLFlrCNmhX1sS7/9qYfhY+jMzgwS8XsxGV0GOY7TKrPmhrqz8dIfdiRpzT X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: dri-devel@lists.freedesktop.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
cec/adv/cec-gpio: fixes and new status flags
|
expand
|
From: Hans Verkuil <hans.verkuil@cisco.com> This patch series replaces patches 1-3 of: https://www.spinics.net/lists/linux-media/msg141216.html Patches 4 & 5 of that series remain as-is and are omap4 bug fixes. This patch series can be applied to the media subsystem since it has no drm changes. Changes since the previous patch series are: - Added a new patch improving the documentation of the cec_transmit_done function to hopefully avoid the omap4 bug in the future. - Add a new patch that fixes a bug in the Signal Free Time calculation of the CEC framework. This affects hardware that relies on the framework for this value. This bug could basically cause a 'denial of service' situation on the CEC bus. Found with the cec-compliance adapter test, which does really nasty things :-) - Improve cec-gpio to fixup the Signal Free Time if a transmit is delayed because a new message was received first (thus requiring a lower SFT). All patches are meant for 4.20, and patches 2-5 will get a CC to stable for 4.18 and up. The adv patches could go back to older kernels, but it's not very important. I'll post a pull request for this series soon. Regards, Hans Hans Verkuil (6): cec-core.rst: improve cec_transmit_done documentation cec: add new tx/rx status bits to detect aborts/timeouts adv7604: when the EDID is cleared, unconfigure CEC as well adv7842: when the EDID is cleared, unconfigure CEC as well cec: fix the Signal Free Time calculation cec-gpio: select correct Signal Free Time Documentation/media/kapi/cec-core.rst | 4 + .../media/uapi/cec/cec-ioc-receive.rst | 25 ++++- drivers/media/cec/cec-adap.c | 92 +++++-------------- drivers/media/cec/cec-pin.c | 20 ++++ drivers/media/i2c/adv7604.c | 4 +- drivers/media/i2c/adv7842.c | 4 +- include/media/cec.h | 2 +- include/uapi/linux/cec.h | 3 + 8 files changed, 82 insertions(+), 72 deletions(-)