Re: LibDRM Cloned Monitor Support

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

 



On Wed, Nov 19, 2014 at 9:57 PM, Rob Clark <robdclark@xxxxxxxxx> wrote:
> On Wed, Nov 19, 2014 at 3:24 PM, Rian Quinn <rianquinn@xxxxxxxxx> 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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux