With the introduction of new properties in DRM these amdgpu driver specific ones are no longer necessary. Change-Id: Idc88f2e3e036aacc8fe726b15db03d900e509e7c Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@xxxxxxx> --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 12 ------------ drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 4 ---- 2 files changed, 16 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c index 7d6a36bca9dd..4f2928e91f9c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c @@ -626,18 +626,6 @@ int amdgpu_display_modeset_create_props(struct amdgpu_device *adev) "dither", amdgpu_dither_enum_list, sz); - if (amdgpu_device_has_dc_support(adev)) { - adev->mode_info.freesync_property = - drm_property_create_bool(adev->ddev, 0, "freesync"); - if (!adev->mode_info.freesync_property) - return -ENOMEM; - adev->mode_info.freesync_capable_property = - drm_property_create_bool(adev->ddev, - 0, - "freesync_capable"); - if (!adev->mode_info.freesync_capable_property) - return -ENOMEM; - } return 0; } diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index f91a9bdcd63c..b9e9e8b02fb7 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h @@ -339,10 +339,6 @@ struct amdgpu_mode_info { struct drm_property *audio_property; /* FMT dithering */ struct drm_property *dither_property; - /* it is used to allow enablement of freesync mode */ - struct drm_property *freesync_property; - /* it is used to know about display capability of freesync mode */ - struct drm_property *freesync_capable_property; /* hardcoded DFP edid from BIOS */ struct edid *bios_hardcoded_edid; int bios_hardcoded_edid_size; -- 2.17.1 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel