pmaports/device/testing/linux-samsung-a5xelte/fix-argb.patch
BO41 c15140f695
samsung-a5xelte: new device (MR 2413)
[ci:skip-build] already built successfully in CI
2021-08-30 21:28:08 -07:00

19 lines
703 B
Diff

Based on Error1001's patch, 02-fix-video-argb-setting.patch
diff --git a/drivers/video/exynos/decon_7580/decon-int_drv.c b/drivers/video/exynos/decon_7580/decon-int_drv.c
index c37ec143..27375b6f 100755
--- a/drivers/video/exynos/decon_7580/decon-int_drv.c
+++ b/drivers/video/exynos/decon_7580/decon-int_drv.c
@@ -453,11 +453,11 @@ int decon_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
case 24:
/* our 24bpp is unpacked, so 32bpp */
var->bits_per_pixel = 32;
- var->red.offset = 16;
+ var->red.offset = 0;
var->red.length = 8;
var->green.offset = 8;
var->green.length = 8;
- var->blue.offset = 0;
+ var->blue.offset = 16;
var->blue.length = 8;
break;