Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751361AbbHPI4h (ORCPT ); Sun, 16 Aug 2015 04:56:37 -0400 Received: from mail-io0-f180.google.com ([209.85.223.180]:35093 "EHLO mail-io0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751007AbbHPI4e (ORCPT ); Sun, 16 Aug 2015 04:56:34 -0400 MIME-Version: 1.0 In-Reply-To: <1438784892-27888-3-git-send-email-Liviu.Dudau@arm.com> References: <1438784892-27888-1-git-send-email-Liviu.Dudau@arm.com> <1438784892-27888-3-git-send-email-Liviu.Dudau@arm.com> Date: Sun, 16 Aug 2015 09:56:33 +0100 Message-ID: Subject: Re: [PATCH 2/4] drm: Add support for ARM's HDLCD controller. From: Emil Velikov To: Liviu Dudau Cc: David Airlie , ML dri-devel , linux-arm-kernel@lists.infradead.org, Mark Rutland , Jon Medhurst , Arnd Bergmann , Pawel Moll , Ian Campbell , Catalin Marinas , Sudeep Holla , Will Deacon , "Linux-Kernel@Vger. Kernel. Org" , devicetree@vger.kernel.org, Rob Herring , Kumar Gala , Robin Murphy Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1315 Lines: 32 Hi Liviu, On 5 August 2015 at 15:28, Liviu Dudau wrote: > The HDLCD controller is a display controller that supports resolutions > up to 4096x4096 pixels. It is present on various development boards > produced by ARM Ltd and emulated by the latest Fast Models from the > company. > I believe there is a unofficial requirement(?) for new drm drivers to use atomic modesetting. Not 100% sure on this one though. The following drivers: tegra, msm, rcar-du, i915, and Daniel's blog [1] [2] cat provide some information on the topic. The driver seems to has has a bit of dead code guarded by HDLCD_*_UNDERRUN. Perhaps these macros should become build or runtime switch(es) ? Most DRM drivers do not threat dma, bus_error, vsync and/or underrun interrupts as debug functionality. They are of limited use in this driver, presently, yet the CONFIG_DEBUG_FS guard seems a bit strange imho. Cheers, Emil [1] http://blog.ffwll.ch/2014/11/atomic-modeset-support-for-kms-drivers.html [2] http://blog.ffwll.ch/2015/01/update-for-atomic-display-updates.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/