drm/amd/display: Use drm helper for resetting plane state
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Thu, 28 Feb 2019 18:38:13 +0000 (13:38 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Mar 2019 04:39:48 +0000 (23:39 -0500)
commit7ddaef96cd30c340839926e8ad4f755a1864e338
treee91ed147b29cbad09049b0f836edf7510501fdc5
parent335d5d7bbd3c4fe71ae765ad106d21b39ba85fd1
drm/amd/display: Use drm helper for resetting plane state

[Why]
To help prevent plane state not being set to the correct default
value if any new properties are added in the future.

[How]
Use the drm helper - which seems to be the common solution among other
DRM drivers.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Sun peng Li <Sunpeng.Li@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c