From patchwork Thu Feb 16 09:19:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13142750 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 62AA4C61DA4 for ; Thu, 16 Feb 2023 09:19:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 63A4310E159; Thu, 16 Feb 2023 09:19:14 +0000 (UTC) Received: from new3-smtp.messagingengine.com (new3-smtp.messagingengine.com [66.111.4.229]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4057010E159; Thu, 16 Feb 2023 09:19:12 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id B68215824A6; Thu, 16 Feb 2023 04:19:08 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 16 Feb 2023 04:19:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t= 1676539148; x=1676546348; bh=FSdyYVMXE37HjJCMg79L/WM51m8A74dn57Y 7EBrjMmY=; b=RCfWQv4YKYb8QE9kuL0a0p3S9twNDmJKbOViE+Nr7CQLf98Z/j2 pdT6msOHDhr4BVmjGbDQNnB+nonb51O6sloF0JKrEpYFOdgL/Im9K9MK2LB0N42Q iR/vKGEERezZjdGib0smFMqQaW5cPVmDxRUV9VNwXppJOOV/8VeFeztKDFYTRsOU QYItK7byS5CnlmIVHbmmTKO2KiNNbR1ul/UYAbzDCso/NkJaHoRNNYqu5Y9eaM6f 1mmscFxHbEzA6XHoPRJRgj9B2Qfh7uKbE5qwNS3Sdlm2u7CZUTtZdXKsOjOiFf+R sOgmqucHBDVKv6Lx9RbNwIhw+YZXfYCJY2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1676539148; x= 1676546348; bh=FSdyYVMXE37HjJCMg79L/WM51m8A74dn57Y7EBrjMmY=; b=E 9Wf+CM/gOK1/ElUrlUDz0LEs0zieTliC2qSjvdgISCHi/Zf98i0PXXdts1WcJ8ov Uvp7JE8A5HTMUsyo/oBn4jat437ZFLqemfx0Gcq1opnckF4TRizViDUHd1qS3vqF oNP/N2Xy482U7zmKoO5jhltYjih2AP/Oaw8k1haHVS8ePwoV5qhbKl/vjpsiI8tQ jybHYZLHZhiwu7m255qM2cAd7rvejcFUiPxA6dBjXsQjI3dG2CS5aj8NP0+sA99+ +l5mm8c4H4XGtWcZa0nOs89DdPqhmPDlgsm4pRmvDnA1HIXbs35oN8hewnj34Fgw mW9WnF9NwJ7TIpJsvrPbw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeijedgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugesghdtreertddtudenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeekheejgeeuhfethffgheekhedufeduhfejgfehffekudefgedugffhkeefhfev vdenucffohhmrghinhepfhhrvggvuggvshhkthhophdrohhrghenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdr thgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Feb 2023 04:19:07 -0500 (EST) Date: Thu, 16 Feb 2023 10:19:05 +0100 From: Maxime Ripard To: Dave Airlie , Daniel Vetter Subject: [PULL] drm-misc-fixes Message-ID: <20230216091905.i5wswy4dd74x4br5@houat> 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, Thomas Zimmermann , Rodrigo Vivi , intel-gfx@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Dave, Daniel, Here's this week drm-misc-fixes PR. Maxime drm-misc-fixes-2023-02-16: Multiple fixes in vc4 to address issues with YUV planes, HDMI and CRTC; an invalid page access fix for fbdev, mark dynamic debug as broken, a double free and refcounting fix for vmwgfx. The following changes since commit 85e26dd5100a182bf8448050427539c0a66ab793: drm/client: fix circular reference counting issue (2023-02-07 09:42:56 +0100) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-02-16 for you to fetch changes up to a950b989ea29ab3b38ea7f6e3d2540700a3c54e8: drm/vmwgfx: Do not drop the reference to the handle too soon (2023-02-14 23:00:09 -0500) ---------------------------------------------------------------- Multiple fixes in vc4 to address issues with YUV planes, HDMI and CRTC; an invalid page access fix for fbdev, mark dynamic debug as broken, a double free and refcounting fix for vmwgfx. ---------------------------------------------------------------- Dave Stevenson (1): drm/vc4: Fix YUV plane handling when planes are in different buffers Dom Cobley (2): drm/vc4: hdmi: Always enable GCP with AVMUTE cleared drm/vc4: crtc: Increase setup cost in core clock calculation to handle extreme reduced blanking Jocelyn Falempe (1): drm/ast: Fix start address computation Takashi Iwai (1): fbdev: Fix invalid page access after closing deferred I/O devices Ville Syrjälä (1): drm: Disable dynamic debug as broken Zack Rusin (2): drm/vmwgfx: Stop accessing buffer objects which failed init drm/vmwgfx: Do not drop the reference to the handle too soon drivers/gpu/drm/Kconfig | 3 ++- drivers/gpu/drm/ast/ast_mode.c | 4 ++-- drivers/gpu/drm/vc4/vc4_crtc.c | 2 +- drivers/gpu/drm/vc4/vc4_hdmi.c | 18 +++++++++--------- drivers/gpu/drm/vc4/vc4_plane.c | 6 ++++-- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 12 ++++++++---- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 2 ++ drivers/gpu/drm/vmwgfx/vmwgfx_gem.c | 8 ++++---- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 4 +++- drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c | 1 + drivers/gpu/drm/vmwgfx/vmwgfx_shader.c | 1 + drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 10 ++++++---- drivers/video/fbdev/core/fb_defio.c | 10 +++++++++- drivers/video/fbdev/core/fbmem.c | 4 ++++ include/linux/fb.h | 1 + 15 files changed, 57 insertions(+), 29 deletions(-)