Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / include / nvfw / hs.h
blob64d0d32200c22597fda3d3f8852f1da945377706
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVFW_HS_H__
3 #define __NVFW_HS_H__
4 #include <core/os.h>
5 struct nvkm_subdev;
7 struct nvfw_hs_header {
8 u32 sig_dbg_offset;
9 u32 sig_dbg_size;
10 u32 sig_prod_offset;
11 u32 sig_prod_size;
12 u32 patch_loc;
13 u32 patch_sig;
14 u32 hdr_offset;
15 u32 hdr_size;
18 const struct nvfw_hs_header *nvfw_hs_header(struct nvkm_subdev *, const void *);
20 struct nvfw_hs_load_header {
21 u32 non_sec_code_off;
22 u32 non_sec_code_size;
23 u32 data_dma_base;
24 u32 data_size;
25 u32 num_apps;
26 u32 apps[0];
29 const struct nvfw_hs_load_header *
30 nvfw_hs_load_header(struct nvkm_subdev *, const void *);
31 #endif