Re: [Mesa-dev] [PATCH 01/21] vulkan: Add KHR_display extension using DRM

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

 



Hi,

On 24 February 2018 at 00:43, Jason Ekstrand <jason@xxxxxxxxxxxxxx> wrote:
> On Tue, Feb 13, 2018 at 4:31 PM, Keith Packard <keithp@xxxxxxxxxx> wrote:
>> +   image->chain = chain;
>> +   image->state = wsi_image_idle;
>> +   image->fb_id = 0;
>> +
>> +   /* XXX extract depth and bpp from image somehow */
>
> You have the format in create_info.  We could add some generic VkFormat
> introspection or we can just handle the 2-4 cases we care about directly.

Or better, just use drmModeAddFB2 and pass the format directly. That
landed back in 3.2 or so, and I don't think there's anyone trying to
use Vulkan on a kernel from 2011.

Cheers,
Daniel
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://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