Skip to content

Commit 41607c3

Browse files
Jason-JH.LinChun-Kuang Hu
authored andcommitted
drm/mediatek: ovl: Remove the color format comment for ovl_fmt_convert()
Since we changed MACROs to be consistent with DRM input color format naming, the comment for ovl_fmt_conver() is no longer needed. Fixes: 9f428b9 ("drm/mediatek: Add new color format MACROs in OVL") Signed-off-by: Jason-JH.Lin <[email protected]> Reviewed-by: CK Hu <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://patchwork.kernel.org/project/dri-devel/patch/[email protected]/ Signed-off-by: Chun-Kuang Hu <[email protected]>
1 parent 28fbc32 commit 41607c3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/gpu/drm/mediatek/mtk_disp_ovl.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -389,11 +389,6 @@ void mtk_ovl_layer_off(struct device *dev, unsigned int idx,
389389
static unsigned int ovl_fmt_convert(struct mtk_disp_ovl *ovl, unsigned int fmt,
390390
unsigned int blend_mode)
391391
{
392-
/* The return value in switch "MEM_MODE_INPUT_FORMAT_XXX"
393-
* is defined in mediatek HW data sheet.
394-
* The alphabet order in XXX is no relation to data
395-
* arrangement in memory.
396-
*/
397392
switch (fmt) {
398393
default:
399394
case DRM_FORMAT_RGB565:

0 commit comments

Comments
 (0)