[Intel-gfx] LibDRM Cloned Monitor Support

Daniel Vetter daniel at ffwll.ch
Wed Nov 19 22:59:40 CET 2014


On Wed, Nov 19, 2014 at 9:57 PM, Rob Clark <robdclark at gmail.com> wrote:
> On Wed, Nov 19, 2014 at 3:24 PM, Rian Quinn <rianquinn at gmail.com> wrote:
>> I am in the process of implementing the plane support now on the i915, and I
>> ran into an issue that doesn't make much sense to me. When I call
>> drmModeSetPlane, I get an "Invalid Argument" (which is always so helpful).
>> Turning on DRM debugging, I was able to trace into the kernel where the
>> problem was:
>>
>> if (src_w > 2048 || src_h > 2048 || width_bytes > 4096 || fb->pitches[0] >
>> 4096) { DRM_DEBUG_KMS("Source dimensions exceed hardware limits\n"); return
>> -EINVAL; }
>
> + intel-gfx
>
> I'm not really sure if that 4k pitch limit is real or not.. it is at
> least intel specific..

This limit only applies when we need to scale, and that's only
possible on some hardware. Just scale in software and it should work.
Makes planes less useful, but that's what the hw can do.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list