Displaying 3 results from an estimated 3 matches for "nvbios_imag".
Did you mean:
nvbios_image
2015 Oct 02
2
[PATCH] bios: fix OF loading
...2 read = mthd->func->read(data, start, limit - start, bios);
bios->size = start + read;
}
- return bios->size >= limit;
+ return bios->size >= upto;
}
static int
@@ -55,14 +55,22 @@ shadow_image(struct nvkm_bios *bios, int idx, u32 offset, struct shadow *mthd)
struct nvbios_image image;
int score = 1;
- if (!shadow_fetch(bios, mthd, offset + 0x1000)) {
- nvkm_debug(subdev, "%08x: header fetch failed\n", offset);
- return 0;
- }
+ if (mthd->func->no_pcir) {
+ image.base = 0;
+ image.type = 0;
+ image.size = mthd->func->size(mthd->data);
+...
2015 Oct 02
2
[PATCH] bios: fix OF loading
...gt; }
>> - return bios->size >= limit;
>> + return bios->size >= upto;
>> }
>>
>> static int
>> @@ -55,14 +55,22 @@ shadow_image(struct nvkm_bios *bios, int idx, u32
>> offset, struct shadow *mthd)
>> struct nvbios_image image;
>> int score = 1;
>>
>> - if (!shadow_fetch(bios, mthd, offset + 0x1000)) {
>> - nvkm_debug(subdev, "%08x: header fetch failed\n", offset);
>> - return 0;
>> - }
>> + if (mthd->func-...
2019 Jun 20
2
[PATCH] drm/nouveau: fix bogus GPL-2 license header
...clude/nvkm/subdev/bios/image.h
index 893288b060de..e13dc059a9ee 100644
--- a/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/image.h
+++ b/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/image.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: MIT */
#ifndef __NVBIOS_IMAGE_H__
#define __NVBIOS_IMAGE_H__
struct nvbios_image {
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/init.h b/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/init.h
index 744b1868e789..10df0215475e 100644
--- a/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/init.h
+++ b/drivers/...