From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9627F1802A8 for ; Mon, 12 Aug 2024 14:37:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723473427; cv=none; b=dLXKKEhCfBiifUUT7gZcTqpseatdfG+pghgzFatEbT5pFGzdU5T/rc/61Ug5KGLptXcrdCD7LZUssNp+ymLiimBUleY4iSpGBRxw2Gt/ByMHMA+SSFa1mTd6Abz96Ds5ZiiEjHkM7YUnxlyhx+ywSzstze+06fBifecs/WbWSv8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723473427; c=relaxed/simple; bh=+QJNAmpXeXrMjj/F77VosrPUGAzQ3GOmpFswvKp9RU4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ieeeqnieKpaoyZSwpB5Dm+fp1mB38lnhIPwE+CDvQ5hm2s2BpWibhATMsqjygg4Rs3F9vjMnBSCHgHJJ4vtNUc/5fqfs1dSORb7740ilQvAGuwYVoOG+WjvN3REloRQ4Gmaagr7LC87B5elyCWD+jn1JG/w5FzHO7M8kjVpvaaU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cVAIXTZw; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="cVAIXTZw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5366C32782; Mon, 12 Aug 2024 14:37:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723473427; bh=+QJNAmpXeXrMjj/F77VosrPUGAzQ3GOmpFswvKp9RU4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cVAIXTZwQPqIyX0UF8BP9eINeBoBQ9FtK0D9YSgCG1sUpsJhTnculU6RmUupNVZFA YFZvVh9kixX93P0Vf7ItXafH+uIxc5CthqMADHTL5p+VlvB4Cubp0KQaeqI9L3UGBJ RUC23ggREpPuNW7uRcmnALvEkcBcdaw6ofWPq12I= Date: Mon, 12 Aug 2024 16:37:04 +0200 From: Greg KH To: Danilo Krummrich Cc: stable@vger.kernel.org, Dave Airlie , Danilo Krummrich Subject: Re: [PATCH 6.6.y] nouveau: set placement to original placement on uvmm validate. Message-ID: <2024081257-smile-moonshine-d6a5@gregkh> References: <2024080722-overlying-unmasking-3eb7@gregkh> <20240807160341.2476-2-dakr@kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240807160341.2476-2-dakr@kernel.org> On Wed, Aug 07, 2024 at 06:03:42PM +0200, Danilo Krummrich wrote: > From: Dave Airlie > > When a buffer is evicted for memory pressure or TTM evict all, > the placement is set to the eviction domain, this means the > buffer never gets revalidated on the next exec to the correct domain. > > I think this should be fine to use the initial domain from the > object creation, as least with VM_BIND this won't change after > init so this should be the correct answer. > > Fixes: b88baab82871 ("drm/nouveau: implement new VM_BIND uAPI") > Cc: Danilo Krummrich > Cc: # v6.6 > Signed-off-by: Dave Airlie > Signed-off-by: Danilo Krummrich > Link: https://patchwork.freedesktop.org/patch/msgid/20240515025542.2156774-1-airlied@gmail.com > (cherry picked from commit 9c685f61722d30a22d55bb8a48f7a48bb2e19bcc) > Signed-off-by: Danilo Krummrich > --- > drivers/gpu/drm/nouveau/nouveau_uvmm.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) Now queued up, thanks. greg k-h