linux/drivers/gpu/drm/nouveau/nvkm/falcon/priv.h
Ben Skeggs f15cde64b6 drm/nouveau/flcn: rework falcon reset
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>
2022-11-09 10:44:58 +10:00

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