Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1529956rdh; Fri, 24 Nov 2023 15:37:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IFdwRX1YOl9rqZD07ldBjVmRxrl8uIXmO+fQ/d+6cAIOaJ/E7FxnHnwKelnFrtlPXi/eS7+ X-Received: by 2002:a17:90b:1c86:b0:280:cd7b:1fa5 with SMTP id oo6-20020a17090b1c8600b00280cd7b1fa5mr4692377pjb.4.1700869036627; Fri, 24 Nov 2023 15:37:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700869036; cv=none; d=google.com; s=arc-20160816; b=ZnWqNUMgCmYxInpFLeb1H6GQB8rdMeXNf9MZg9bj9RsUwEM3eVVYKDefcsmSFu0s42 bOBRzxKcngoVECPadUlC4A4ZSi+BXlZMW8zn/rAdGwZgWPH7olHwuALhQ9cN43kokgS6 z28oHHSU0KOjgNsBD/KlctwwUNyByD/fcKyF7Vs6Nljevp8tZZOqZZJtIj4o3FREo8fT RhJIEC0la7nZfTf89aJG9/10qDcerTtJxdhhPE0cBINI/E+AyfMkz3KwKqphjaKG4n1l 1jcmJo0/64YBmTXm6+xTyqMzVtcif2dPnOopLDY1xmTwFEcnZ51riHjNPDcwttqXo6HN bihg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ooa83XnZj65XHeDd7bgPYl/MTM8ubdS8C8vvyOuquTY=; fh=OEokdMqw5RbGHy9m78HSs9oFbRwlGySZx4sfUy7gRow=; b=o0BHHnSYVCQS93PD70Y/z1rhFzYpI5PjvLS7OkFNKgYqYdMUz4KQDyuygbvykHFWS1 FQ/v1Yuz7dZaThrS3KNFVbIEJCgza4VNiT9CTGGo+/U56wpJ9G5Xl9COpifytAbUJfDj 55F9N8U4HBnqLEtJaUTE1dhSnssm91SEEHSPFANHEZoT/mKU3Z+gEatdShKcdsh9tKCc Nv9hI7x36R0Jljg9Uvvg6VZT7pjn/fbzuOeTnqSqDZiAQv+YOcMu5eQeuGQjLgILGgkj i5msmzXfhbh4P/YyhWM4nMVuo9uYJvUcYz/HqzT33xR2uEhvAlDAx/jSO+6ZJ94EoDEi wpRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="GQBD/kKa"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id ms3-20020a17090b234300b0028016799242si5100675pjb.80.2023.11.24.15.37.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 15:37:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="GQBD/kKa"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 9C1628042D2A; Fri, 24 Nov 2023 15:37:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231574AbjKXXgy (ORCPT + 99 others); Fri, 24 Nov 2023 18:36:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229557AbjKXXgx (ORCPT ); Fri, 24 Nov 2023 18:36:53 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74AD11987 for ; Fri, 24 Nov 2023 15:37:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700869019; 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; bh=ooa83XnZj65XHeDd7bgPYl/MTM8ubdS8C8vvyOuquTY=; b=GQBD/kKaSHHhAo96x70dzi7QBsygR+DT9dHk8VnmIK2A4CGe50/AVVKmBwmTjFcaKIBSPw lBprPc3GkMHXSuckxsh5EzcIsRQCUTtfUP363OIAA3zedETKFrFjcHjMxBSysJ4+YIiDfk RvoQOP+fDkNrqVnz+/5Eb2ORGWP2SfY= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-205-hJOb4cd1Pmeefn1WnDxRyg-1; Fri, 24 Nov 2023 18:36:58 -0500 X-MC-Unique: hJOb4cd1Pmeefn1WnDxRyg-1 Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-9fa63374410so189354166b.1 for ; Fri, 24 Nov 2023 15:36:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700869017; x=1701473817; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ooa83XnZj65XHeDd7bgPYl/MTM8ubdS8C8vvyOuquTY=; b=rv1Nx4VR+f7SiAgzHw0qTY7lhiprHZmFwMgdYsFk+UuWxAzvquNlBGQOUcBzGMLbHf Bqr95/4jJrO8Z8s48QONfLQz/8qf3t19ymwy475YqNGqFpb1rSt1MTUSDgWYiuVJMkck VkKt+6lWFEnsHH1DYag6R4YyqHPnNCYU5Lgfz+jlgHmi8hLjsT7vPY54YL/hCUDnTMcJ sibMVy6EAeyduyy1QJsJp+m5K81vD352E0kLRCRo4rHmrSrFg90XT3bsybgBWqtYP83K GVXnJLTE4010SL3NSc2TV2d0fLOTN2XvIWU6VTU8V7rx4axqr+PAX73J7ZNgD5a4snVp bHGA== X-Gm-Message-State: AOJu0YxZzvsVwvyEFr5Pp2VFDRZXy2iDAHKr6xnSSoYybdkh0pDgNnGv Vn1S+fx0UkZqyV6v/ctZmNDk5Ecc0ZP+lZAKqUZm2vCnLGu/CXflQ+U0b9o44urhS51Dkf7grQ/ NtprXMM/l7vNMHdQq/HcoAOhhtptji3EY X-Received: by 2002:a17:907:1c82:b0:9b2:cf77:a105 with SMTP id nb2-20020a1709071c8200b009b2cf77a105mr4022197ejc.15.1700869016942; Fri, 24 Nov 2023 15:36:56 -0800 (PST) X-Received: by 2002:a17:907:1c82:b0:9b2:cf77:a105 with SMTP id nb2-20020a1709071c8200b009b2cf77a105mr4022180ejc.15.1700869016658; Fri, 24 Nov 2023 15:36:56 -0800 (PST) Received: from pollux.. ([2a02:810d:4b3f:de9c:abf:b8ff:feee:998b]) by smtp.gmail.com with ESMTPSA id a1-20020a1709064a4100b00a0b6b09b4cbsm150109ejv.8.2023.11.24.15.36.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 15:36:56 -0800 (PST) From: Danilo Krummrich To: mripard@kernel.org, airlied@gmail.com, daniel@ffwll.ch, frank.binns@imgtec.com, donald.robson@imgtec.com, matt.coster@imgtec.com, sarah.walker@imgtec.com Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Danilo Krummrich Subject: [PATCH drm-misc-next 0/5] PowerVR VM fixes Date: Sat, 25 Nov 2023 00:36:35 +0100 Message-ID: <20231124233650.152653-1-dakr@redhat.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 24 Nov 2023 15:37:13 -0800 (PST) Hi, Some major GPUVM changes landed just before v8 of the PowerVR series. Since v8 went in rather quickly (review process was finished otherwise) I haven't had the chance to review the subsequent code changes. Hence, this series with a few fixes in this context. Plus a minor GPUVM patch to make the drm_gpuvm_prepare_* helpers useful for PowerVR. - Danilo Danilo Krummrich (5): drm/imagination: vm: prevent duplicate drm_gpuvm_bo instances drm/imagination: vm: check for drm_gpuvm_range_valid() drm/imagination: vm: fix drm_gpuvm reference count drm/gpuvm: fall back to drm_exec_lock_obj() drm/imagination: vm: make use of GPUVM's drm_exec helper drivers/gpu/drm/drm_gpuvm.c | 36 ++++++++++++++++++++-- drivers/gpu/drm/imagination/pvr_vm.c | 46 +++++++++++++++------------- drivers/gpu/drm/imagination/pvr_vm.h | 3 +- include/drm/drm_gpuvm.h | 23 ++------------ 4 files changed, 63 insertions(+), 45 deletions(-) base-commit: 46990918f35c1bf6e367cf8e0423e7344fec9fcb -- 2.42.0