]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/amd/display: validate plane format on primary plane
authorShirish S <shirish.s@amd.com>
Wed, 7 Mar 2018 07:06:11 +0000 (12:36 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Mar 2018 21:31:19 +0000 (16:31 -0500)
commit4a53d9045ec31f3f97719c2e41cc8b2e7151a1fe
tree6b175a487a892e19687d6bc564a724b69d72b418
parentf8bee6135e167f5b35b7789c74c2956dad14d0d5
drm/amd/display: validate plane format on primary plane

In dce110, the plane configuration is such that plane 0
or the primary plane should be rendered with only RGB data.

This patch adds the validation to ensure that no video data
is rendered on plane 0.

Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c