drm/amd/display: update plane params before validation
authorShirish S <shirish.s@amd.com>
Tue, 13 Feb 2018 08:45:17 +0000 (14:15 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Mar 2018 20:36:30 +0000 (15:36 -0500)
commita05bcff10426841351010e8648e4d9d95e9b65a1
tree20d788e070db409ecb4169a9779ea1399e75971f
parentc827206f7f78a33eff9496201c4122c246c87db3
drm/amd/display: update plane params before validation

This patch updates the dc's plane state with the parameters set by the
user side.
This is needed to validate the plane capabilities with the parameters
user space wants to set.

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/amdgpu_dm/amdgpu_dm.c