Re: [Freedreno] [Intel-gfx] [PATCH libdrm] drm: Remove create_handle() drm_framebuffer "virtual".

2017-08-10 Thread Daniel Vetter
On Wed, Aug 09, 2017 at 04:13:05PM -0700, Joe Kniss wrote: > On Wed, Aug 9, 2017 at 12:14 PM, Noralf Trønnes wrote: > > > > Den 09.08.2017 01.42, skrev Joe Kniss: > >> > >> Because all drivers currently use gem objects for framebuffer planes, > >> the virtual create_handle() is not required. This

[Freedreno] [PATCH v2 00/29] DRM API Conversions

2017-08-10 Thread Cihangir Akturk
Changes since v1: - This time patches were generated with coccinelle instead of my own script, as suggested by Daniel Vetter. - Fixed the typo in commit messages. s/adn/and Note: I've included r-b, a-b tags, as these patches are identical to v1 except for the file: drivers/gpu/drm/i915/i915_gem

[Freedreno] [PATCH v2 16/29] drm/msm: switch to drm_*_get(), drm_*_put() helpers

2017-08-10 Thread Cihangir Akturk
Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() and drm_*_unreference() helpers. drm_*_reference() and drm_*_unreference() functions are just compatibility alias for drm_*_get() and drm_*_put() and should not be used by new code. So convert all users of compatibility functions

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-08-10 Thread abhijit
Hi Wladimir, Thank you very much for the reply. I am able to build the kernel, drm and mesa components. After loading the kernel, I am getting following entries, /dev/gsl_kmod /dev/dri/card0 /dev/dri/renderD128 Can you please let me know what are the test application th

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2017-08-10 Thread Wladimir J. van der Laan
Hello Abhijit, On Thu, Aug 10, 2017 at 07:45:03PM +0530, abhijit wrote: > Hi Wladimir, > > Thank you very much for the reply. > > I am able to build the kernel, drm and mesa components. > > After loading the kernel, I am getting following entries, > /dev/gsl_kmod > /dev/dri/card0 >

Re: [Freedreno] [PATCH libdrm] drm: Remove create_handle() drm_framebuffer "virtual".

2017-08-10 Thread Joe Kniss
On Wed, Aug 9, 2017 at 4:13 PM, Joe Kniss wrote: > On Wed, Aug 9, 2017 at 12:14 PM, Noralf Trønnes wrote: >> >> Den 09.08.2017 01.42, skrev Joe Kniss: >>> >>> Because all drivers currently use gem objects for framebuffer planes, >>> the virtual create_handle() is not required. This change adds a

Re: [Freedreno] [Intel-gfx] [PATCH libdrm] drm: Remove create_handle() drm_framebuffer "virtual".

2017-08-10 Thread Emil Velikov
On 10 August 2017 at 20:29, Joe Kniss wrote: > On Wed, Aug 9, 2017 at 4:13 PM, Joe Kniss wrote: >> On Wed, Aug 9, 2017 at 12:14 PM, Noralf Trønnes wrote: >>> >>> Den 09.08.2017 01.42, skrev Joe Kniss: Because all drivers currently use gem objects for framebuffer planes, the virtua