[PATCH] modesetting: Don't pretend to support rotation

Alex Deucher alexdeucher at gmail.com
Tue Aug 26 15:00:38 PDT 2014


On Tue, Aug 26, 2014 at 5:33 PM, Rob Clark <robdclark at gmail.com> wrote:
> It only ends in tears
>
> Signed-off-by: Rob Clark <robdclark at gmail.com>

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

> ---
>  src/drmmode_display.c | 13 -------------
>  1 file changed, 13 deletions(-)
>
> diff --git a/src/drmmode_display.c b/src/drmmode_display.c
> index c533324..12aa987 100644
> --- a/src/drmmode_display.c
> +++ b/src/drmmode_display.c
> @@ -568,17 +568,6 @@ drmmode_set_scanout_pixmap(xf86CrtcPtr crtc, PixmapPtr ppix)
>  }
>  #endif
>
> -static void *drmmode_shadow_allocate(xf86CrtcPtr crtc, int width, int height)
> -{
> -       return NULL;
> -}
> -
> -static PixmapPtr drmmode_shadow_create(xf86CrtcPtr crtc, void *data, int width,
> -                                      int height)
> -{
> -       return NULL;
> -}
> -
>  static const xf86CrtcFuncsRec drmmode_crtc_funcs = {
>      .dpms = drmmode_crtc_dpms,
>      .set_mode_major = drmmode_set_mode_major,
> @@ -593,8 +582,6 @@ static const xf86CrtcFuncsRec drmmode_crtc_funcs = {
>  #ifdef MODESETTING_OUTPUT_SLAVE_SUPPORT
>      .set_scanout_pixmap = drmmode_set_scanout_pixmap,
>  #endif
> -    .shadow_allocate = drmmode_shadow_allocate,
> -    .shadow_create = drmmode_shadow_create,
>  };
>
>  static void
> --
> 1.9.3
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list