Linux-libre 5.4.47-gnu
[librecmc/linux-libre.git] / drivers / gpu / drm / nouveau / include / nvkm / core / firmware.h
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVKM_FIRMWARE_H__
3 #define __NVKM_FIRMWARE_H__
4 #include <core/subdev.h>
5
6 int nvkm_firmware_get_version(const struct nvkm_subdev *, const char *fwname,
7                               int min_version, int max_version,
8                               const struct firmware **);
9 int nvkm_firmware_get(const struct nvkm_subdev *, const char *fwname,
10                       const struct firmware **);
11 void nvkm_firmware_put(const struct firmware *);
12 #endif