]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: validate plane in dce110 for scaling
authorShirish S <shirish.s@amd.com>
Tue, 13 Feb 2018 08:41:37 +0000 (14:11 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Mar 2018 21:27:01 +0000 (16:27 -0500)
commitba7a51017fa29c54c976a791fe160bbb037957f7
tree449c4a5449ec7aad23030541cb8ab08b7196b175
parent74f138dbab2d6a8a9206d7158464d6ae83d611fd
drm/amd/display: validate plane in dce110 for scaling

CZ & ST support uptil a limit 2:1 downscaling, this patch
adds validate_plane hook, that shall be used to validate
the plane attributes sent by the user space based
on dce110 capabilities.

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