From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0DB3C31960A for ; Wed, 15 Apr 2026 16:20:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776270019; cv=none; b=stj8rZNA/CTYwT++2Ft/qlTaCNvoameHQjOYaKxPU/6iJwsxBwQZHemJoZIagZXHCYVfb8tl88frop3zfZSadAoM7BeUbC0Y5RiKQHhftCS29SyvUH14fMVEjVxGExIucVfoxG/oVmnCca1RnOvYn1RhR+hPEdgJsz/LgCnMFp4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776270019; c=relaxed/simple; bh=m4YfnDIbCi7BXmV+lau7F/ghCdmY+G7YbxewybdrT2k=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=CSxlA5yLBCOsBJoQOvP9A68H8AN8KhDaLuySBNn4OS+kjGaYmuKl9SNWcNu3+ET9dslZp4Got7Vq0nthf6WvvlQoOaagamBrU5VzZhXRsZzkUTkLkbHSmIor69RpoQpBHZHp4rcwZ+m8pOI2ijV2mhJO2E6i0AOCBbLqwXeh7Bc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=jQt70s4Z; arc=none smtp.client-ip=192.198.163.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="jQt70s4Z" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1776270018; x=1807806018; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=m4YfnDIbCi7BXmV+lau7F/ghCdmY+G7YbxewybdrT2k=; b=jQt70s4ZD7/Tn7jrSJ5fPQ2eSdG2a65q9NBUIYgl8bF9FJ50EuE8vZGb mHt06MdRzyNbf2/qgXw24W7msNPZWXnRQOTO2+9FAUkv4UyVglP/O4SF+ edZThXLsGSztKBaAag74iY79JKlvDX08N4qKkTE4/So5ESX4H/t5lz71C oOAk6CVkCtsCHf/iCyfGFgKp8sBt4FaZsU573esHE5ylHPW6nyH/HDK2x QbWyLely2I7YCI+KwE8yQS6SIWURJY7s60uLywonLWMHsN9eGsPiFkoya 8IBeBwHPaWYxG9rq+IksS7wu7yD+ryxqJ4v6QbS61DaLW8viLJ1ursqV/ w==; X-CSE-ConnectionGUID: DwkHu5SbQFiWoRaHXaC12A== X-CSE-MsgGUID: HzFlMydTSF6H3eZwMyMadQ== X-IronPort-AV: E=McAfee;i="6800,10657,11760"; a="94825377" X-IronPort-AV: E=Sophos;i="6.23,179,1770624000"; d="scan'208";a="94825377" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2026 09:20:09 -0700 X-CSE-ConnectionGUID: yWeGjXwYR1y2LwoFVhcMbA== X-CSE-MsgGUID: qVPLAql/R8iGq5jKthnWiw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,179,1770624000"; d="scan'208";a="253883302" Received: from mjarzebo-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.246.25]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2026 09:20:05 -0700 From: Jani Nikula To: =?utf-8?Q?Adri=C3=A1n?= Larumbe Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Steven Price , Boris Brezillon , kernel@collabora.com, Liviu Dudau , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter Subject: Re: [PATCH v7 6/6] drm/panthor: Bump the driver version to 1.9 In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs Bertel Jungin Aukio 5, 02600 Espoo, Finland References: <20260415112900.681834-1-adrian.larumbe@collabora.com> <20260415112900.681834-7-adrian.larumbe@collabora.com> <65fecdade3d25886c2c110d399517408b7a8ea34@intel.com> Date: Wed, 15 Apr 2026 19:20:02 +0300 Message-ID: <204ed6d8712c571a570ce3298b9d586939cd4918@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, 15 Apr 2026, Adri=C3=A1n Larumbe wro= te: > Hi Jani, > > On 15.04.2026 16:54, Jani Nikula wrote: >> On Wed, 15 Apr 2026, Adri=C3=A1n Larumbe = wrote: >> > Bump the driver version to reflect the new MMU info query ioctl >> > parameter and the VM_BIND map sparse flag. >> >> You're not actually bumping the version, just adding to the comment. > > Forgot to increase the driver's minor revision number, thanks for the cat= ch. > >> Does the version actually work for you for checking stuff? Do you have >> userspace checking it? Should it be some capability thing instead? > > We absolutely need it because the UMD must be compatible with previous ke= rnel versions, > which means in the case of sparse mappings, the old method of creating th= e dummy BO > in user mode and then having the Mesa driver do repeated mappings over it= through > successive VM_BIND ioctl's must be available. Okay, I was just wondering as the last time we bumped i915 version was nearly 20 years ago. ;D BR, Jani. > >> BR, >> Jani. >> >> > >> > Signed-off-by: Adri=C3=A1n Larumbe >> > --- >> > drivers/gpu/drm/panthor/panthor_drv.c | 2 ++ >> > 1 file changed, 2 insertions(+) >> > >> > diff --git a/drivers/gpu/drm/panthor/panthor_drv.c b/drivers/gpu/drm/p= anthor/panthor_drv.c >> > index a8090bc4e33c..c8fb63ede62c 100644 >> > --- a/drivers/gpu/drm/panthor/panthor_drv.c >> > +++ b/drivers/gpu/drm/panthor/panthor_drv.c >> > @@ -1787,6 +1787,8 @@ static void panthor_debugfs_init(struct drm_mino= r *minor) >> > * - adds DRM_IOCTL_PANTHOR_BO_QUERY_INFO ioctl >> > * - adds drm_panthor_gpu_info::selected_coherency >> > * - 1.8 - extends DEV_QUERY_TIMESTAMP_INFO with flags >> > + * - 1.9 - adds DRM_PANTHOR_DEV_QUERY_MMU_INFO query >> > + * - adds DRM_PANTHOR_VM_BIND_OP_MAP_SPARSE flag >> > */ >> > static const struct drm_driver panthor_drm_driver =3D { >> > .driver_features =3D DRIVER_RENDER | DRIVER_GEM | DRIVER_SYNCOBJ | >> >> -- >> Jani Nikula, Intel > > Adrian Larumbe --=20 Jani Nikula, Intel