Patchwork xserver-xf86-config: set DefaultDepth to 16 for qemumips

login
register
mail settings
Submitter Laurentiu Palcu
Date April 18, 2013, 4:01 p.m.
Message ID <1366300894-32484-1-git-send-email-laurentiu.palcu@intel.com>
Download mbox | patch
Permalink /patch/48523/
State Accepted
Commit 876e020be334a9350094dbd1a29b9e49eceed603
Headers show

Comments

Laurentiu Palcu - April 18, 2013, 4:01 p.m.
Apparently, the default qemumips color depth was set to 8 and the colors were not
displayed properly. cirrusfb driver doensn't seem to accept color depth
as a kernel parameter, so we have to do it here.

[YOCTO #4340]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
 .../xserver-xf86-config/qemumips/xorg.conf         |    1 +
 1 file changed, 1 insertion(+)
Saul Wold - April 18, 2013, 5:37 p.m.
On 04/18/2013 09:01 AM, Laurentiu Palcu wrote:
> Apparently, the default qemumips color depth was set to 8 and the colors were not
> displayed properly. cirrusfb driver doensn't seem to accept color depth
> as a kernel parameter, so we have to do it here.
>
> [YOCTO #4340]
>
> Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>

This make the image look much better!

Tested-by: Saul Wold <sgw@linux.intel.com>
> ---
>   .../xserver-xf86-config/qemumips/xorg.conf         |    1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf
> index 629ae21..e6c8b51 100644
> --- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf
> +++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf
> @@ -54,6 +54,7 @@ Section "Screen"
>       Identifier    "Default Screen"
>       Device        "Graphics Controller"
>       Monitor        "Generic Monitor"
> +    DefaultDepth  16
>       SubSection "Display"
>           Modes     "640x480"
>       EndSubSection
>

Patch

diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf
index 629ae21..e6c8b51 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf
@@ -54,6 +54,7 @@  Section "Screen"
     Identifier    "Default Screen"
     Device        "Graphics Controller"
     Monitor        "Generic Monitor"
+    DefaultDepth  16
     SubSection "Display"
         Modes     "640x480"
     EndSubSection