Re: [PATCH 2/2] drm/radeon: use helper for mst connector dpms.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 5, 2016 at 7:24 PM, Dave Airlie <airlied@xxxxxxxxx> wrote:
> From: Dave Airlie <airlied@xxxxxxxxxx>
>
> I noticed my monitor didn't power off when it should,
> this should fix it.
>
> Signed-off-by: Dave Airlie <airlied@xxxxxxxxxx>

Applied the series.  Thanks!

Alex

> ---
>  drivers/gpu/drm/radeon/radeon_dp_mst.c | 8 +-------
>  1 file changed, 1 insertion(+), 7 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_dp_mst.c b/drivers/gpu/drm/radeon/radeon_dp_mst.c
> index b3b2d05..de504ea 100644
> --- a/drivers/gpu/drm/radeon/radeon_dp_mst.c
> +++ b/drivers/gpu/drm/radeon/radeon_dp_mst.c
> @@ -257,14 +257,8 @@ radeon_dp_mst_connector_destroy(struct drm_connector *connector)
>         kfree(radeon_connector);
>  }
>
> -static int radeon_connector_dpms(struct drm_connector *connector, int mode)
> -{
> -       DRM_DEBUG_KMS("\n");
> -       return 0;
> -}
> -
>  static const struct drm_connector_funcs radeon_dp_mst_connector_funcs = {
> -       .dpms = radeon_connector_dpms,
> +       .dpms = drm_helper_connector_dpms,
>         .detect = radeon_dp_mst_detect,
>         .fill_modes = drm_helper_probe_single_connector_modes,
>         .destroy = radeon_dp_mst_connector_destroy,
> --
> 2.5.0
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux