drm/amdgpu/poweprlay: export program display gap function to eventmgr
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 16 Oct 2015 06:55:03 +0000 (14:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 21:42:19 +0000 (16:42 -0500)
commit6f3bf7474ceaa6f799b1d0be5cd6becaebe3c4f9
treea1152bf126873949e97faddb584a1f2bcbbb3f23
parente8c7de5bf6f69e7bf3bf2d2aac64daa97e51d36c
drm/amdgpu/poweprlay: export program display gap function to eventmgr

This allows the eventmgr to properly update the displaygap on
certain power events.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c
drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h