[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue Apr 29 05:30:13 PDT 2014


https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #14 from Tasev Nikola <tasev.stefanoska at skynet.be> ---
Hi,

Here is the patch from the commit that i found with git bisect.
It's a copy paste from gitk for the commit
25f397a429dfa43f22c278d0119a60a343aa568f



---------------------- drivers/gpu/drm/drm_crtc_helper.c ----------------------
index c0f2d62..8108db9 100644
@@ -695,12 +695,13 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set)
                 if (new_encoder == NULL)
                     /* don't break so fail path works correct */
                     fail = 1;
-                break;

                 if (connector->dpms != DRM_MODE_DPMS_ON) {
                     DRM_DEBUG_KMS("connector dpms not on, full mode
switch\n");
                     mode_changed = true;
                 }
+
+                break;
             }
         }

I just changed the break in the code like before the patch and after
recompiling
the 3.15-rc2 the suspend resume work again.
But like i said i'm just an average user so sorry if i did something wrong.
I attached a full copy paste from gitk for the commit
25f397a429dfa43f22c278d0119a60a343aa568f

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list