05b83e72d9
This commit introduces a new GetDeviceHandle API to the driver interface, allowing retrieval of the device handle for a specific node. - Implemented GetDeviceHandle in KfdDriver to fetch the AMD GPU device handle using hsaKmtGetAMDGPUDeviceHandle. - Added a stub implementation of GetDeviceHandle in XdnaDriver that returns HSA_STATUS_ERROR. - Modified GpuAgent::InitLibDrm to use driver().GetDeviceHandle instead of directly calling hsaKmtGetAMDGPUDeviceHandle. Signed-off-by: Honglei Huang <Honglei1.Huang@amd.com>