]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 7 Mar 2018 21:27:02 +0000 (16:27 -0500)
commit6c8e5dabf1f52a3e9dc6d0b972cf0b6919316218
tree342454e1b7ef30ac4edf394e536d358ef82ab04e
parentba7a51017fa29c54c976a791fe160bbb037957f7
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