OSDN Git Service

drm/amd/display: Unify amdgpu_dm state variable namings.
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Thu, 12 Oct 2017 21:15:09 +0000 (17:15 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 17 Oct 2017 00:42:56 +0000 (10:42 +1000)
commit54d76575246798f5f42ca56fe5d54d1f195198b2
tree1d8dccc5e675167a1d539d7d7b9b01d9cfc80aab
parentc2cea7063b85fc2bcec92997a808f1d3a16f8052
drm/amd/display: Unify amdgpu_dm state variable namings.

Use dm_new_*_state and dm_old_*_state for their respective amdgpu_dm new
and old object states. Helps with readability, and enforces use of new
DRM api (choose either new, or old).

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c