From patchwork Thu Aug 29 14:51:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13783349 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 55493C83F2D for ; Thu, 29 Aug 2024 14:51:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C7A1510E6ED; Thu, 29 Aug 2024 14:51:37 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.b="Fx/4f7ST"; dkim-atps=neutral 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 08AB310E6ED for ; Thu, 29 Aug 2024 14:51:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1724943095; 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=o8hizAOpY+7kJBYCq/LFUyXzMpPCymiKXp+YCyYUVXs=; b=Fx/4f7STkEIANzRJiPBCRzKyUFpU+vxEZfZiBjqd9mFqdLOl3qk7w7AMkIpRc/ph6+6fan RFw6quXrgxYlaUOh/Gahx8pUHEMEzofnoFWTnkCwbxuk/objbjirRyiESn7TI8pcnNHqDz qhZ/4pfupcLr4bPciMY+Rx3tKXsypS8= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-544-dUP7BwDQONuho5YT4bpIJQ-1; Thu, 29 Aug 2024 10:51:32 -0400 X-MC-Unique: dUP7BwDQONuho5YT4bpIJQ-1 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-37189fc2977so513762f8f.0 for ; Thu, 29 Aug 2024 07:51:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724943091; x=1725547891; 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=o8hizAOpY+7kJBYCq/LFUyXzMpPCymiKXp+YCyYUVXs=; b=rUO4TkdcGAOYJsBtnuVHbbNNKcXupn03rSOsKWZmbJwHMAgiZTH8NEGv8kzCCrLBQf BTEHAJqHlJvHxX7ppCH3CnPzksaMA+pboW0SW8G+21Wmga0t6LqhbLApvsZW1qHDOYe9 1/k4BsFTt/5HDVAqi7etiRgBMTnW0X1HxvlhnBVIPuRddDGbOCeI/UOz6BPh5ybUekWy 4YWJgNgb2qlQLfQBnTU02D+e0dSSRwAz7ksme9OMIZkR4mQsp6EjySapbaS4POyXanBW N3JYdDUMFhmlHuHUWzYp02QS3MC7wGJaxY0OHfIAx8CWyOKqc2lf+Bnmwi0l/5bLV2xu zsLw== X-Forwarded-Encrypted: i=1; AJvYcCVXVFwz1+XQlfZ0uUy1+ZUFF8Q5pW4K6pvyuZwncSR7RgMoQ5mBJxZrDI/IxbBC1Vh3sChjZ4toF08=@lists.freedesktop.org X-Gm-Message-State: AOJu0YxTbBGgw43RfQwUog+XPA2J2V0oSN0psOHvtgJC7CwAEYT8R3rE 8qOMluSDnmVrTVpwVM6KYDstHXjHqc2eiB4YCahUT/teEo6TTYaqj9iJACeuZ/EAugd0/9n7cJ5 Pb4I0zEPfy+ZR3S72fWxEaTzq5vapmVsOpWdHpGm5naNC3p33lp+c4MYQgGJV28ss+w== X-Received: by 2002:a05:6000:1205:b0:36b:bb84:33e2 with SMTP id ffacd0b85a97d-3749b56157amr2160753f8f.37.1724943091339; Thu, 29 Aug 2024 07:51:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE6gzgcHYvgehEsl05HBBaQQHPASR2y09yuwyioLUAKciAMZLg1EbneAIKjRehHDFfy658nCg== X-Received: by 2002:a05:6000:1205:b0:36b:bb84:33e2 with SMTP id ffacd0b85a97d-3749b56157amr2160721f8f.37.1724943090788; Thu, 29 Aug 2024 07:51:30 -0700 (PDT) Received: from localhost ([2a01:e0a:b25:f902::ff]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb9593c32sm5996765e9.48.2024.08.29.07.51.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2024 07:51:30 -0700 (PDT) Date: Thu, 29 Aug 2024 16:51:29 +0200 From: Maxime Ripard To: Dave Airlie , Daniel Vetter Cc: Jani Nikula , Joonas Lahtinen , Tvrtko Ursulin , Rodrigo Vivi , Thomas Zimmermann , Maarten Lankhorst , Maxime Ripard , Thomas =?utf-8?q?Hellstr=C3=B6m?= , Oded Gabbay , Lucas De Marchi , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, dim-tools@lists.freedesktop.org Subject: [PULL] drm-misc-fixes Message-ID: <20240829-efficient-swift-from-lemuria-f60c05@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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, Here's this week drm-misc-fixes PR Maxime drm-misc-fixes-2024-08-29: A revert for a previous TTM commit causing stuttering, 3 fixes for vmwgfx related to buffer operations, a fix for video/aperture with non-VGA primary devices, and a preemption status fix for v3d The following changes since commit 9b340aeb26d50e9a9ec99599e2a39b035fac978e: nouveau/firmware: use dma non-coherent allocator (2024-08-16 03:42:24 +0200) are available in the Git repository at: https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-fixes-2024-08-29 for you to fetch changes up to 9d824c7fce58f59982228aa85b0376b113cdfa35: drm/v3d: Disable preemption while updating GPU stats (2024-08-28 11:36:53 -0300) ---------------------------------------------------------------- A revert for a previous TTM commit causing stuttering, 3 fixes for vmwgfx related to buffer operations, a fix for video/aperture with non-VGA primary devices, and a preemption status fix for v3d ---------------------------------------------------------------- Alex Deucher (2): Revert "drm/ttm: increase ttm pre-fault value to PMD size" video/aperture: optionally match the device in sysfb_disable() Tvrtko Ursulin (1): drm/v3d: Disable preemption while updating GPU stats Zack Rusin (3): drm/vmwgfx: Prevent unmapping active read buffers drm/vmwgfx: Fix prime with external buffers drm/vmwgfx: Disable coherent dumb buffers without 3d drivers/firmware/sysfb.c | 19 ++++-- drivers/gpu/drm/v3d/v3d_sched.c | 6 ++ drivers/gpu/drm/vmwgfx/vmwgfx_blit.c | 114 ++++++++++++++++++++++++++++++-- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 13 +++- drivers/gpu/drm/vmwgfx/vmwgfx_bo.h | 3 + drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 4 +- drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 12 ++-- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 6 +- drivers/of/platform.c | 2 +- drivers/video/aperture.c | 11 +-- include/drm/ttm/ttm_bo.h | 4 -- include/linux/sysfb.h | 4 +- 12 files changed, 161 insertions(+), 37 deletions(-)