]> 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>
Mon, 5 Mar 2018 20:36:17 +0000 (15:36 -0500)
commit7fe81911914df7a2ab24b5773f2ff7d1a4ac3729
tree86c16e4b417e3f2c4ea823872817bfe39b5f297b
parent177dc41b20bb93c84cda76108feefc015d35b177
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