[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20130730002755.GB3853@redhat.com>
Date: Mon, 29 Jul 2013 20:27:55 -0400
From: Dave Jones <davej@...hat.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc: daniel.vetter@...ll.ch, airlied@...hat.com
Subject: Re: drm/crtc-helper: explicit DPMS on after modeset
On Tue, Jul 23, 2013 at 11:08:14PM +0000, Linux Kernel wrote:
> Gitweb: http://git.kernel.org/linus/;a=commit;h=25f397a429dfa43f22c278d0119a60a343aa568f
> Commit: 25f397a429dfa43f22c278d0119a60a343aa568f
> Author: Daniel Vetter <daniel.vetter@...ll.ch>
> AuthorDate: Fri Jul 19 18:57:11 2013 +0200
> Committer: Dave Airlie <airlied@...hat.com>
> CommitDate: Mon Jul 22 09:55:17 2013 +1000
>
> drm/crtc-helper: explicit DPMS on after modeset
> --- a/drivers/gpu/drm/drm_crtc_helper.c
> +++ b/drivers/gpu/drm/drm_crtc_helper.c
> @@ -677,6 +677,11 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set)
> /* 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;
> + }
> }
This code will never get executed. (See the break above it).
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists