[PATCH 1/6] habanalabs: add helper function to get vm hash node

Stanislaw Gruszka stanislaw.gruszka at linux.intel.com
Wed Mar 1 13:20:46 UTC 2023


On Mon, Feb 27, 2023 at 01:13:01PM +0200, Oded Gabbay wrote:
> From: Tomer Tayar <ttayar at habana.ai>
> 
> Add a helper function to search the vm hash for a node with a given
> virtual address.
> As opposed to the current code, this function explicitly returns NULL
> when no node is found, instead of basing on the loop cursor object's
> value.
> 
> Signed-off-by: Tomer Tayar <ttayar at habana.ai>
> Reviewed-by: Oded Gabbay <ogabbay at kernel.org>
> Signed-off-by: Oded Gabbay <ogabbay at kernel.org>

Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka at linux.intel.com>



More information about the dri-devel mailing list