[PATCH] drm/udl: dpms off the crtc when disabled.

Alex Deucher alexdeucher at gmail.com
Fri Aug 17 06:21:42 PDT 2012


On Thu, Aug 16, 2012 at 10:55 PM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> This turns off the crtc when its been disabled,
> fixes it not turning off properly the whole time.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/udl/udl_modeset.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/udl/udl_modeset.c b/drivers/gpu/drm/udl/udl_modeset.c
> index f5dd89e..9159d48 100644
> --- a/drivers/gpu/drm/udl/udl_modeset.c
> +++ b/drivers/gpu/drm/udl/udl_modeset.c
> @@ -354,8 +354,7 @@ static int udl_crtc_mode_set(struct drm_crtc *crtc,
>
>  static void udl_crtc_disable(struct drm_crtc *crtc)
>  {
> -
> -
> +       udl_crtc_dpms(crtc, DRM_MODE_DPMS_OFF);
>  }
>
>  static void udl_crtc_destroy(struct drm_crtc *crtc)
> --
> 1.7.11.2
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list