mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
Revert "drm: force ARGB8888 format to osd display"
PD#152825: Revert "drm: force ARGB8888 format to osd display"
This reverts commit 63a6fdd4fa.
Change-Id: Icc99d5ec3bcbf6e879bedf9385b4b56be679741b
Signed-off-by: Yalong Liu <yalong.liu@amlogic.com>
This commit is contained in:
@@ -90,11 +90,7 @@ void am_osd_do_display(
|
||||
|
||||
switch (fb->pixel_format) {
|
||||
case DRM_FORMAT_XRGB8888:
|
||||
/*
|
||||
*force convert to ARGB8888 format,
|
||||
*because overlay layer needs to display
|
||||
*/
|
||||
format = COLOR_INDEX_32_ARGB;
|
||||
format = COLOR_INDEX_32_XRGB;
|
||||
break;
|
||||
case DRM_FORMAT_XBGR8888:
|
||||
format = COLOR_INDEX_32_XBGR;
|
||||
|
||||
Reference in New Issue
Block a user