From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH v2 07/15] drm/i915: add MIPI DSI command sending routines Date: Tue, 20 Aug 2013 17:13:39 +0300 Message-ID: <20130820141339.GV7159@intel.com> References: <872e130dd3874d497264e47d8c4f9152a4c0f5cd.1376655793.git.jani.nikula@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by gabe.freedesktop.org (Postfix) with ESMTP id D9F19E70A6 for ; Tue, 20 Aug 2013 07:13:43 -0700 (PDT) Content-Disposition: inline In-Reply-To: <872e130dd3874d497264e47d8c4f9152a4c0f5cd.1376655793.git.jani.nikula@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Jani Nikula Cc: intel-gfx@lists.freedesktop.org, yogesh.mohan.marimuthu@intel.com List-Id: intel-gfx@lists.freedesktop.org On Fri, Aug 16, 2013 at 03:35:55PM +0300, Jani Nikula wrote: > v2: Rebase due to register bit definition change. > = > Signed-off-by: Jani Nikula > --- > drivers/gpu/drm/i915/Makefile | 1 + > drivers/gpu/drm/i915/intel_dsi_cmd.c | 442 ++++++++++++++++++++++++++++= ++++++ > drivers/gpu/drm/i915/intel_dsi_cmd.h | 109 +++++++++ > 3 files changed, 552 insertions(+) > create mode 100644 drivers/gpu/drm/i915/intel_dsi_cmd.c > create mode 100644 drivers/gpu/drm/i915/intel_dsi_cmd.h > = > diff --git a/drivers/gpu/drm/i915/Makefile b/drivers/gpu/drm/i915/Makefile > index b8449a8..8bffd29 100644 > --- a/drivers/gpu/drm/i915/Makefile > +++ b/drivers/gpu/drm/i915/Makefile > @@ -21,6 +21,7 @@ i915-y :=3D i915_drv.o i915_dma.o i915_irq.o \ > intel_display.o \ > intel_crt.o \ > intel_lvds.o \ > + intel_dsi_cmd.o \ > intel_bios.o \ > intel_ddi.o \ > intel_dp.o \ > diff --git a/drivers/gpu/drm/i915/intel_dsi_cmd.c b/drivers/gpu/drm/i915/= intel_dsi_cmd.c > new file mode 100644 > index 0000000..aca41c9 > --- /dev/null > +++ b/drivers/gpu/drm/i915/intel_dsi_cmd.c > @@ -0,0 +1,442 @@ > +/* > + * Copyright =A9 2013 Intel Corporation > + * > + * Permission is hereby granted, free of charge, to any person obtaining= a > + * copy of this software and associated documentation files (the "Softwa= re"), > + * to deal in the Software without restriction, including without limita= tion > + * the rights to use, copy, modify, merge, publish, distribute, sublicen= se, > + * and/or sell copies of the Software, and to permit persons to whom the > + * Software is furnished to do so, subject to the following conditions: > + * > + * The above copyright notice and this permission notice (including the = next > + * paragraph) shall be included in all copies or substantial portions of= the > + * Software. > + * > + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRE= SS OR > + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILI= TY, > + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SH= ALL > + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR = OTHER > + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISI= NG > + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER > + * DEALINGS IN THE SOFTWARE. > + * > + * Author: Jani Nikula > + */ > + > +#include > +#include > +#include > +#include