From patchwork Thu Jan 4 14:45:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13511198 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 8FDA8C47074 for ; Thu, 4 Jan 2024 14:46:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D341710E482; Thu, 4 Jan 2024 14:45:59 +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 6723310E49F for ; Thu, 4 Jan 2024 14:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704379557; 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; bh=vafT9aFcJjnmQvuSHkbQY1E3TaxMVcjMmIh6EpI/G0E=; b=OhfvFe/6pA+U9O5SbPCbJNKj16dqD38Xvwc0LlC21XyQfRDRE+mBx+zRkREgI9X8RJEmG7 oPwnuHJ9cVGyiE6KV+QzE9dvgRpBBmOVPFQEeaPsg756hyZkOGQBqnHLqj9HXXUZ9FHYEP mDfeEVGaxkHTfmAwggLzcqMVQqTl95o= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-302-tI6hokhqMGO3GTyNsbZlNw-1; Thu, 04 Jan 2024 09:45:55 -0500 X-MC-Unique: tI6hokhqMGO3GTyNsbZlNw-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-3371263463fso344768f8f.0 for ; Thu, 04 Jan 2024 06:45:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704379554; x=1704984354; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vafT9aFcJjnmQvuSHkbQY1E3TaxMVcjMmIh6EpI/G0E=; b=YWUpo+J5Sx28q13Kgqg2h+Fdble0uFY0bQDT1MTx1776PnmQPXIcrDQBIzs+xW+v67 ttp4l83xdJURrkKFTYpW3hcRxa7FsqSP5TdgDCtgnenv/fhP2fWgSJItWAUEIQjHr0/c gACCZoRAWS2Lhm4hsPoZxUp/DaahbrdTVqhse7rSAHQ1ZJRgb7qh8/EMmploGc2ya3Dp 6IAsVbbRZyvXOmHxUWCCWaoRrP6UzDLllmyZu9XvsFjBp6KfPFUp1cgxeIUwJLMgipI0 xDSvk0EzP1X8zSLKrYWRsTlRt6coH/Nr6R+HRxfZXznzdCotjn2lWml2F2+pRXbdNYa3 xUFg== X-Gm-Message-State: AOJu0Yw6iB6bSsU8LsEIfOi8jLL6U9mbF7TbZ6sBwq95jwDMh4zqNwHK DFqv/xuG3ogZgwx7m/UZp+H57SWbNOUMY839YJF4d5ZuXfSUzX/9R720dSDGnyNiAB3jQlZQDYd fadwIEASS0T61nyu6trOJZfmfGx0Rfiy26FiG X-Received: by 2002:adf:e382:0:b0:336:c120:854b with SMTP id e2-20020adfe382000000b00336c120854bmr506122wrm.113.1704379554449; Thu, 04 Jan 2024 06:45:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMrLnT8/EkVP25txr75cnq65PVvtSBnrZoxkdPB/n9Q+1xyKcSeAN1pdjmKO2vq0qIQCrhSw== X-Received: by 2002:adf:e382:0:b0:336:c120:854b with SMTP id e2-20020adfe382000000b00336c120854bmr506108wrm.113.1704379554081; Thu, 04 Jan 2024 06:45:54 -0800 (PST) Received: from localhost ([2a01:e0a:b25:f902::ff]) by smtp.gmail.com with ESMTPSA id b7-20020adfe307000000b0033674734a58sm17669090wrj.79.2024.01.04.06.45.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 06:45:53 -0800 (PST) Date: Thu, 4 Jan 2024 15:45:53 +0100 From: Maxime Ripard To: Dave Airlie , Daniel Vetter Subject: [PULL] drm-misc-next-fixes Message-ID: MIME-Version: 1.0 Content-Disposition: inline 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: Tvrtko Ursulin , dim-tools@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Maxime Ripard , Thomas Zimmermann , Rodrigo Vivi , intel-gfx@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi! Here's this week drm-misc-next-fixes PR Maxime drm-misc-next-fixes-2024-01-04: One fix for drm/plane to avoid a use-after-free and some additional warnings to prevent more of these occurences, a lock inversion dependency fix and an indentation fix for drm/rockchip, and some doc warning fixes for imagination and gpuvm. The following changes since commit 933a2a376fb3f22ba4774f74233571504ac56b02: drm: using mul_u32_u32() requires linux/math64.h (2023-12-19 15:29:17 +0200) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2024-01-04 for you to fetch changes up to eee706839333ec0643f1b4898a37588025bf4cb5: drm/imagination: pvr_device.h: fix all kernel-doc warnings (2024-01-02 11:50:05 +0100) ---------------------------------------------------------------- One fix for drm/plane to avoid a use-after-free and some additional warnings to prevent more of these occurences, a lock inversion dependency fix and an indentation fix for drm/rockchip, and some doc warning fixes for imagination and gpuvm. ---------------------------------------------------------------- Andy Yan (1): drm/rockchip: vop2: Avoid use regmap_reinit_cache at runtime Jiapeng Chong (1): drm/rockchip: vop2: clean up some inconsistent indenting Randy Dunlap (2): drm/gpuvm: fix all kernel-doc warnings in include/drm/drm_gpuvm.h drm/imagination: pvr_device.h: fix all kernel-doc warnings Ville Syrjälä (2): drm: Don't unref the same fb many times by mistake due to deadlock handling drm: Warn when freeing a framebuffer that's still on a list drivers/gpu/drm/drm_framebuffer.c | 5 +- drivers/gpu/drm/drm_plane.c | 1 + drivers/gpu/drm/imagination/pvr_device.h | 46 ++++++++-------- drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 12 ++--- include/drm/drm_gpuvm.h | 80 ++++++++++++++++------------ 5 files changed, 79 insertions(+), 65 deletions(-)