Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3195475pxj; Mon, 10 May 2021 21:57:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSb6bh5hZpHLF0bZh6pj14qTOxDC17s0tyO30ap8W3COB7SL+pQmhSy3lf59j2wMtkVkjO X-Received: by 2002:a17:906:58cd:: with SMTP id e13mr6448453ejs.207.1620709061247; Mon, 10 May 2021 21:57:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620709061; cv=none; d=google.com; s=arc-20160816; b=ckg5EwJ6VxR7N/6WokLsPeIflvGL4mKxkfZsoLZwP9hkDg6o28IBvaSz7IpoD/aBDn qDFduMRbuAv9HviMcIrBgS7LIj0pkJzwCEwevQYdJSRdkf/0sA0/EOudVe5z4LWtTmWm EHcwt1rg96zHo5118c0JD9ww2yhGwCJNVqkY15KN6B9G3O/bfk0l5MTwO6WU8M92i0aF PO0FKCV0TOJMF1t5QMOn9PIS+q7lFn5dXOK/sElwR3xX1sU3n5AHmfwpBmNMJEnYduYt UhUWerfezlpcYr+ZT1QAci30ieiElSjaZFEFI4ojDTKmhFccc+UuegpZkfQGlbT2lYb7 pDrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LRkUu5LCFvquDlyLgAggMIQvj0PMUIKV3fzj8HPK4n8=; b=RZtxJ+CURm+6G1R81ev0rPA7AwAnsR4iqq1x6vP2nRogMH0k7MK5dNXTIclnERdUDm qyAwLQHMpV8tNrr3louEg+elpvvOp/JjkcMaxvu5v/gTYHg5GD1bLXb+fRAz+L2m3yNA IrPr7+OfQ4Kp7s/Xe+SE8kdFSEldko9KzeHUvChVr9d+cDG7flqLS2Wn5cDY54iu+JTa NNksbakXGcmBdD2hQQaLa/ngl9r+nAx9O3+K1b0atTixFSo9sOJw8UnKA8ZKhBRGN8l7 hbRV7kgpey4WKAwV9k+/y3cEouDA9CLCpunZjvpFjK/IEnPhDR/CX59E2Xq0UbQACJHw CVBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Qv5FC1Qu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d26si17589300edr.567.2021.05.10.21.57.18; Mon, 10 May 2021 21:57:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Qv5FC1Qu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230308AbhEKE5R (ORCPT + 99 others); Tue, 11 May 2021 00:57:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230295AbhEKE5O (ORCPT ); Tue, 11 May 2021 00:57:14 -0400 Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FAACC061761 for ; Mon, 10 May 2021 21:55:54 -0700 (PDT) Received: by mail-ot1-x32a.google.com with SMTP id d25-20020a0568300459b02902f886f7dd43so3053592otc.6 for ; Mon, 10 May 2021 21:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=LRkUu5LCFvquDlyLgAggMIQvj0PMUIKV3fzj8HPK4n8=; b=Qv5FC1Qu1CtsXR1UyCXrkd3H3IdtGC0FvhcKvPZ2AVZy6EW/FOgLXMLu+gyFmPcicr tbGyiy8k25+sfaBK0EQBbMtgKmjrgvFtrASptwxobVuTYK/ju6Ge/V0GrQ6tqRS+6Aj+ N73461M8vfuTpjuSyUqtPHVSa2JKd8j9MwOsgPmHkTF/PgG66p1gQy3fIrRMvzDgBesy nq3i75AVJNhoPnPxj0DwICnLO9LRd6JM8HWSNkXgXQ/UWUfq3xada1j8Rk9k+EkexBKl fim5b9j/oBKZveH8XAiSoCM9yyuyw4IIWc3RWnR/9OOBEer3SUh7sXV7QIIDTyqMKLau pcew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=LRkUu5LCFvquDlyLgAggMIQvj0PMUIKV3fzj8HPK4n8=; b=E1cSdZv8PatZoBGu8DMqqkmHUlN9cvscRi5oPJohH5ljIhKo/tIwwNecpykJQgwo8r +MO5FaOT7DDNJHhHZl+qMvLLVCCwpRIFNdUSv4bpj7kPKJUPAq9Omro8C/ZmXX8wr0c5 ZWXYlzc1GeXprFo556OYmnBmO8EDeTt+bAaANYdb+pKjqEGZq9OydhiM/FGV/RsHevPQ adiJvWxJw1GKNBBvR24weVDo/DNeVr3F1pxFpWB0nRRIDJ8cPVgpXbvulCvQmK8tHBbf cvU/qY4zX+xKJCsosR+GNv918h+bMfNeetQD2gifJ1RxGxfujfH8kfE7cRN/VOZCngiS d4vA== X-Gm-Message-State: AOAM532cqYToVmbVC4YGdSn3xQ7FHQibGBRNhefhRqqtz7LgRGtLNyt4 4xp+b1yG/jgjlmF43IMo7m9avA== X-Received: by 2002:a9d:721b:: with SMTP id u27mr15693822otj.95.1620708954195; Mon, 10 May 2021 21:55:54 -0700 (PDT) Received: from yoga ([2607:fb90:e623:42c1:10df:adff:fec2:f1d]) by smtp.gmail.com with ESMTPSA id x18sm3024293oix.28.2021.05.10.21.55.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 21:55:53 -0700 (PDT) Date: Mon, 10 May 2021 23:55:50 -0500 From: Bjorn Andersson To: sbillaka@codeaurora.org Cc: Rob Clark , Dmitry Baryshkov , "open list:DRM DRIVER FOR MSM ADRENO GPU" , "open list:DRM DRIVER FOR MSM ADRENO GPU" , freedreno , open list , Sean Paul , Stephen Boyd , Kalyan Thota , Abhinav Kumar , Douglas Anderson , Kuogee Hsieh , Krishna Manikandan Subject: Re: [PATCH v1 0/3] Add support for next gen eDP driver on SnapDragon Message-ID: <20210511045550.GL2484@yoga> References: <1620202579-19066-1-git-send-email-sbillaka@codeaurora.org> <3398f9a1f985ccd6bb6a44646f7bea24@codeaurora.org> <3d96a5be6c6f0140b738a302befc25b5@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3d96a5be6c6f0140b738a302befc25b5@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 10 May 07:16 CDT 2021, sbillaka@codeaurora.org wrote: > On 2021-05-06 20:32, Rob Clark wrote: > > On Wed, May 5, 2021 at 11:47 PM wrote: > > > > > > On 2021-05-05 15:31, Dmitry Baryshkov wrote: > > > > Hi, > > > > > > > > On Wed, 5 May 2021 at 11:17, Sankeerth Billakanti > > > > wrote: > > > >> > > > >> These patches add support for the next generation eDP driver on > > > >> SnapDragon > > > >> with dpu support. The existing eDP driver cannot support the new eDP > > > >> hardware. So, to maintain backward compatibility, the older eDP driver > > > >> is > > > >> moved to v200 folder and the new generation eDP driver is added in > > > >> the v510 folder. > > > > > > > > What exactly does this version correspond to? > > > > I assume that v510 corresponds to sdmshrike/sc8180x. Is it right? > > > [Sankeerth] This is for sc7280. > > > > > > > Is it really so specific, or just v2/v5 would be enough? Not to > > > > mention that this is the MDP/ version, while other blocks tend to use > > > > block-specific versions/ids. > > > [Sankeerth] I can rename it as edp-v1 and edp-v2. Edp v1 is very old > > > chip and there is considerable HW delta between v1 and v2. So, we want > > > to separate the driver. We followed similar model for DPU driver > > > where, > > > MDP4, MDP5 and DPU have separate folders. EDP v1 belongs to MDP4 > > > generation. > > > > Bjorn brought up the idea of just dropping the existing drm/msm/edp.. > > since the efforts to upstream the platform it worked on (8084?) > > fizzled out, I don't think there is any device which uses it. > > > > But it does sound like edp is a subset of the the newer dp driver, so > > seems sort of like the better approach would be to add edp support to > > dp. I believe Bjorn has something based on this approach which is > > working for sc8280 (although not sure if it is in shape to post > > patches yet) > > > > BR, > > -R > Hi Rob, > I will explore to integrate native eDP driver as part of DP driver. Will > follow up with new patchsets. > > Hi Dmitry, > I will move the eDP phy to qmp drivers folder in the new patchsets so that > it can reuse the dp core driver. > Hi Sankeerth, I've been working on eDP support for sc8180x recently, which afaict is identical to sc7280 in this regard. I finally got the patches cleaned up and posted here: https://lore.kernel.org/linux-arm-msm/20210511042043.592802-1-bjorn.andersson@linaro.org/T/#t https://lore.kernel.org/linux-arm-msm/20210511041930.592483-1-bjorn.andersson@linaro.org/T/#t My initial patches added widebus support, rather than disabling it. But those patches needs a little bit more polishing - and I finally figured was able to disable the feature. So I will get back to this. There's currently a few seconds delay on plug detection, so this needs to be investigated further and I haven't looked at backlight handling yet. Regards, Bjorn