Re: [git pull] drm fixes

Alex Riesen
2011-02-24T19:25:22Z

On Thu, Feb 24, 2011 at 20:04, Alex Riesen <raa.lkml@gmail.com> wrote:
> So, AFAICS, at the moment there is no better patch than this:
>
> diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
> index 17bd766..8f8a6a3 100644
> --- a/drivers/gpu/drm/i915/i915_dma.c
> +++ b/drivers/gpu/drm/i915/i915_dma.c
> @@ -764,7 +764,7 @@ static int i915_getparam(struct drm_device *dev, void *data,
>                break;
>        case I915_PARAM_HAS_RELAXED_FENCING:
>                value = 1;
> -               break;
> +               return -EINVAL;
>        case I915_PARAM_HAS_COHERENT_RINGS:
>                value = 1;
>                break;
>

Probably unrelated, but I managed to get a cursor corruption with
just this patch. So maybe, I still need that fix from Daniel: an X
cursor seem to meet that pixmap size requirements. And corruption
picture fits too: stripes and dots in lower left corner of where
a part of the cursor image should have been.

Can't reproduce, though.