Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-11 Thread Marco Diego Aurélio Mesquita
On Sat, Jun 10, 2017 at 3:39 PM, Hans de Goede wrote: > On 10-06-17 19:14, Marco Diego Aurélio Mesquita wrote: >> I applied this change and now gnome monitors tool identifies it as >> another monitor, thanks Noralf! There are still some problems: when I >> activate it, gnome complains "could not s

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-11 Thread Noralf Trønnes
Den 11.06.2017 19.20, skrev Marco Diego Aurélio Mesquita: On Sat, Jun 10, 2017 at 3:39 PM, Hans de Goede wrote: On 10-06-17 19:14, Marco Diego Aurélio Mesquita wrote: I applied this change and now gnome monitors tool identifies it as another monitor, thanks Noralf! There are still some proble

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-11 Thread Hans de Goede
Hi, On 11-06-17 19:20, Marco Diego Aurélio Mesquita wrote: On Sat, Jun 10, 2017 at 3:39 PM, Hans de Goede wrote: On 10-06-17 19:14, Marco Diego Aurélio Mesquita wrote: I applied this change and now gnome monitors tool identifies it as another monitor, thanks Noralf! There are still some probl

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-11 Thread Marco Diego Aurélio Mesquita
Hi Devs! On Thu, Jun 8, 2017 at 4:08 AM, Hans de Goede wrote: > I don't think that using cma for the gm12u320 is a good idea, it will > typically be used as a secondary GPU output together with a real GPU > extending the desktop by being a prime display output. So for the memory > management stuf

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-11 Thread Marco Diego Aurélio Mesquita
Hi Devs! On Fri, Jun 9, 2017 at 7:31 PM, Noralf Trønnes wrote: > > Den 09.06.2017 22.59, skrev Marco Diego Aurélio Mesquita: >> >> Hi Devs! >> >> On Thu, Jun 8, 2017 at 4:08 AM, Hans de Goede wrote: >>> >>> I don't think that using cma for the gm12u320 is a good idea, it will >>> typically be us

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-10 Thread Hans de Goede
Hi, On 10-06-17 19:14, Marco Diego Aurélio Mesquita wrote: Hi Devs! On Fri, Jun 9, 2017 at 7:31 PM, Noralf Trønnes wrote: Den 09.06.2017 22.59, skrev Marco Diego Aurélio Mesquita: Hi Devs! On Thu, Jun 8, 2017 at 4:08 AM, Hans de Goede wrote: I don't think that using cma for the gm12u32

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-10 Thread Hans de Goede
Hi, On 09-06-17 22:59, Marco Diego Aurélio Mesquita wrote: Hi Devs! On Thu, Jun 8, 2017 at 4:08 AM, Hans de Goede wrote: I don't think that using cma for the gm12u320 is a good idea, it will typically be used as a secondary GPU output together with a real GPU extending the desktop by being a

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-09 Thread Noralf Trønnes
Den 09.06.2017 22.59, skrev Marco Diego Aurélio Mesquita: Hi Devs! On Thu, Jun 8, 2017 at 4:08 AM, Hans de Goede wrote: I don't think that using cma for the gm12u320 is a good idea, it will typically be used as a secondary GPU output together with a real GPU extending the desktop by being a p

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-08 Thread Hans de Goede
Hi, On 07-06-17 23:14, Noralf Trønnes wrote: Den 07.06.2017 22.19, skrev Noralf Trønnes: Den 07.06.2017 21.50, skrev Marco Diego Aurélio Mesquita: On Wed, Jun 7, 2017 at 4:38 PM, Noralf Trønnes wrote: Den 07.06.2017 20.46, skrev Marco Diego Aurélio Mesquita: Hi Noralf! On Wed, Jun 7, 201

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-07 Thread Marco Diego Aurélio Mesquita
On Wed, Jun 7, 2017 at 4:38 PM, Noralf Trønnes wrote: > > Den 07.06.2017 20.46, skrev Marco Diego Aurélio Mesquita: >> >> Hi Noralf! >> >> On Wed, Jun 7, 2017 at 1:56 PM, Noralf Trønnes wrote: >>> >>> tinydrm is targeted at displays on slow busses where userspace tells >>> the driver which part o

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-07 Thread Marco Diego Aurélio Mesquita
Hi Emil! On Wed, Jun 7, 2017 at 7:30 AM, Emil Velikov wrote: > On 2 June 2017 at 17:39, Marco Diego Aurélio Mesquita > wrote: >> Hi Emil! >> >> On Fri, Jun 2, 2017 at 1:14 PM, Emil Velikov >> wrote: >>> As Daniel mentioned in the earlier thread, factoring out things can be >>> done as a follow

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-07 Thread Marco Diego Aurélio Mesquita
Hi Noralf! On Wed, Jun 7, 2017 at 1:56 PM, Noralf Trønnes wrote: > tinydrm is targeted at displays on slow busses where userspace tells > the driver which part of the framebuffer it has changed to minimize > the transfer. > > The PL111 driver uses drm_simple_display_pipe and might be a better > e

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-07 Thread Noralf Trønnes
Den 07.06.2017 22.19, skrev Noralf Trønnes: Den 07.06.2017 21.50, skrev Marco Diego Aurélio Mesquita: On Wed, Jun 7, 2017 at 4:38 PM, Noralf Trønnes wrote: Den 07.06.2017 20.46, skrev Marco Diego Aurélio Mesquita: Hi Noralf! On Wed, Jun 7, 2017 at 1:56 PM, Noralf Trønnes wrote: tinydrm

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-07 Thread Noralf Trønnes
Den 07.06.2017 21.50, skrev Marco Diego Aurélio Mesquita: On Wed, Jun 7, 2017 at 4:38 PM, Noralf Trønnes wrote: Den 07.06.2017 20.46, skrev Marco Diego Aurélio Mesquita: Hi Noralf! On Wed, Jun 7, 2017 at 1:56 PM, Noralf Trønnes wrote: tinydrm is targeted at displays on slow busses where us

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-07 Thread Noralf Trønnes
Den 07.06.2017 20.46, skrev Marco Diego Aurélio Mesquita: Hi Noralf! On Wed, Jun 7, 2017 at 1:56 PM, Noralf Trønnes wrote: tinydrm is targeted at displays on slow busses where userspace tells the driver which part of the framebuffer it has changed to minimize the transfer. The PL111 driver u

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-07 Thread Noralf Trønnes
Hi Marco, Den 07.06.2017 17.35, skrev Marco Diego Aurélio Mesquita: Hi Emil! On Wed, Jun 7, 2017 at 7:30 AM, Emil Velikov wrote: On 2 June 2017 at 17:39, Marco Diego Aurélio Mesquita wrote: Hi Emil! On Fri, Jun 2, 2017 at 1:14 PM, Emil Velikov wrote: As Daniel mentioned in the earlier t

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-07 Thread Emil Velikov
On 2 June 2017 at 17:39, Marco Diego Aurélio Mesquita wrote: > Hi Emil! > > On Fri, Jun 2, 2017 at 1:14 PM, Emil Velikov wrote: >> As Daniel mentioned in the earlier thread, factoring out things can be >> done as a follow-up. >> On the other hand, I _think_ that the blocker for this driver that >

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-03 Thread Marco Diego Aurélio Mesquita
Hi Emil! On Fri, Jun 2, 2017 at 1:14 PM, Emil Velikov wrote: > As Daniel mentioned in the earlier thread, factoring out things can be > done as a follow-up. > On the other hand, I _think_ that the blocker for this driver that > it's not doing atomic mode setting. > I've been looking on other sma

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-02 Thread Emil Velikov
Hi Marco, Disclaimer: I'm mostly lurking around, barring the occasional patch so please take my input with a grain of salt. On 1 June 2017 at 23:46, Marco Diego Aurélio Mesquita wrote: > Hi Devs! > > On Thu, Jun 1, 2017 at 8:59 AM, Hans de Goede wrote: >> Hi All, >> >> This is a resend of a pat

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-01 Thread Marco Diego Aurélio Mesquita
Hi Devs! On Thu, Jun 1, 2017 at 8:59 AM, Hans de Goede wrote: > Hi All, > > This is a resend of a patch I send out a while back, rebased on top > of 4.12-rc3. Back then the main comment was can you try to make this > driver use the drm_simple_kms_helper stuff? Unfortunately I have > not had time

[RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-01 Thread Hans de Goede
Hi All, This is a resend of a patch I send out a while back, rebased on top of 4.12-rc3. Back then the main comment was can you try to make this driver use the drm_simple_kms_helper stuff? Unfortunately I have not had time yet to look into this. Recently I've been contacted by Marco Diego Aurélio