mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 19:45:06 +08:00
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>
This commit is contained in:
parent
3dc9b1ce80
commit
166140fb24
@ -1833,7 +1833,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
|
|||||||
struct amdgpu_job* job, bool force);
|
struct amdgpu_job* job, bool force);
|
||||||
void amdgpu_device_pci_config_reset(struct amdgpu_device *adev);
|
void amdgpu_device_pci_config_reset(struct amdgpu_device *adev);
|
||||||
bool amdgpu_device_need_post(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,
|
void amdgpu_cs_report_moved_bytes(struct amdgpu_device *adev, u64 num_bytes,
|
||||||
u64 num_vis_bytes);
|
u64 num_vis_bytes);
|
||||||
|
@ -646,7 +646,7 @@ int amdgpu_display_modeset_create_props(struct amdgpu_device *adev)
|
|||||||
return 0;
|
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 */
|
/* adjustment options for the display watermarks */
|
||||||
if ((amdgpu_disp_priority == 0) || (amdgpu_disp_priority > 2))
|
if ((amdgpu_disp_priority == 0) || (amdgpu_disp_priority > 2))
|
||||||
|
@ -1205,7 +1205,7 @@ static void dce_v10_0_bandwidth_update(struct amdgpu_device *adev)
|
|||||||
u32 num_heads = 0, lb_size;
|
u32 num_heads = 0, lb_size;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
amdgpu_update_display_priority(adev);
|
amdgpu_display_update_priority(adev);
|
||||||
|
|
||||||
for (i = 0; i < adev->mode_info.num_crtc; i++) {
|
for (i = 0; i < adev->mode_info.num_crtc; i++) {
|
||||||
if (adev->mode_info.crtcs[i]->base.enabled)
|
if (adev->mode_info.crtcs[i]->base.enabled)
|
||||||
|
@ -1229,7 +1229,7 @@ static void dce_v11_0_bandwidth_update(struct amdgpu_device *adev)
|
|||||||
u32 num_heads = 0, lb_size;
|
u32 num_heads = 0, lb_size;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
amdgpu_update_display_priority(adev);
|
amdgpu_display_update_priority(adev);
|
||||||
|
|
||||||
for (i = 0; i < adev->mode_info.num_crtc; i++) {
|
for (i = 0; i < adev->mode_info.num_crtc; i++) {
|
||||||
if (adev->mode_info.crtcs[i]->base.enabled)
|
if (adev->mode_info.crtcs[i]->base.enabled)
|
||||||
|
@ -1108,7 +1108,7 @@ static void dce_v6_0_bandwidth_update(struct amdgpu_device *adev)
|
|||||||
if (!adev->mode_info.mode_config_initialized)
|
if (!adev->mode_info.mode_config_initialized)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
amdgpu_update_display_priority(adev);
|
amdgpu_display_update_priority(adev);
|
||||||
|
|
||||||
for (i = 0; i < adev->mode_info.num_crtc; i++) {
|
for (i = 0; i < adev->mode_info.num_crtc; i++) {
|
||||||
if (adev->mode_info.crtcs[i]->base.enabled)
|
if (adev->mode_info.crtcs[i]->base.enabled)
|
||||||
|
@ -1144,7 +1144,7 @@ static void dce_v8_0_bandwidth_update(struct amdgpu_device *adev)
|
|||||||
u32 num_heads = 0, lb_size;
|
u32 num_heads = 0, lb_size;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
amdgpu_update_display_priority(adev);
|
amdgpu_display_update_priority(adev);
|
||||||
|
|
||||||
for (i = 0; i < adev->mode_info.num_crtc; i++) {
|
for (i = 0; i < adev->mode_info.num_crtc; i++) {
|
||||||
if (adev->mode_info.crtcs[i]->base.enabled)
|
if (adev->mode_info.crtcs[i]->base.enabled)
|
||||||
|
Loading…
Reference in New Issue
Block a user