]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: fix dml handling of mono8/16 pixel formats
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Tue, 17 Jul 2018 21:15:48 +0000 (17:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:15 +0000 (11:10 -0500)
commitf137586b2b2bb3ea0b9886b0929055ddef5a32f4
tree0f0ba19e41b99fa88d819c36c058db2946f99160
parentc4621988d49785849a9fa817721d960798d14e19
drm/amd/display: fix dml handling of mono8/16 pixel formats

mono formats are treated exactly the same as equivallent bpp
444 formats. Dml validation however lacks 444 8 bit format
while dml perf param calculation lacks mono format support

This change makes them equivallent as far as the enum is concerned
to avoid having to update dml

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/display_mode_enums.h