diff --git a/[refs] b/[refs] index e77a6979d4ed..7373b2091403 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7726e9e10fc6e026ed2dc00e48f4a3ffc1254ad2 +refs/heads/master: d2d58384fc5d4c0fe2d8e34bc2d15a90a9bb372a diff --git a/trunk/arch/i386/boot/video.S b/trunk/arch/i386/boot/video.S index 0587477c99f2..02bf625a681b 100644 --- a/trunk/arch/i386/boot/video.S +++ b/trunk/arch/i386/boot/video.S @@ -97,6 +97,7 @@ #define PARAM_VESAPM_OFF 0x30 #define PARAM_LFB_PAGES 0x32 #define PARAM_VESA_ATTRIB 0x34 +#define PARAM_CAPABILITIES 0x36 /* Define DO_STORE according to CONFIG_VIDEO_RETAIN */ #ifdef CONFIG_VIDEO_RETAIN @@ -233,6 +234,10 @@ mopar_gr: movw 18(%di), %ax movl %eax, %fs:(PARAM_LFB_SIZE) +# store mode capabilities + movl 10(%di), %eax + movl %eax, %fs:(PARAM_CAPABILITIES) + # switching the DAC to 8-bit is for <= 8 bpp only movw %fs:(PARAM_LFB_DEPTH), %ax cmpw $8, %ax diff --git a/trunk/drivers/video/vesafb.c b/trunk/drivers/video/vesafb.c index a272592b0373..1ca80264c7b0 100644 --- a/trunk/drivers/video/vesafb.c +++ b/trunk/drivers/video/vesafb.c @@ -19,6 +19,7 @@ #include #include #include +#include