Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp474534pxj; Wed, 2 Jun 2021 04:02:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTGnECMRI7c+ZCZcU+5YSQiMx7QAQXisjhQWI8PS14HksAlKQeY6mh9DRgqGtLk8hVIALM X-Received: by 2002:a92:c569:: with SMTP id b9mr10231180ilj.3.1622631778445; Wed, 02 Jun 2021 04:02:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622631778; cv=none; d=google.com; s=arc-20160816; b=axjU7BehIVcogPGSYy/Zyzhfpnhq/RGrgw91v19HGQfvpuZFnHWgZPtuniLD7LQFNw xPIKuHiUzWOiy4lhOrt+P5wfJW/C7QTvlO0dGYEtumBAy/n7UnrZZ8I+dU9yAempmQID 6awuKMnlmeTgCWN9lWWa6n7hR3KkhOTkmL9guplFIAnNcu//fvJfpS48Dnio243NKEib 1avWWsEaOFlmvk6D/HbsK13OR8YlNgR8BGPctJzW38lmFdPGe5AaHbyidsWLv+dgyCp2 KGLpdZLjvQ1L0jaYhXxVRsB4Se9KhonrTOA9weMqVtxS5xnZr0QfbqUndO/5WiExsWMZ oTpg== 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=WNjP7qMxEirHcp2Ct9TPZEQGRivC2xWP5cKQCqQaiWs=; b=wzBaqsqusmFPa5Q74bZoFCNIOuVv2ko17Guh2/BfpcS/Xm5DoNtw6DPveuZvkeMJLp eGTazthIEZ2m9Bg+scTuZ1fnZabpbKSne1zrGRqrT0IuHeBuOScm400E7VO5xtTN5jFh gY8Exm23YJc9wRwaygOLSHXFMTSLnCmi3ZaRkpDu1j5DbC/uGpkexWojGtrIrhz4aN2Z SQPZAQKduyzvAH0+ubNJGAnbhtvzFMElOr7rV7XGfBLZ9vAfkG0ibLxAs+sHPPPGdvL0 jjtLgC+LFete/znqL5v/vN0WelxXF7t09wPQVvhAgTrext4vEop0srYEduyPr5UDfHvE 8cQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TJKit5pi; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k14si20573427ilu.10.2021.06.02.04.02.29; Wed, 02 Jun 2021 04:02:58 -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=@kernel.org header.s=k20201202 header.b=TJKit5pi; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231235AbhFBLDY (ORCPT + 99 others); Wed, 2 Jun 2021 07:03:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:40838 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbhFBLDX (ORCPT ); Wed, 2 Jun 2021 07:03:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9325C60FF2; Wed, 2 Jun 2021 11:01:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622631700; bh=X1r+/2vqrhf2eopgUmFN+gmnFQ6uhol2dVCw4nc+dR4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TJKit5piuyWTiZE2++rnwBc+NWnC2oVLAFRNuEEhQCVKac8lXQjlMiqUjfKJ+0+2g loDXAsOAAiNwUIewxgKX7kcLZgbBu2928pW7IbObJBT/qPH8uJ1pTyLoX+Cne1BGRP oQUlve0vN2S3bU9ECooK7eF3uPC7GbIvvsqSoCpCNvvvYE9DGtGqiVI19Qh3D6fyhJ DXO0D4CgfnUrVMnl5hWpukOKLvDe/wEGnDkz5qViZsH2e5EbY0zeY3/kd78I6XWlpd AYo6ZSaGnX6rpyBOM5GKVQX7N4xWngbhqqvmz9PvjA4tco2EykT2QndUrW/vAKy/z6 jNrq8I6s7Fh2A== Date: Wed, 2 Jun 2021 16:31:36 +0530 From: Vinod Koul To: Rob Clark Cc: Jeffrey Hugo , DTML , Jonathan Marek , David Airlie , MSM , lkml , Abhinav Kumar , Bjorn Andersson , Rob Herring , "open list:DRM PANEL DRIVERS" , Daniel Vetter , Dmitry Baryshkov , freedreno Subject: Re: [Freedreno] [RFC PATCH 00/13] drm/msm: Add Display Stream Compression Support Message-ID: References: <20210521124946.3617862-1-vkoul@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27-05-21, 16:30, Rob Clark wrote: > On Wed, May 26, 2021 at 8:00 AM Jeffrey Hugo wrote: > > On Tue, May 25, 2021 at 11:46 PM Vinod Koul wrote: > > Frankly, I don't like the MSM ACPI solution that I've seen on the laptops. > > The ACPI assumes the entire MDSS (including DSI parts) and GPU is one > > device, and ultimately handled by one driver. That driver needs to > > get a value from UEFI (set by the bootloader) that is the "panel id". > > Then the driver calls into ACPI (I think its _ROM, but I might be > > mistaken, doing this from memory) with that id. It gets back a binary > > blob which is mostly an xml file (format is publicly documented) that > > contains the panel timings and such. > > tbh, I kinda suspect that having a single "gpu" device (which also > includes venus, in addition to display, IIRC) in the ACPI tables is a > windowsism, trying to make things look to userspace like a single "GPU > card" in the x86 world.. but either way, I think the ACPI tables on > the windows arm laptops which use dsi->bridge->edp is too much of a > lost cause to even consider here. Possibly ACPI boot on these devices > would be more feasible on newer devices which have direct eDP out of > the SoC without requiring external bridge/panel glue. yeah that is always a very different world. although it might make sense to use information in tables and try to deduce information about the system can be helpful... > I'd worry more about what makes sense in a DT world, when it comes to > DT bindings. And do you have thoughts on that..? -- ~Vinod