diff options
author | Leo (Sunpeng) Li <sunpeng.li@amd.com> | 2017-06-01 15:29:42 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 18:07:46 -0400 |
commit | 9c42df59e44fd44cd84fe9ccd64f9f2942164d0f (patch) | |
tree | 639486754320e54e51c3dda5ddf11eac76fc56b1 /drivers/gpu/drm | |
parent | 5970f2aecc558ce2e04565ff082d9b78144fc714 (diff) | |
download | linux-9c42df59e44fd44cd84fe9ccd64f9f2942164d0f.tar.bz2 |
drm/amd/display: Remove unsupported RGB formats
Do not broadcast (to DRM) unsupported RGB formats.
Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c index b99f6ef499d1..165f91fa1206 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c @@ -1527,11 +1527,6 @@ static const struct drm_plane_helper_funcs dm_plane_helper_funcs = { * check will succeed, and let DC to implement proper check */ static uint32_t rgb_formats[] = { - DRM_FORMAT_XRGB4444, - DRM_FORMAT_ARGB4444, - DRM_FORMAT_RGBA4444, - DRM_FORMAT_ARGB1555, - DRM_FORMAT_RGB565, DRM_FORMAT_RGB888, DRM_FORMAT_XRGB8888, DRM_FORMAT_ARGB8888, |