linux-zen-server/drivers/gpu/drm/nouveau/nvkm/falcon/priv.h

14 lines
276 B
C
Raw Permalink Normal View History

2023-08-30 17:53:23 +02:00
/* SPDX-License-Identifier: MIT */
#ifndef __NVKM_FALCON_PRIV_H__
#define __NVKM_FALCON_PRIV_H__
#include <core/falcon.h>
static inline int
nvkm_falcon_enable(struct nvkm_falcon *falcon)
{
if (falcon->func->enable)
return falcon->func->enable(falcon);
return 0;
}
#endif