diff options
author | Samuel Li <Samuel.Li@amd.com> | 2018-01-19 15:28:27 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 14:18:27 -0500 |
commit | 166140fb24638da93013aa909c0268d2a7b9e759 (patch) | |
tree | 3e1038c40c8033aef692ab1da301fc5a798ac2bf /drivers/gpu/drm/amd | |
parent | 3dc9b1ce8030d45c6d97b87cf2cf3196c8501556 (diff) |
drm/amdgpu: rename amdgpu_update_display_priority
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>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index b7c60bb4457d..8cf2e03f08f9 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -1833,7 +1833,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev, | |||
1833 | struct amdgpu_job* job, bool force); | 1833 | struct amdgpu_job* job, bool force); |
1834 | void amdgpu_device_pci_config_reset(struct amdgpu_device *adev); | 1834 | void amdgpu_device_pci_config_reset(struct amdgpu_device *adev); |
1835 | bool amdgpu_device_need_post(struct amdgpu_device *adev); | 1835 | bool amdgpu_device_need_post(struct amdgpu_device *adev); |
1836 | void amdgpu_update_display_priority(struct amdgpu_device *adev); | 1836 | void amdgpu_display_update_priority(struct amdgpu_device *adev); |
1837 | 1837 | ||
1838 | void amdgpu_cs_report_moved_bytes(struct amdgpu_device *adev, u64 num_bytes, | 1838 | void amdgpu_cs_report_moved_bytes(struct amdgpu_device *adev, u64 num_bytes, |
1839 | u64 num_vis_bytes); | 1839 | u64 num_vis_bytes); |
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c index a0a7b94a6496..3470e9cf673b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |||
@@ -646,7 +646,7 @@ int amdgpu_display_modeset_create_props(struct amdgpu_device *adev) | |||
646 | return 0; | 646 | return 0; |
647 | } | 647 | } |
648 | 648 | ||
649 | void amdgpu_update_display_priority(struct amdgpu_device *adev) | 649 | void amdgpu_display_update_priority(struct amdgpu_device *adev) |
650 | { | 650 | { |
651 | /* adjustment options for the display watermarks */ | 651 | /* adjustment options for the display watermarks */ |
652 | if ((amdgpu_disp_priority == 0) || (amdgpu_disp_priority > 2)) | 652 | if ((amdgpu_disp_priority == 0) || (amdgpu_disp_priority > 2)) |
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c index 256e5281913c..ad5e74af3a12 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | |||
@@ -1205,7 +1205,7 @@ static void dce_v10_0_bandwidth_update(struct amdgpu_device *adev) | |||
1205 | u32 num_heads = 0, lb_size; | 1205 | u32 num_heads = 0, lb_size; |
1206 | int i; | 1206 | int i; |
1207 | 1207 | ||
1208 | amdgpu_update_display_priority(adev); | 1208 | amdgpu_display_update_priority(adev); |
1209 | 1209 | ||
1210 | for (i = 0; i < adev->mode_info.num_crtc; i++) { | 1210 | for (i = 0; i < adev->mode_info.num_crtc; i++) { |
1211 | if (adev->mode_info.crtcs[i]->base.enabled) | 1211 | if (adev->mode_info.crtcs[i]->base.enabled) |
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c index 1ae67650b285..dbf9d75d0491 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | |||
@@ -1229,7 +1229,7 @@ static void dce_v11_0_bandwidth_update(struct amdgpu_device *adev) | |||
1229 | u32 num_heads = 0, lb_size; | 1229 | u32 num_heads = 0, lb_size; |
1230 | int i; | 1230 | int i; |
1231 | 1231 | ||
1232 | amdgpu_update_display_priority(adev); | 1232 | amdgpu_display_update_priority(adev); |
1233 | 1233 | ||
1234 | for (i = 0; i < adev->mode_info.num_crtc; i++) { | 1234 | for (i = 0; i < adev->mode_info.num_crtc; i++) { |
1235 | if (adev->mode_info.crtcs[i]->base.enabled) | 1235 | if (adev->mode_info.crtcs[i]->base.enabled) |
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c index af82e39f08c5..416141736b16 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c +++ b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | |||
@@ -1108,7 +1108,7 @@ static void dce_v6_0_bandwidth_update(struct amdgpu_device *adev) | |||
1108 | if (!adev->mode_info.mode_config_initialized) | 1108 | if (!adev->mode_info.mode_config_initialized) |
1109 | return; | 1109 | return; |
1110 | 1110 | ||
1111 | amdgpu_update_display_priority(adev); | 1111 | amdgpu_display_update_priority(adev); |
1112 | 1112 | ||
1113 | for (i = 0; i < adev->mode_info.num_crtc; i++) { | 1113 | for (i = 0; i < adev->mode_info.num_crtc; i++) { |
1114 | if (adev->mode_info.crtcs[i]->base.enabled) | 1114 | if (adev->mode_info.crtcs[i]->base.enabled) |
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c index af0c2376defe..ff29f309a722 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | |||
@@ -1144,7 +1144,7 @@ static void dce_v8_0_bandwidth_update(struct amdgpu_device *adev) | |||
1144 | u32 num_heads = 0, lb_size; | 1144 | u32 num_heads = 0, lb_size; |
1145 | int i; | 1145 | int i; |
1146 | 1146 | ||
1147 | amdgpu_update_display_priority(adev); | 1147 | amdgpu_display_update_priority(adev); |
1148 | 1148 | ||
1149 | for (i = 0; i < adev->mode_info.num_crtc; i++) { | 1149 | for (i = 0; i < adev->mode_info.num_crtc; i++) { |
1150 | if (adev->mode_info.crtcs[i]->base.enabled) | 1150 | if (adev->mode_info.crtcs[i]->base.enabled) |