private NvInternalResult BindChannel(ref BindChannelArguments arguments) { var channelDeviceFile = INvDrvServices.DeviceFileIdRegistry.GetData <NvHostChannelDeviceFile>(arguments.Fd); if (channelDeviceFile == null) { // TODO: Return invalid Fd error. } channelDeviceFile.Channel.BindMemory(_asContext.Gmm); return(NvInternalResult.Success); }
private NvInternalResult BindChannel(ref BindChannelArguments arguments) { Logger.Stub?.PrintStub(LogClass.ServiceNv); return(NvInternalResult.Success); }