Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934362AbcK2SnO (ORCPT ); Tue, 29 Nov 2016 13:43:14 -0500 Received: from anholt.net ([50.246.234.109]:46140 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754834AbcK2SmI (ORCPT ); Tue, 29 Nov 2016 13:42:08 -0500 From: Eric Anholt To: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, Eric Anholt Subject: [PATCH 0/6] drm/vc4: VEC (SDTV) output support Date: Tue, 29 Nov 2016 10:41:56 -0800 Message-Id: <20161129184202.10640-1-eric@anholt.net> X-Mailer: git-send-email 2.10.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1860 Lines: 39 Here's a series from Boris for enabling SDTV output on VC4. There are two other patches to the clk subsystem necessary to get it working, which I'm in the process of reviewing. I've tested it on composite input of a monitor I had laying around, and it's basically working. Booting with the firmware bringing up SDTV, I get an image "fine" (to the extent that SDTV is ever fine). If I boot with firmware bringing up HDMI and switch to VEC later, then the image is gray, but the clock got set to 106Mhz instead of 108 so this is probably not a DRM bug. This series was entirely written by Boris, but I've got the permission to send it out so it's being routed through me. Boris Brezillon (6): drm/vc4: Fix ->clock_select setting for the VEC encoder drm: Add TV connector states to drm_connector_state drm/vc4: Add support for the VEC (Video Encoder) IP drm/vc4: Document VEC DT binding ARM: bcm/dt: Add VEC node in bcm283x.dtsi ARM: bcm/dt: Enable the VEC IP on all RaspberryPi boards .../devicetree/bindings/display/brcm,bcm-vc4.txt | 14 + arch/arm/boot/dts/bcm2835-rpi.dtsi | 5 + arch/arm/boot/dts/bcm283x.dtsi | 8 + drivers/gpu/drm/drm_atomic.c | 50 ++ drivers/gpu/drm/vc4/Makefile | 1 + drivers/gpu/drm/vc4/vc4_crtc.c | 38 +- drivers/gpu/drm/vc4/vc4_debugfs.c | 1 + drivers/gpu/drm/vc4/vc4_drv.c | 1 + drivers/gpu/drm/vc4/vc4_drv.h | 6 + drivers/gpu/drm/vc4/vc4_regs.h | 3 +- drivers/gpu/drm/vc4/vc4_vec.c | 657 +++++++++++++++++++++ include/drm/drm_connector.h | 32 + 12 files changed, 800 insertions(+), 16 deletions(-) create mode 100644 drivers/gpu/drm/vc4/vc4_vec.c -- 2.10.2