drm/amd/display: Handle persistence in DM
authorJaehyun Chung <jaehyun.chung@amd.com>
Tue, 28 Apr 2020 16:41:54 +0000 (12:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 May 2020 18:00:47 +0000 (14:00 -0400)
commit1810f441ae112b0d44fe52ab4147eb768084e978
tree940a01473ee2318bc2ea8dba096a528f6ec6eebe
parent9ca1f474cea0edc14a1d7ec933e5472c0ff115d3
drm/amd/display: Handle persistence in DM

[Why]
Remove dm_write_persistent_data and dm_read_persistent_data as
persistence should be handled in DM.

[How]
Remove functions. Move read/write calls into DM layer while maintaining
logic.

Signed-off-by: Jaehyun Chung <jaehyun.chung@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
drivers/gpu/drm/amd/display/dc/dm_services.h
drivers/gpu/drm/amd/display/modules/inc/mod_stats.h