drm/amdgpu: rename amdgpu_update_display_priority
authorSamuel Li <Samuel.Li@amd.com>
Fri, 19 Jan 2018 20:28:27 +0000 (15:28 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:27 +0000 (14:18 -0500)
Rename as amdgpu_display_update_priority for consistency.

Signed-off-by: Samuel Li <Samuel.Li@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c

index b7c60bb4457dcd190d7d62f68e4df53f370e7e95..8cf2e03f08f97983e9320ef4e4e5048cef57e870 100644 (file)
@@ -1833,7 +1833,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
                              struct amdgpu_job* job, bool force);
 void amdgpu_device_pci_config_reset(struct amdgpu_device *adev);
 bool amdgpu_device_need_post(struct amdgpu_device *adev);
-void amdgpu_update_display_priority(struct amdgpu_device *adev);
+void amdgpu_display_update_priority(struct amdgpu_device *adev);
 
 void amdgpu_cs_report_moved_bytes(struct amdgpu_device *adev, u64 num_bytes,
                                  u64 num_vis_bytes);
index a0a7b94a6496070db90876b6f1cfcf7e63d6e933..3470e9cf673be88f97df546833afb8731250ef4c 100644 (file)
@@ -646,7 +646,7 @@ int amdgpu_display_modeset_create_props(struct amdgpu_device *adev)
        return 0;
 }
 
-void amdgpu_update_display_priority(struct amdgpu_device *adev)
+void amdgpu_display_update_priority(struct amdgpu_device *adev)
 {
        /* adjustment options for the display watermarks */
        if ((amdgpu_disp_priority == 0) || (amdgpu_disp_priority > 2))
index 256e5281913c66eb7e3ec2307af08012ae1218a2..ad5e74af3a1298de4c48854987e0baafc8744df5 100644 (file)
@@ -1205,7 +1205,7 @@ static void dce_v10_0_bandwidth_update(struct amdgpu_device *adev)
        u32 num_heads = 0, lb_size;
        int i;
 
-       amdgpu_update_display_priority(adev);
+       amdgpu_display_update_priority(adev);
 
        for (i = 0; i < adev->mode_info.num_crtc; i++) {
                if (adev->mode_info.crtcs[i]->base.enabled)
index 1ae67650b2855f5b185277e30655e1838b973439..dbf9d75d04913e35b8f8090a7f7c5f664a3817cc 100644 (file)
@@ -1229,7 +1229,7 @@ static void dce_v11_0_bandwidth_update(struct amdgpu_device *adev)
        u32 num_heads = 0, lb_size;
        int i;
 
-       amdgpu_update_display_priority(adev);
+       amdgpu_display_update_priority(adev);
 
        for (i = 0; i < adev->mode_info.num_crtc; i++) {
                if (adev->mode_info.crtcs[i]->base.enabled)
index af82e39f08c59d7e9553aec59256bbec7ebbf5d9..416141736b1673e601baf9ce3cd46f9a9208b2a0 100644 (file)
@@ -1108,7 +1108,7 @@ static void dce_v6_0_bandwidth_update(struct amdgpu_device *adev)
        if (!adev->mode_info.mode_config_initialized)
                return;
 
-       amdgpu_update_display_priority(adev);
+       amdgpu_display_update_priority(adev);
 
        for (i = 0; i < adev->mode_info.num_crtc; i++) {
                if (adev->mode_info.crtcs[i]->base.enabled)
index af0c2376defe58cfb8e0ec5886f39cea0989d2ba..ff29f309a7224bdcec61dae20e96ca948bc323a1 100644 (file)
@@ -1144,7 +1144,7 @@ static void dce_v8_0_bandwidth_update(struct amdgpu_device *adev)
        u32 num_heads = 0, lb_size;
        int i;
 
-       amdgpu_update_display_priority(adev);
+       amdgpu_display_update_priority(adev);
 
        for (i = 0; i < adev->mode_info.num_crtc; i++) {
                if (adev->mode_info.crtcs[i]->base.enabled)