Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp619698ybt; Wed, 17 Jun 2020 09:32:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/xV+n0jP6EXQ9ZAxdSPG5RUMuJ/dY7dcBCgr41dOGb+RU3rZAFKjYCKLhdVIPNTNKMOqQ X-Received: by 2002:aa7:d6d0:: with SMTP id x16mr8287199edr.175.1592411543830; Wed, 17 Jun 2020 09:32:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592411543; cv=none; d=google.com; s=arc-20160816; b=avdqsMorA3KqlXM6O2Ox5Od3Eyq6gYm0QheSH4YfBd+NEjTQa6U4EqKpQkp9WURscZ KTtVyVjgqNyOqlFV2ufic4LTg3wmJl+Y+3ZX6Y6Z+EXmgLWqh+EPvZVikx+FVtdCEJ00 0VKX8e65MYUqxSSI2BTBVted/P31ChxuuUJmGn15f6ubxEy8RGLhG2ZooripYgVLBxu9 gJ5REfOZEz4UXNqarpBxBBZuqcHoRwYBu58T56gkXugxN0dqEf4VFOWOhvZfDy5eMlkH qx+EVyHqCdWco3Fjy5Hwuzgi+TxV3DldxnamLzw6k3CwbjqCu8u6hg7m/1F7dhSSNB50 8hGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=tBdtd4BbSytzH+yn8Qia+tXk6Gs+WeAHP5EfpLtwsp8=; b=L4z2uI3cXSYcCd81+FO68tQpAOmp5qcsKqAHTu8jsh7RiwoFl2ZcEwFVgOgsofhxxz LpgGNs0wgiFqFaEStCm8/09fT8EoTXahxIS/I/Z/Nf5VH5ZXI+qSiqEiF3pCiTiokbKs xb5+oz+OdrNBNGhnuKOxslplZH/+v9BWlxNcZ++GLhxAjaXOWNl0Zd3LzLafSithjpia KdV3ZqUq6ZrsRNz6ViPWiAB8NHSpZbCxMDdvx531hrvcDUzThONir+x1eROKqBwujR21 PD9jrYp5KeUGoNwA+kyW9yqnqHhrzGob6yjr55JLcTbbW0FnMbdHjEpw2HpT6jwW3lIL fwOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=X9G2VFwG; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt1si296597ejc.29.2020.06.17.09.32.00; Wed, 17 Jun 2020 09:32:23 -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=@gmail.com header.s=20161025 header.b=X9G2VFwG; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727864AbgFQQ1Z (ORCPT + 99 others); Wed, 17 Jun 2020 12:27:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727857AbgFQQ1W (ORCPT ); Wed, 17 Jun 2020 12:27:22 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70509C06174E; Wed, 17 Jun 2020 09:27:22 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id d27so1690911lfq.5; Wed, 17 Jun 2020 09:27:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=tBdtd4BbSytzH+yn8Qia+tXk6Gs+WeAHP5EfpLtwsp8=; b=X9G2VFwG+kypTS6e33cyAimN3ATS28yZLc7+RSukAtDpY5QYY5eBQglww7MLPaD83h rIjriWkglL5vxCbr9qVzPqpgVokj4HScFR3NLVbSnJXCLhoTuTj9hjZnei3VFIo0eqdT LDdAFXSb1RyMLiZvwWwcKSt7m2G/hqSM8WsK1nQImL+Lgc8EdmrtI9Zvmo64XBYkLspo xTE3pCfFLaIOAqBCJsNxj7FNwkdMsZrASXddwxBKlVreXyld5TyYvyUtvfvplsRnZEIe tKAUpR/W47SCAZ205IDRQmsy0dVteCso6LPZyUvfG+rAVyFXWxHSUIjXfKdtl+GpzcdF gceg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tBdtd4BbSytzH+yn8Qia+tXk6Gs+WeAHP5EfpLtwsp8=; b=ADUEy6W/ZfBTc2MypJaRmIYSrHWp3Mjw90Lvdv6AJZdjbiEHHQzFpb7/6/o5S8MZEv ad6fScbY/UKbTJTRfHCqsQR3W+SM/E+6gwW7PtzlH2PcZ3sQCzhTLhzxF3nb8EImiyUZ G719tdhEwG7YTt4fXdkoDmBhZOD4n6mkJzjjh2HkvQaf8hq17vEtOJk00IyEDUjb62H/ l/cceZMFans6BvVGPKaYCuSyMFWLPyuZ/KTFAI3BTzR3N6vG0W9yyDUSpRGMRQ3x4Ci5 wSKjR1SkSJeVuReBc2+/SrFZ9HFlJ21vCfLepF6mKDNu+oGUAr2WIGhtSjs7Mxk10kcC dTPQ== X-Gm-Message-State: AOAM531IFpsq5e2PGbkyUmokP8wjpp+uo7HAsemq/ZkGIJBJmP3iNfxz hPr2i0E67zTfvdCOIv2orxk= X-Received: by 2002:a19:8389:: with SMTP id f131mr4963732lfd.16.1592411240453; Wed, 17 Jun 2020 09:27:20 -0700 (PDT) Received: from [192.168.2.145] (79-139-237-54.dynamic.spd-mgts.ru. [79.139.237.54]) by smtp.googlemail.com with ESMTPSA id b25sm66852ljo.16.2020.06.17.09.27.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Jun 2020 09:27:19 -0700 (PDT) Subject: Re: [PATCH v2 0/5] 180 degrees rotation support for NVIDIA Tegra DRM To: Daniel Stone Cc: Emil Velikov , Thierry Reding , Thomas Zimmermann , Derek Basehore , Sam Ravnborg , Laurent Pinchart , Sean Paul , linux-tegra@vger.kernel.org, "Linux-Kernel@Vger. Kernel. Org" , ML dri-devel References: <20200614200121.14147-1-digetx@gmail.com> <8f789ef5-bebf-c869-784d-afda70fc1fb8@gmail.com> <646b3f37-0f72-7f3b-388f-f71dbcdd5c84@gmail.com> From: Dmitry Osipenko Message-ID: <36496bd6-b18a-de97-1afb-f2f8aeb3feaf@gmail.com> Date: Wed, 17 Jun 2020 19:27:18 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 17.06.2020 12:34, Daniel Stone пишет: > Hi, > > On Tue, 16 Jun 2020 at 22:16, Dmitry Osipenko wrote: >> The panel's orientation could be parsed by any panel driver and then >> assigned as the connector's property in order to allow userspace/FB-core >> to decide what to do with the rotated display. Apparently upstream >> kernel supports only that one Samsung device which has display panel >> mounted upside-down and it already uses the custom DT properties for >> achieving the 180 rotation. So I don't quite see any panel drivers that >> instantly could benefit from using the rotation property. Perhaps I can >> add the orientation support to the panel-simple driver, but will it be >> useful to anyone? > > Yes, exposing it to userspace is helpful, since Weston at least will > parse the property and then apply the correct transform: > https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/315 Hello Daniel, Thank you very much for the pointer! I missed that Weston now uses the panel's orientation. I gave a quick test to the recent Weston and indeed it applies the transform in accordance to the connector's orientation property.