Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3882595pxb; Sun, 24 Oct 2021 13:45:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtsJqSauf4WHq5iTxeYKp4zCysVpWjkZrKv4JCxCIwjbDhCQzBiPiLz6gOx0buxLmL0QwG X-Received: by 2002:a17:90a:a44:: with SMTP id o62mr17491670pjo.5.1635108358184; Sun, 24 Oct 2021 13:45:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635108358; cv=none; d=google.com; s=arc-20160816; b=t8wvIqgk9TyVuEcQecSBZ2i0pICZ5EDdSLDD0LJpiGu/CAfHZZXAWC5IkI8Pw2n1hP bMtXZr1rt69hLVNKSIXFRBjWPko6g7UBOixPuGsOP2QaboNLYfRlASO6QnqpFCZwOWi5 c4udQ6VE4+xS50c88WeO+cwXUuO2a7Sb71e8iIS6Y5manNAjTy4oQnKelwWrncI2PbXA CqX3JQ64AmcVgjh+t1zmu82XlY+EIug1xKg1B+3Kq6RZhC7ntVXeojPf1irpjeJY1ohH t3Zgd6EGiTAnD24YRviH88m7DhoNp552yaXBxTnnrpyHX7q5SRhttwCYK9PcR5Tw2U30 Clcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=i9ZP7IGMGpELliVa79P8GGwJ6qwJ6CfnjAX5YXt22no=; b=d/Mxjh4mfoNMHvbAS1pK9n15gmj82J96e9RpqGB71j5oT2NmqajLKV+MEhR0uE9n1y FQ5f3IrupEHC8jcKdqaTJp8gOvH6ZAKeMOWtAlqKscxarK8TDoGLI20vZIa/U+v+yF13 zqQWb+0VLZcz/Nk1ilIODxsf6xMjil8y5SXeJn1lnSCivJIRj5pdKjfJFBMuHWhBBMMZ YFycwP7az2OdOnllccU1ampqj+77VLpJEEfSlRiqip29rJJxEdvxaqSRlQ11pWwdppU5 0LgSKMTPDMKyZHZAfxjNEZUeQU89fHfqPJFWagF767GYw3dwkcSFsGuMCOnr15LeVHqI K12A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=deK0Bucl; 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 w30si10041387pge.62.2021.10.24.13.45.45; Sun, 24 Oct 2021 13:45: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=@gmail.com header.s=20210112 header.b=deK0Bucl; 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 S231803AbhJXUqi (ORCPT + 99 others); Sun, 24 Oct 2021 16:46:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231259AbhJXUqh (ORCPT ); Sun, 24 Oct 2021 16:46:37 -0400 Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E706C061745 for ; Sun, 24 Oct 2021 13:44:16 -0700 (PDT) Received: by mail-yb1-xb2f.google.com with SMTP id b9so20611551ybc.5 for ; Sun, 24 Oct 2021 13:44:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=i9ZP7IGMGpELliVa79P8GGwJ6qwJ6CfnjAX5YXt22no=; b=deK0Bucl7tHpR2tHP2TRWP2tmUPAsSKTAkMa8BUZtEfgZtb76ColSmGeYdDkEugmJK VrwGOqG6S07klCU7ihULqhUe05BDy81dXkzo6NoMOXy8lj/Jd2mhCGdDc6SD/N+693RD Dg0q5T0hodqesb/VflqOGhB8sO750molmWSYhuhyYUjHweo9QgG3RKPXvUpqjE3Ly7BM WaaoJEfOlevDeIFL/EERaKw0sjynC5Ulugj2cWmVfRtZ2FrpLu+PYsa9y1ng2Q+5eFMR Oo4fZCnABaU7bf5zq59SkGkmau1mvpaaz5AgNNgFRQkWacO5HrVaOxA2iT41pMCITeYP fygg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=i9ZP7IGMGpELliVa79P8GGwJ6qwJ6CfnjAX5YXt22no=; b=QJQK33V9ily/e05Fs/3fuavKpWzAasc2kj5hFl3YiMg0wTJyKebBiNN/RFWTudC77h A5RhcL++1KQO07JZ6G/6HJhWQYOpdFLf2YrsKFmagZm5k3JudQgPJ2ewUc6WzbPcbJWi QIUNev8jPKlLv2kswkq/Gx4lvGsKs/mnxzaLZ6a9USMZ6tie8tmEzziJwgYiqJmpFgYj +qGPQW03cDqhJqi8BzkE8fMJtnxwe2Do1kHhgFAnmClJHjxL3VvSOjwRf/HoAdvGiTuo gWXXe7OcT5y97RKUCKYL8qdDG9p/DTKhTQ+vBWA9xrcrKB4YxTj6O3/4sdgKRxMPwFuB Pvdw== X-Gm-Message-State: AOAM532YNKncHQzKHm5SrUVc+Gheu6WEuBDg6/37sJ/aWHotbIRSt0tZ QJEkkIMLuiueQWGJ/FYC+pcAe+H+fisKX86Lqfw= X-Received: by 2002:a25:d196:: with SMTP id i144mr13692041ybg.255.1635108255433; Sun, 24 Oct 2021 13:44:15 -0700 (PDT) MIME-Version: 1.0 References: <20211022144040.3418284-1-javierm@redhat.com> <14a41bd8-cd70-b9d0-ce1c-869cfde8bdcb@suse.de> <015855d9-62f3-be81-a4c1-b8439534ec06@redhat.com> In-Reply-To: <015855d9-62f3-be81-a4c1-b8439534ec06@redhat.com> From: Neal Gompa Date: Sun, 24 Oct 2021 16:43:39 -0400 Message-ID: Subject: Re: [RFC PATCH] drm/aperture: Add param to disable conflicting framebuffers removal To: Javier Martinez Canillas Cc: Thomas Zimmermann , Linux Kernel Mailing List , Peter Robinson , Daniel Vetter , David Airlie , Maarten Lankhorst , Maxime Ripard , dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 24, 2021 at 4:40 PM Javier Martinez Canillas wrote: > > Hello Thomas, > > Thanks a lot for your feedback. > > On 10/22/21 21:05, Thomas Zimmermann wrote: > > > There's still the question of the semantics of this parameter. It's a > > bit fuzzy. > > > > If you use 'disable_handover' (as you mentioned in another mail), it > > would mean that only the handover itself is disabled. So if simpledrm i= s > > not bound to the device, then a native driver should load. That would b= e > > hard to implement with the current code base, where we have to take old > > fbdev drivers into account. > > > > (And to be pedantic, we don't really do a handover of the device. We > > hot-unplug the generic platform device, so that the driver for the > > native device can operate the HW without interference.) > > > > Simpledrm only acquires an aperture, but never removes a driver. If > > there is a driver already, simpledrm would fail. Only native drivers tr= y > to remove drivers and would trigger the test. So your patch is more > > something like 'disable_native_drivers'. > > > > I'd go with 'disable_native_drivers', or maybe 'disable_device_handover= ' > > That works for me and "drm.disable_native_drivers" is also what Neal mean= t > with his "drm.noplatformdrv", but yours is much easier to remember / type= . > I'm good with that too. :) --=20 =E7=9C=9F=E5=AE=9F=E3=81=AF=E3=81=84=E3=81=A4=E3=82=82=E4=B8=80=E3=81=A4=EF= =BC=81/ Always, there's only one truth!