aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/include/nvkm/core/firmware.h
blob: 383370c3242807b154f3ac8d1cf845cb22ae71ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: MIT */
#ifndef __NVKM_FIRMWARE_H__
#define __NVKM_FIRMWARE_H__
#include <core/subdev.h>

int nvkm_firmware_get_version(const struct nvkm_subdev *, const char *fwname,
			      int min_version, int max_version,
			      const struct firmware **);
int nvkm_firmware_get(const struct nvkm_subdev *, const char *fwname,
		      const struct firmware **);
void nvkm_firmware_put(const struct firmware *);
#endif