mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-10 15:54:39 +08:00
drm/nouveau/bios/init: bump script offset to 32-bits
No (known) case yet, but other tables have been moving beyond 16-bits, so we may as well be prepared. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
2195a22f6d
commit
ca9c2d5b28
@ -4,7 +4,7 @@
|
||||
struct nvbios_init {
|
||||
struct nvkm_subdev *subdev;
|
||||
struct nvkm_bios *bios;
|
||||
u16 offset;
|
||||
u32 offset;
|
||||
|
||||
struct dcb_output *outp;
|
||||
union {
|
||||
@ -15,8 +15,8 @@ struct nvbios_init {
|
||||
/* internal state used during parsing */
|
||||
u8 execute;
|
||||
u32 nested;
|
||||
u16 repeat;
|
||||
u16 repend;
|
||||
u32 repeat;
|
||||
u32 repend;
|
||||
u32 ramcfg;
|
||||
};
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include <subdev/vga.h>
|
||||
|
||||
#define bioslog(lvl, fmt, args...) do { \
|
||||
nvkm_printk(init->subdev, lvl, info, "0x%04x[%c]: "fmt, \
|
||||
nvkm_printk(init->subdev, lvl, info, "0x%08x[%c]: "fmt, \
|
||||
init->offset, init_exec(init) ? \
|
||||
'0' + (init->nested - 1) : ' ', ##args); \
|
||||
} while(0)
|
||||
|
Loading…
Reference in New Issue
Block a user