mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Mostly preparation to fit in Ampere changes, but should result in reset sequences a lot closer to RM's, and perhaps help out with the issues we sometimes see reported in this area. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
13 lines
276 B
C
13 lines
276 B
C
/* 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
|