OSDN Git Service

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)
commit10eee2e873ec8bc0cad6240d57d130e00edd6a9f
tree449c4a5449ec7aad23030541cb8ab08b7196b175
parent843e3c7df6bdd68cb0551875023236cbfe8c4c9d
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