diff options
author | David McFarland | 2017-04-08 19:34:30 -0300 |
---|---|---|
committer | David McFarland | 2017-04-08 19:36:26 -0300 |
commit | ecef091f54a41fbfab721ea80c28801439476728 (patch) | |
tree | 643373b495c88db09367badc1c479a456937abb4 /0003-fix_drm_connector.patch | |
parent | cd4d76c29b7d08088ef9a091af0c04ad0e4c45be (diff) | |
download | aur-ecef091f54a41fbfab721ea80c28801439476728.tar.gz |
17.10-401251-2
Diffstat (limited to '0003-fix_drm_connector.patch')
-rw-r--r-- | 0003-fix_drm_connector.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/0003-fix_drm_connector.patch b/0003-fix_drm_connector.patch deleted file mode 100644 index a056ebe3d3c5..000000000000 --- a/0003-fix_drm_connector.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/amd/amdgpu/amdgpu_connectors.c b/amd/amdgpu/amdgpu_connectors.c -index 818d589..cb78d1c 100644 ---- a/amd/amdgpu/amdgpu_connectors.c -+++ b/amd/amdgpu/amdgpu_connectors.c -@@ -168,12 +168,20 @@ int amdgpu_connector_get_monitor_bpc(struct drm_connector *connector) - } - - /* Any defined maximum tmds clock limit we must not exceed? */ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) -+ if (connector->display_info.max_tmds_clock > 0) { -+#else - if (connector->max_tmds_clock > 0) { -+#endif - /* mode_clock is clock in kHz for mode to be modeset on this connector */ - mode_clock = amdgpu_connector->pixelclock_for_modeset; - - /* Maximum allowable input clock in kHz */ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) -+ max_tmds_clock = connector->display_info.max_tmds_clock * 1000; -+#else - max_tmds_clock = connector->max_tmds_clock * 1000; -+#endif - - DRM_DEBUG("%s: hdmi mode dotclock %d kHz, max tmds input clock %d kHz.\n", - connector->name, mode_clock, max_tmds_clock); |