Received: by 10.223.185.116 with SMTP id b49csp913761wrg; Fri, 23 Feb 2018 08:44:54 -0800 (PST) X-Google-Smtp-Source: AH8x226egNj5Uj2sXzMjdmH4uENx4ry8IK3TzUqsMnta7tcTNu0tzQdsmG5uKC7lYN7imG91h20P X-Received: by 2002:a17:902:d68e:: with SMTP id v14-v6mr2307376ply.199.1519404294517; Fri, 23 Feb 2018 08:44:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519404294; cv=none; d=google.com; s=arc-20160816; b=1F8jAG8uyF8FLSVi3FUMLk4tBNCFhx7lo8gL/+1w3KXCSlDsgEQoAAywCfvp3uT1Z6 MyIdth8VaFtPlxGvyyXxwd1S5KAWS76bGJMbi2zX1zcHb0AhZJYiqw28srgV/4RKiDdI f6UPcwvJfXgPEwd7F/VhKPT5dAjSxYnqAxmCW7ks+8KmIahclnLA7RoXlhWq1DEULiVF 6BJLnRN6ZMM5BIcr20vk190VpAE37OEXN1wcRNfmr4XPpSPFdnkrdqGm+rhnUs3jRybG osltLjclpBZSLtRQjM/5pHHkZKP50MA3ogVuJ2DxQRwWq3FW8hXLf2zzp7ruekVmgL6+ AZqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=ZSuhO5KIK39h3n1G1oKnb7RYYtbUEwusvILDQ7/8diE=; b=ZlgqZesvvuWhiWDZNg6rQM4LfK1Fi5RTjcDzDco93Hw0f3CWaO89SST4nVhfg5vmtm VDk1GCZjhJRYy5tLts0LR7S1TbkFcDL54p/cmyqKnyCd1i8/HwPR5Ztd0wFiQzZFqBs9 KolxJ09W5JzD0GDjKduO4XMfp6Y7hSJglIKUeWI/87TyL3AzBdcUK6M/n1yRNUGHtPjc PgDxtr5cZ09sDYuR+aHiR7wVBh1ozcrAoiwNmVM+j6AT+5sQxynz6LVNxclozxIjFqlx TiennVG5PL4SVIMKEnTpN0E5KmdzhCzbsJPWdahUZLdFhTgW72HiVFnz7wWENv9qT+Vj FPYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=EHIcvwY1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a61-v6si1990063pla.689.2018.02.23.08.44.39; Fri, 23 Feb 2018 08:44:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=EHIcvwY1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751406AbeBWQng (ORCPT + 99 others); Fri, 23 Feb 2018 11:43:36 -0500 Received: from mail-yb0-f193.google.com ([209.85.213.193]:33054 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752157AbeBWQnb (ORCPT ); Fri, 23 Feb 2018 11:43:31 -0500 Received: by mail-yb0-f193.google.com with SMTP id s79-v6so3093969ybs.0 for ; Fri, 23 Feb 2018 08:43:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ZSuhO5KIK39h3n1G1oKnb7RYYtbUEwusvILDQ7/8diE=; b=EHIcvwY1iILtNtK2uEIF+sVTCGUGwzkmRo/ChwpXJ0NDE5zr79Cb/e0Je010tuIdNy FddD9/WHgBhoA8LiK6h52D0A9t7dXE3+eGtyDH5EC/SX3aHQEs5mJaFX7gwlqMqe5t14 H4IrMG+5OkL15vMfivtzTtUvDKmLqXqpm6yks= 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:user-agent; bh=ZSuhO5KIK39h3n1G1oKnb7RYYtbUEwusvILDQ7/8diE=; b=fiNZyliTmrtZq2VS31MH3HYLYgm0MhzO9JPA+S/B72lcncdnYWEeLIyQjmFF5AOpqg RPWY83frOFwTmyVDeRxdJj71OvE3iWBbS2on4hz/YVYh5fV0lLOowdCRiJXXo1jPuFTv iYMbJF+ikdDnwVVQq/HKIOyQfzxKQMQZZSZB7mBlKJc0EiLKhJWAqIW/UcLHENZVh6PY E91WxIsXghO18f2GmUsCJdh5Oncpn5lQB2HC5to+ny1fvSAR1QFpK0odQJGGq4SgFI7H VoPegQcS5nDj+RxALfgL1F/5/1yRLCeciwafZaYn5hR9D3nqNuNMG4vRvv6GqiQzrnIS 1i9Q== X-Gm-Message-State: APf1xPBncZyVCzDTKfy033l2XoV38/+fDTVU3KNDxGiCgoLC57zsD+Ma bIHbJb2GKjtX8w5eZWFS10fFLg== X-Received: by 2002:a25:4cc1:: with SMTP id z184-v6mr1535763yba.31.1519404210526; Fri, 23 Feb 2018 08:43:30 -0800 (PST) Received: from localhost ([2620:0:1013:11:d3af:69ac:1964:28e8]) by smtp.gmail.com with ESMTPSA id g3sm1103950ywk.29.2018.02.23.08.43.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Feb 2018 08:43:29 -0800 (PST) Date: Fri, 23 Feb 2018 11:43:29 -0500 From: Sean Paul To: Rob Clark Cc: Sean Paul , dri-devel , freedreno , linux-arm-msm , Brian Starkey , Liviu Dudau , Mihail Atanassov , Gustavo Padovan , Maarten Lankhorst , David Airlie , Jonathan Corbet , linux-doc@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [RFC 1/4] drm: Add writeback connector type Message-ID: <20180223164329.GO223881@art_vandelay> References: <20180223131758.18362-1-robdclark@gmail.com> <20180223131758.18362-2-robdclark@gmail.com> <20180223155935.GJ223881@art_vandelay> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 23, 2018 at 11:25:11AM -0500, Rob Clark wrote: > On Fri, Feb 23, 2018 at 10:59 AM, Sean Paul wrote: > > > > Have we considered hiding writeback behind a client cap instead? > > It is kinda *almost* unneeded, since the connector reports itself as > disconnected. > > I'm not sure what the reason was to drop the cap, but I think it would > be better to have a cap so WB connectors don't show up in, for ex, > xrandr Yeah, the disconnected hack is kind of gross, IMO. I hate to introduce churn in the patch series given that it was initially introduced with the client cap. There are also cases where we might want to make writeback unavailable, such as when content protection is enabled. In those cases, it's conceivable that we might want to use disconnected as a signal to u/s. I suppose we could also just fail the check, so most of this is just academic. Sean > > BR, > -R -- Sean Paul, Software Engineer, Google / Chromium OS