aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_bios.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-03-06 22:22:50 -0500
committerBen Skeggs <bskeggs@redhat.com>2012-03-13 03:15:01 -0400
commit4489b9835a0867617a9ec29cc978a9c2c9eca363 (patch)
treecb10335dc40bce38cff2620894f2caaf30a1fdde /drivers/gpu/drm/nouveau/nouveau_bios.h
parent05a7c15d48ff53b054bc36fc8a2be8bc9b60d9e7 (diff)
drm/nouveau/bios: rework vbios shadowing
Refactored to allow shadowing of VBIOS images longer than 64KiB, which allows us to pass the VBIOS checksum test on certain boards. There's also a workaround for reading the PROM VBIOS on some chipsets. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_bios.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_bios.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.h b/drivers/gpu/drm/nouveau/nouveau_bios.h
index 0fc4e21c748b..1f3233df00e6 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bios.h
+++ b/drivers/gpu/drm/nouveau/nouveau_bios.h
@@ -211,6 +211,8 @@ struct nvbios {
211 NVBIOS_BIT 211 NVBIOS_BIT
212 } type; 212 } type;
213 uint16_t offset; 213 uint16_t offset;
214 uint32_t length;
215 uint8_t *data;
214 216
215 uint8_t chip_version; 217 uint8_t chip_version;
216 218
@@ -221,8 +223,6 @@ struct nvbios {
221 223
222 spinlock_t lock; 224 spinlock_t lock;
223 225
224 uint8_t data[NV_PROM_SIZE];
225 unsigned int length;
226 bool execute; 226 bool execute;
227 227
228 uint8_t major_version; 228 uint8_t major_version;