diff --git a/device/testing/linux-samsung-zeroltexx/01-fix-red-blue.patch b/device/testing/linux-samsung-zeroltexx/01-fix-red-blue.patch new file mode 100644 index 0000000000000000000000000000000000000000..371a6bf3f82183896e1858d431c5ee4d61fe7c4a --- /dev/null +++ b/device/testing/linux-samsung-zeroltexx/01-fix-red-blue.patch @@ -0,0 +1,16 @@ +--- a/drivers/video/exynos/decon/decon-int_drv.c ++++ b/drivers/video/exynos/decon/decon-int_drv.c +@@ -600,11 +600,11 @@ + 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; + diff --git a/device/testing/linux-samsung-zeroltexx/APKBUILD b/device/testing/linux-samsung-zeroltexx/APKBUILD index 39a1627322a384864753f967711fa6c510a51c14..c3ea93a77c10cd81209075abace1af4bdccabc68 100644 --- a/device/testing/linux-samsung-zeroltexx/APKBUILD +++ b/device/testing/linux-samsung-zeroltexx/APKBUILD @@ -20,6 +20,7 @@ _config="config-$_flavor.$arch" source=" $pkgname-$_commit.tar.gz::https://github.com/Exynos7420/$_repository/archive/$_commit.tar.gz $_config + 01-fix-red-blue.patch 02-fix-wifi-firmware-path.patch 03-fix-fimc-is-firmware-path.patch Makefile_fix_paths.patch @@ -56,6 +57,7 @@ package() { sha512sums="1f8917dfaf01865cbc0385579cad1565dcb1ec4445bbeaf3e70d0bd8a6a572a457813c311f54360f54c79b373e621d280982f560cf01091d156c90efcc98067b linux-samsung-zeroltexx-31cf7c95814358c4cd76feacf2f29bebc057fefc.tar.gz 03ea06fb2cf3830fcd581fe0204e48e4b8193e90c66be91b7cd52731cf7280bfa359cca66e6667349fae470030ca0d5db0684fcf6d9438bafcf7b6509f264ca6 config-samsung-zeroltexx.aarch64 +f3e4770bb251efefce312986eeec6c5a8a55066c5408cdd10e00ab2657a4bff155da6a19155ceaf39c5f34cc02cbbb7866aa7b4e65c33cdd3cff4590fadba2a4 01-fix-red-blue.patch 9afbb020311f0bf8043f021292d0f05041ff4e29003bf2114dfc31906869f44dbf15ff560170bc9e9baf62d7bb4ed73d58415212fecac6f1bdd6886783b0fcc1 02-fix-wifi-firmware-path.patch c98a074f46376936493b74285632cf38818bdb9d5e7b70b5b291aa8774711a93f352cb569d856215ebc75a33f819a8ce6cd5ccbee506d0a81141938924cf45e3 03-fix-fimc-is-firmware-path.patch 00aac98cfbaa68bd30c41622b12f38106f6595e2d74ee5cdd05add56f03facb4db45deb43b5df997143b54497d621b9fc5bae7207898c70df0672ebb482c4b46 Makefile_fix_paths.patch