Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp255962ybg; Tue, 22 Oct 2019 20:05:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnYhlyXOuIBFtNgykPonp5lHSojUFa1diwi/LHr2yTlkU8WVqFAxn34S0+3rkqdJHRwmE/ X-Received: by 2002:a50:e841:: with SMTP id k1mr1141508edn.280.1571799912555; Tue, 22 Oct 2019 20:05:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571799912; cv=none; d=google.com; s=arc-20160816; b=BB4xk+S9JlUh4Te6P3rTFSjTSBWHvZAuChvEgb78hA+yI85lCp5fdhK7Hb4LOyyvC3 L8x+Dk7+1Q9ELtesc1V4jLa7ND+LVXjKJslEftKAPCTTwcjrhUR6jVmWI1RWbQ8nJeJU Tbn7A+A3raO2/l+hCWV5evjri0+l4yKUXF6eYNzdGCzIS2FqIcsUdCkhiwsvYgv3TF5V SVJZ0fqRIE8MjcPt3eguGchZv2arOWJVwTOf+O8bk+xbk/cRoHq7tMlaPYe/Q+tw9ek6 0XO/URQWY+5Jy34uR77mNCfB1YuELDdRX3f0DLcJeppoMWLgMmdQkFYGYoMZGuOj2yM/ aQLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=TZ6PtzJKXyCbE4QgSRCknBL+ktlMMVZMJTZlai7sfRo=; b=KAC1P61Q0tnT8S+7DWDcfxOZI0rMCA8KkNSVd8wdTR5u+ckU3exXJDzILkmclHWT2C meStRjHRz3nTYLUWM4BVd8Dy1H76fVJAFeIVIp3Wze1c3zhbHHZJXWoeAaTIlr3QCVG+ H34gHA1u50iB1pFa31tXSzleoXg6lUXnIjl/hFl5MtG8kE8cQd1gnlBEyEUswJ9rZTvr V3mUrBXzgPWRmdMHcU8ehkkbsGNFSjvR0vFnIWpb6bgROMy7/dAq6YKUY+b9bHYeSiPR MEXAh5Wtivgzim0Xmw863pOZnBwEfBMWEMcJ7bqN0qdiJvKPsqsMzALav1H0i3NS9PL6 0bNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=OePzI0s0; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p25si7791227eji.211.2019.10.22.20.04.48; Tue, 22 Oct 2019 20:05:12 -0700 (PDT) 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=@google.com header.s=20161025 header.b=OePzI0s0; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732198AbfJWARw (ORCPT + 99 others); Tue, 22 Oct 2019 20:17:52 -0400 Received: from mail-lf1-f45.google.com ([209.85.167.45]:42447 "EHLO mail-lf1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727154AbfJWARw (ORCPT ); Tue, 22 Oct 2019 20:17:52 -0400 Received: by mail-lf1-f45.google.com with SMTP id z12so14506982lfj.9 for ; Tue, 22 Oct 2019 17:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TZ6PtzJKXyCbE4QgSRCknBL+ktlMMVZMJTZlai7sfRo=; b=OePzI0s07XRspjzP6hpHptPYAZ91ykwFW/MOU3dwmxa7O3VXV8/w4u208iiiZRWJo7 BF43iGHf6LVzyZbesaFS3xHd5qc3HWFUOcbJ/HwRDjUC2RoC3eGnfk2OmLfKkUjhDfs7 pfeNOEQpIk2/TkZSNHdGXDE3Jpqmc3g4UtRqDHN5XfKtq/jMFSGLdA/DfuQ5uP2F4e70 1iLnf+8oLxq6wsQwckvOMn6mkTVypJgxcw/tnv5eLJAB0DrznANAlyO04e3rnzau22oQ VTJl4vTTxCHgrmWHL9HTafweWh/kq0pzAX7RDMA8uY7gTVEQTtFKwuzknOPUI3+G0jv/ phIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TZ6PtzJKXyCbE4QgSRCknBL+ktlMMVZMJTZlai7sfRo=; b=Vg8cUeZzjRCvTK4wPGJnZr8MFu1iNS+HHb5qx+BJebcmf9pL87vL2YSp3LOpRgsP3q EqTnFpKKq++bnS1s9yGve4rPqAZRpmEmfo8TGAsh9kNRSKCwE3ihZOqA4R4K9jmyG0Bu AQjmxc6gWmIwvnkEgNLwNt6oyeFZVHpuQOl6o+Y2RzHcaR/sPkWuLxKJKtmblRNF0Da6 t/eYfpa0GUeBLvPGOFwKlyV7RZcXtZlGBbrFHZzoWbJjp9aSajNCwIPpAdxpVcIMaIp0 VX5fLAjs9hglS6z7irvNfFMznIL939izRcvLq/V0g9xOp8O887vVSZcyHxjJskEBBq5X tuhA== X-Gm-Message-State: APjAAAV+ydP8selFf36VNNkncjKlUjxdqvU+4XxS8gfOK89ML35tUPUo dC76ZZK2K4owX1a0NPX25tm4oevUbrmbS44ln5vFUg== X-Received: by 2002:a19:ed16:: with SMTP id y22mr9369612lfy.166.1571789869408; Tue, 22 Oct 2019 17:17:49 -0700 (PDT) MIME-Version: 1.0 References: <87h84rbile.fsf@intel.com> <20191002102428.zaid63hp6wpd7w34@holly.lan> <8736gbbf2b.fsf@intel.com> <87h84q9pcj.fsf@intel.com> <87sgo3dasg.fsf@intel.com> In-Reply-To: From: Rajat Jain Date: Tue, 22 Oct 2019 17:17:12 -0700 Message-ID: Subject: Re: New sysfs interface for privacy screens To: Jani Nikula Cc: Mat King , Sean Paul , Daniel Thompson , Linux Kernel Mailing List , dri-devel , "Rafael J. Wysocki" , Greg KH , Ross Zwisler , Jingoo Han , Lee Jones , =?UTF-8?B?VmlsbGUgU3lyasOkbMOk?= , David Airlie , Daniel Vetter , Alexander Schremmer , Andy Shevchenko Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 22, 2019 at 5:14 PM Rajat Jain wrote: > > Hi Folks, > > On Mon, Oct 7, 2019 at 11:13 PM Jani Nikula wrote: >> >> On Mon, 07 Oct 2019, Mat King wrote: >> > That makes sense; just to confirm can a property be added or removed >> > after the connector is registered? >> >> You need to create the property before registering the drm device. You >> can attach/detach the property later, but I should think you know by the >> time you're registering the connector whether it supports the privacy >> screen or not. > > I just posted a patch for this here: https://lkml.org/lkml/2019/10/22/967 Would appreciate review and comments. Thanks & Best Regards, Rajat > >> >> >> BR, >> Jani. >> >> -- >> Jani Nikula, Intel Open Source Graphics Center