Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1B26BC433EF for ; Thu, 27 Jan 2022 18:26:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EA31810E24F; Thu, 27 Jan 2022 18:26:26 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id AC9AF10E24F for ; Thu, 27 Jan 2022 18:26:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643307984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oB3qV7cyBeU8wekptigSEtjRhzEDSa0sTyS/yK3CFWk=; b=ImSkUGxMMhHg4nrf4pJZOmCX5bQKgdLB5i/lOKt0AoU2gzGfnfDQSUN9YvdLP10MEyP5ED 7jzQMDJhrfOCepZoPCYfA8IWj+gsZNWmA/p3k8I9k4YnDdRv+8eeuTCv4/1tej82+Ycq/I x6cjBPKaefMcZrMQpYPWmzNsPuarqNk= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-554-pl6nyZ50MjavJifNySK6sA-1; Thu, 27 Jan 2022 13:26:21 -0500 X-MC-Unique: pl6nyZ50MjavJifNySK6sA-1 Received: by mail-wm1-f69.google.com with SMTP id o140-20020a1ca592000000b00350aef3949aso896888wme.5 for ; Thu, 27 Jan 2022 10:26:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=oB3qV7cyBeU8wekptigSEtjRhzEDSa0sTyS/yK3CFWk=; b=52MNllx6xMZqJQMOD8b+zMfdZ81wUNJNAd0hMHClVlFrqU+kWM6PG8JIiP6L7wbu/M u0OsI3bLZA+NLkNlnEGf+ZJaarT+BziuZDlesqnsA2ref9mWcw9J5DXrCYoEA/4gJTyK FJp7XxSW30M0FIy/YVgYnpeX6cvlnmwSAs5IOcxqHdUHxBBzAToxfN008/5NVmbiAaH2 ak7Gm8Lfc+rM27Qamlc/TaoxTOEv0eJ/tEx23VXQqWq/hujI9gtIB+hQSM1kkafVHnOI 2ZX7W1iNMXlbZ7Axo8D9YIFy5KL1smKckKHbBak9+c1Va26Om4XA+2yva816kOUGi74s 9uew== X-Gm-Message-State: AOAM5300bT2m/hWVqaKaDx5OS/4KANO4W91+MmqT2ysA+7q5sQSOOwoU 34N1FusCLNMsBA7wyac7wT0suXWz93BIlb5mbDN6DJrzWtf+z3oViv9xOAcX6RlpzOYdjebz8md OV2jgQpGbJ6otkBIxolqKSI5q9yr+ X-Received: by 2002:a05:6000:168f:: with SMTP id y15mr4217305wrd.365.1643307980566; Thu, 27 Jan 2022 10:26:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJxfvcpjLkoX7TINgPyJ2uFIoRqH3mgpbBKpMlxDnKAJXYaaHnQ9yCgS6jlcCKe0rjGu+yR+5g== X-Received: by 2002:a05:6000:168f:: with SMTP id y15mr4217293wrd.365.1643307980273; Thu, 27 Jan 2022 10:26:20 -0800 (PST) Received: from [192.168.1.102] ([92.176.231.205]) by smtp.gmail.com with ESMTPSA id a3sm3385808wri.89.2022.01.27.10.26.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jan 2022 10:26:19 -0800 (PST) Message-ID: Date: Thu, 27 Jan 2022 19:26:18 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [RFC][PATCH 00/10] drm: Add DRM module helpers for existing PCI drivers To: Thomas Zimmermann , daniel@ffwll.ch, airlied@linux.ie, mripard@kernel.org, maarten.lankhorst@linux.intel.com References: <20211217144615.32733-1-tzimmermann@suse.de> From: Javier Martinez Canillas In-Reply-To: <20211217144615.32733-1-tzimmermann@suse.de> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=javierm@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: spice-devel@lists.freedesktop.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 12/17/21 15:46, Thomas Zimmermann wrote: > This is an RFC patchset to complement the helper macros provided > in [1]. The module helpers create module init and exit helpers that > respect the kernel parameters that enable/disable DRM drivers. > > There's one more patch that prepares qxl by moving some code around. > It's required to make use of the helpers from within qxl. > > Javier, please see if you find anything useful here and cherry-pick > into your patchset. The driver changes should complement the ones > in your patchset. The module macros are similar to yours and should > be easily mergable. > > I tested the macros with ast. > > [1] https://patchwork.freedesktop.org/series/98162/ > > Thomas Zimmermann (10): > drm: Provide PCI module-init macros > drm/ast: Replace module-init boiler-plate code with DRM helpers > drm/bochs: Replace module-init boiler-plate code with DRM helpers > drm/cirrus: Replace module-init boiler-plate code with DRM helpers > drm/hisilicon/hibmc: Replace module initialization with DRM helpers > drm/mgag200: Replace module-init boiler-plate code with DRM helpers > drm/qxl: Move ioctl array next to its only user > drm/qxl: Replace module-init boiler-plate code with DRM helpers > drm/vboxvideo: Replace module-init boiler-plate code with DRM helpers > drm/vmwgfx: Replace module-init boiler-plate code with DRM helpers > Pushed the remaining of these patches to drm-misc-next. Thanks! Best regards, -- Javier Martinez Canillas Linux Engineering Red Hat