Re: [PATCH v2] modetest: initialize handles/pitches in set_plane()

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

 



Hello Ilia,

On 2015-04-21 21:15, Ilia Mirkin wrote:
I know it was immensely useful to me when I was adding YUV plane
support to nouveau. Seemed to work as advertised at the time (1.5y
ago) for YUYV, UYVY, and NV12.

  -ilia
maybe you can help me with that question.

Let's consider a user of the DRM interface that wants to feed NV12 data to it. NV12 is bi-planar, so the user should provide two handles/pitches/offsets describing chroma and luma plane respectively. But most of the time chroma and luma is contiguous in memory, with nothing in between.

I was wondering if it is an allowed setup to request NV12 as pixelformat, but only to provide _one_ handle/pitch/offset? (implying that we are in the contiguous setting)


With best wishes,
Tobias

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://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