From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D87CECAAD3 for ; Mon, 5 Sep 2022 18:24:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232326AbiIESXv (ORCPT ); Mon, 5 Sep 2022 14:23:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229692AbiIESXf (ORCPT ); Mon, 5 Sep 2022 14:23:35 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D336C24BD6 for ; Mon, 5 Sep 2022 11:23:33 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BEC1D139F for ; Mon, 5 Sep 2022 11:23:39 -0700 (PDT) Received: from e110455-lin.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 49C543F534 for ; Mon, 5 Sep 2022 11:23:33 -0700 (PDT) Date: Mon, 5 Sep 2022 19:23:25 +0100 From: Liviu Dudau To: Danilo Krummrich Cc: daniel@ffwll.ch, airlied@linux.ie, tzimmermann@suse.de, mripard@kernel.org, brian.starkey@arm.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND drm-misc-next 0/8] drm/arm/malidp: use drm managed resources Message-ID: References: <20220905151910.98279-1-dakr@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220905151910.98279-1-dakr@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 05, 2022 at 05:19:02PM +0200, Danilo Krummrich wrote: > Hi, Hi Danilo, > > This patch series converts the driver to use drm managed resources to prevent > potential use-after-free issues on driver unbind/rebind and to get rid of the > usage of deprecated APIs. Appologies for the extended silence, I was on holiday for 3 weeks and stayed away from mailing lists. Will review the two series this week. Best regards, Liviu > > Danilo Krummrich (8): > drm/arm/malidp: use drmm_* to allocate driver structures > drm/arm/malidp: replace drm->dev_private with drm_to_malidp() > drm/arm/malidp: crtc: use drmm_crtc_init_with_planes() > drm/arm/malidp: plane: use drm managed resources > drm/arm/malidp: use drm_dev_unplug() > drm/arm/malidp: plane: protect device resources after removal > drm/arm/malidp: crtc: protect device resources after removal > drm/arm/malidp: drv: protect device resources after removal > > drivers/gpu/drm/arm/malidp_crtc.c | 48 +++++++++++++++++++++--- > drivers/gpu/drm/arm/malidp_drv.c | 58 ++++++++++++++--------------- > drivers/gpu/drm/arm/malidp_drv.h | 2 + > drivers/gpu/drm/arm/malidp_hw.c | 10 ++--- > drivers/gpu/drm/arm/malidp_mw.c | 6 +-- > drivers/gpu/drm/arm/malidp_planes.c | 45 +++++++++++----------- > 6 files changed, 100 insertions(+), 69 deletions(-) > > > base-commit: 8fe444eb326869823f3788a4b4da5dca03339d10 > -- > 2.37.2 > -- ==================== | I would like to | | fix the world, | | but they're not | | giving me the | \ source code! / --------------- ¯\_(ツ)_/¯