drm/amdgpu: rename amdgpu_print_display_setup
Add display to the name 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
775a836425
commit
50af9193b3
@ -355,7 +355,7 @@ static const char *hpd_names[6] = {
|
|||||||
"HPD6",
|
"HPD6",
|
||||||
};
|
};
|
||||||
|
|
||||||
void amdgpu_print_display_setup(struct drm_device *dev)
|
void amdgpu_display_print_display_setup(struct drm_device *dev)
|
||||||
{
|
{
|
||||||
struct drm_connector *connector;
|
struct drm_connector *connector;
|
||||||
struct amdgpu_connector *amdgpu_connector;
|
struct amdgpu_connector *amdgpu_connector;
|
||||||
|
@ -662,7 +662,7 @@ bool amdgpu_fbdev_robj_is_fb(struct amdgpu_device *adev, struct amdgpu_bo *robj)
|
|||||||
int amdgpu_align_pitch(struct amdgpu_device *adev, int width, int bpp, bool tiled);
|
int amdgpu_align_pitch(struct amdgpu_device *adev, int width, int bpp, bool tiled);
|
||||||
|
|
||||||
/* amdgpu_display.c */
|
/* amdgpu_display.c */
|
||||||
void amdgpu_print_display_setup(struct drm_device *dev);
|
void amdgpu_display_print_display_setup(struct drm_device *dev);
|
||||||
int amdgpu_modeset_create_props(struct amdgpu_device *adev);
|
int amdgpu_modeset_create_props(struct amdgpu_device *adev);
|
||||||
int amdgpu_display_crtc_set_config(struct drm_mode_set *set,
|
int amdgpu_display_crtc_set_config(struct drm_mode_set *set,
|
||||||
struct drm_modeset_acquire_ctx *ctx);
|
struct drm_modeset_acquire_ctx *ctx);
|
||||||
|
@ -2841,7 +2841,7 @@ static int dce_v10_0_sw_init(void *handle)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (amdgpu_atombios_get_connector_info_from_object_table(adev))
|
if (amdgpu_atombios_get_connector_info_from_object_table(adev))
|
||||||
amdgpu_print_display_setup(adev->ddev);
|
amdgpu_display_print_display_setup(adev->ddev);
|
||||||
else
|
else
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
|
@ -2957,7 +2957,7 @@ static int dce_v11_0_sw_init(void *handle)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (amdgpu_atombios_get_connector_info_from_object_table(adev))
|
if (amdgpu_atombios_get_connector_info_from_object_table(adev))
|
||||||
amdgpu_print_display_setup(adev->ddev);
|
amdgpu_display_print_display_setup(adev->ddev);
|
||||||
else
|
else
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
|
@ -2711,7 +2711,7 @@ static int dce_v6_0_sw_init(void *handle)
|
|||||||
|
|
||||||
ret = amdgpu_atombios_get_connector_info_from_object_table(adev);
|
ret = amdgpu_atombios_get_connector_info_from_object_table(adev);
|
||||||
if (ret)
|
if (ret)
|
||||||
amdgpu_print_display_setup(adev->ddev);
|
amdgpu_display_print_display_setup(adev->ddev);
|
||||||
else
|
else
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
|
@ -2741,7 +2741,7 @@ static int dce_v8_0_sw_init(void *handle)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (amdgpu_atombios_get_connector_info_from_object_table(adev))
|
if (amdgpu_atombios_get_connector_info_from_object_table(adev))
|
||||||
amdgpu_print_display_setup(adev->ddev);
|
amdgpu_display_print_display_setup(adev->ddev);
|
||||||
else
|
else
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user