Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2789737rwb; Sat, 24 Sep 2022 15:34:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7D+3TDCEOAlU9sZhTtPhD9HYOGjwVQDdiKmqdNH1LnbGM4LfJSJgjPCtEmWlRSEEWgD/Hu X-Received: by 2002:a17:906:dc8a:b0:781:3f5a:52c3 with SMTP id cs10-20020a170906dc8a00b007813f5a52c3mr12739228ejc.5.1664058871632; Sat, 24 Sep 2022 15:34:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664058871; cv=none; d=google.com; s=arc-20160816; b=nWLEU0j7/+4c0rpf9yOn/7lyaC8JDMW4p5Ut71J5mURH20l/DAbO0800VbiP/pFIyW c7fwp3h/f916l03W6AJoj5aQ08PcYsvLDkBVcxann0Ymg95ae2XweCLcQV/nNk/dG7I9 sXJrc0Jv/b/ObZUBEjVB0l5bOx9UxLrPa6P62sBjT4iRQ01rnuc7/nP4Ek0TWb4A+BTQ dlAO+1Ql8+iLILsNYjbLVQcfVFpf//9+pelZ0P83P9nPHmCuG+YL/2ul1Ue6cMqbtmgE QDBFC9XKX2YnY5fi8IVlKiW1YwuSauRPKFN4yg5g+kSJ/6kl1oXEWpBSGFcjYUhF1Gp8 Xe1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=vibURvDK8C9+axigLopCKC5jQEsrmsW5ulpcMBkfZGs=; b=u0Z67koJkI9+joelvC+da6NV5n/savRj3+357W2mG93DVLl/eRXT39F9H2pqSBgnYP 78Z2UAr/hpLoGy5Zp07WLePTF976OV+/cZZL/PtbVxsiSEuOIRX0KBXYHyV2qllELM/R aWsMUVEcm6wJ9iNUbcg6HQ+rem+S4FWiMsK3AiRdahgSZZIXIOBjjYJehKsucO8N2utx fbLl8URLk97WtrlV6qhR5goZOGRMt128CanvAQ19YMaYwlVeKVA101uNzytqOUxb4Ov7 4dbfNqgOqmo3XRc4pZnXemjidgHQ7U3yvbJvjBhE54lidIXoaD/B3+YFbwLfDfPPbnhw +g4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@connolly.tech header.s=protonmail header.b=ogp8N9s8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=connolly.tech Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f11-20020a056402194b00b004519cd16132si11523717edz.61.2022.09.24.15.34.04; Sat, 24 Sep 2022 15:34:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@connolly.tech header.s=protonmail header.b=ogp8N9s8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=connolly.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234032AbiIXWPf (ORCPT + 99 others); Sat, 24 Sep 2022 18:15:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234020AbiIXWPd (ORCPT ); Sat, 24 Sep 2022 18:15:33 -0400 Received: from mail-4323.proton.ch (mail-4323.proton.ch [185.70.43.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B3F7367B2 for ; Sat, 24 Sep 2022 15:15:32 -0700 (PDT) Date: Sat, 24 Sep 2022 22:15:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connolly.tech; s=protonmail; t=1664057730; x=1664316930; bh=vibURvDK8C9+axigLopCKC5jQEsrmsW5ulpcMBkfZGs=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=ogp8N9s8hO2Z1JgKo/5W0A0nXSZWm841x2LEGIK5ontx8mZj3iHofDM2FfcW0xXCA hQlBelr+s6pZsD3i5PbLgcFYDIfSMVJUjjhcYsZDs8mFyqvz7T2CIcpgLMRT794Nxu LTvjLCfBv2fMy9pyBBhE0KsVePuGee7jWTQvey28= To: Nia Espera , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org From: Caleb Connolly Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org Subject: Re: [PATCH 2/2] drivers: gpu: drm: remove support for sofef00 driver on s6e3fc2x01 panel Message-ID: In-Reply-To: <20220924203616.63325-3-a5b6@riseup.net> References: <20220924203616.63325-1-a5b6@riseup.net> <20220924203616.63325-3-a5b6@riseup.net> Feedback-ID: 10753939:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/09/2022 21:36, Nia Espera wrote: > Removes functionality from sofef00 panel driver which allowed it to > drive the s6e3fc2x01 panel > > Signed-off-by: Nia Espera Reviewed-by: Caleb Connolly > --- > drivers/gpu/drm/panel/Kconfig | 6 +++--- > drivers/gpu/drm/panel/panel-samsung-sofef00.c | 18 ------------------ > 2 files changed, 3 insertions(+), 21 deletions(-) > > diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfi= g > index ee62d5d8828a..62b9cb6acd05 100644 > --- a/drivers/gpu/drm/panel/Kconfig > +++ b/drivers/gpu/drm/panel/Kconfig > @@ -547,16 +547,16 @@ config DRM_PANEL_SAMSUNG_S6E8AA0 > =09select VIDEOMODE_HELPERS > > config DRM_PANEL_SAMSUNG_SOFEF00 > -=09tristate "Samsung sofef00/s6e3fc2x01 OnePlus 6/6T DSI cmd mode panels= " > +=09tristate "Samsung sofef00 OnePlus 6 DSI cmd mode panel" > =09depends on OF > =09depends on DRM_MIPI_DSI > =09depends on BACKLIGHT_CLASS_DEVICE > =09select VIDEOMODE_HELPERS > =09help > =09 Say Y or M here if you want to enable support for the Samsung AMOL= ED > -=09 command mode panels found in the OnePlus 6/6T smartphones. > +=09 command mode panel found in the OnePlus 6 smartphone. > > -=09 The panels are 2280x1080@60Hz and 2340x1080@60Hz respectively > +=09 The panel is 2280x1080@60Hz > > config DRM_PANEL_SAMSUNG_S6E3FC2X01 > =09tristate "Samsung s6e3fc2x01 OnePlus 6T DSI cmd mode panel" > diff --git a/drivers/gpu/drm/panel/panel-samsung-sofef00.c b/drivers/gpu/= drm/panel/panel-samsung-sofef00.c > index bd02af81a4fe..68e58b9b8c5c 100644 > --- a/drivers/gpu/drm/panel/panel-samsung-sofef00.c > +++ b/drivers/gpu/drm/panel/panel-samsung-sofef00.c > @@ -181,20 +181,6 @@ static const struct drm_display_mode enchilada_panel= _mode =3D { > =09.height_mm =3D 145, > }; > > -static const struct drm_display_mode fajita_panel_mode =3D { > -=09.clock =3D (1080 + 72 + 16 + 36) * (2340 + 32 + 4 + 18) * 60 / 1000, > -=09.hdisplay =3D 1080, > -=09.hsync_start =3D 1080 + 72, > -=09.hsync_end =3D 1080 + 72 + 16, > -=09.htotal =3D 1080 + 72 + 16 + 36, > -=09.vdisplay =3D 2340, > -=09.vsync_start =3D 2340 + 32, > -=09.vsync_end =3D 2340 + 32 + 4, > -=09.vtotal =3D 2340 + 32 + 4 + 18, > -=09.width_mm =3D 68, > -=09.height_mm =3D 145, > -}; > - > static int sofef00_panel_get_modes(struct drm_panel *panel, struct drm_= connector *connector) > { > =09struct drm_display_mode *mode; > @@ -327,10 +313,6 @@ static const struct of_device_id sofef00_panel_of_ma= tch[] =3D { > =09=09.compatible =3D "samsung,sofef00", > =09=09.data =3D &enchilada_panel_mode, > =09}, > -=09{ // OnePlus 6T / fajita > -=09=09.compatible =3D "samsung,s6e3fc2x01", > -=09=09.data =3D &fajita_panel_mode, > -=09}, > =09{ /* sentinel */ } > }; > MODULE_DEVICE_TABLE(of, sofef00_panel_of_match); > -- > 2.37.3 > -- Kind Regards, Caleb