Re: [Mesa-dev] [PATCH 1/7] vulkan: Add KHR_display extension to anv and radv using DRM

2018-03-28 Thread Mao, David
Hi Keith, If I read the patch correctly, the plane has been interpreted as the same as connector, and the stackIndex is the index of connector of current device. Is it by intentional? If the hardware don't have underlay/overlay supported, is it better to always report plane 0 rather than pretend

Re: [Mesa-dev] [PATCH 2/2] radv: Implement VK_EXT_discard_rectangles.

2018-01-11 Thread Mao, David
Oh. I see. I was distracted by the hard coded 16! Thanks. Best Regards, David -Original Message- From: Bas Nieuwenhuizen [mailto:b...@basnieuwenhuizen.nl] Sent: Thursday, January 11, 2018 9:29 PM To: Mao, David Cc: mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH 2/2

Re: [Mesa-dev] [PATCH 2/2] radv: Implement VK_EXT_discard_rectangles.

2018-01-11 Thread Mao, David
ag for all combinations of four rectangles that pixel could be finally determined as inside. Thanks. Best Regards, David -Original Message- From: Bas Nieuwenhuizen [mailto:b...@basnieuwenhuizen.nl] Sent: Thursday, January 11, 2018 5:59 PM To: Mao, David Cc: mesa-dev@lists.freedesktop.org S

Re: [Mesa-dev] [PATCH 2/2] radv: Implement VK_EXT_discard_rectangles.

2018-01-10 Thread Mao, David
Hi Bas, If I read it correctly, you are trying to interpret the ClipRule as a mask. You set the bit i if the ith rectangle is need to be inclusive. Am I right? IIRC, It is not a right interpretation. Where did you read the register spec? I would like to take a look. Thanks. Best Regards, Davi

Re: [Mesa-dev] [PATCH] radv: Add support for ETC2 textures.

2018-01-03 Thread Mao, David
Hi Bas, AMD does not support ETC2 officially on the GFX9. It would be risky for Radv to export that feature for gfx9 family. Anyway, t’s just a heads up, and it is up to you to make the final call. FYI: AMDVLK and proprietary AMD vulkan driver don’t’ support that. Thanks. Best Regards, David

Re: [Mesa-dev] Initial release of AMD Open Source Driver for Vulkan

2017-12-22 Thread Mao, David
Hi Lothian, Thanks for testing out out driver! Officially we recommend you to stick to GCC5 for now, however, we do have a fix for the constexpr issue mentioned below that just didn’t make it to this first release. According to your diff, are you using ICC? Could you let us know the compiler vers

[Mesa-dev] Initial release of AMD Open Source Driver for Vulkan

2017-12-22 Thread Mao, David
We are pleased to announce the initial release of AMD Open Source Driver for Vulkan. The AMD Open Source Driver for Vulkan is an open-source Vulkan driver for Radeon graphics adapters on Linux. It is built on top of AMD's Platform Abstraction Library (PAL), a shared component that is designed

Re: [Mesa-dev] GBM backend dynamic dispatch method

2016-05-16 Thread Mao, David
Hi Daniel and Jammy, I think we have off the track. The motivation behind this thread is to see whether we could find a generally agreed way for gbm to be able to load different gbm backend in the fly. It would be very appreciated if we could get back to this topic and reach the concur. Regardi