Re: [Lf_driver_backport] [ANN] compat-drm tree

2012-06-28 Thread Luis R. Rodriguez
On Wed, Jun 27, 2012 at 3:27 PM, Ozan Çağlayan wrote: > Hi, > > I'm maintaining a compat-drm tree (based on compat.git) as part of my > GSoC project with Linux Foundation, under the mentorship of Luis R. > Rodriguez. > > The aim of the tree is to offer the latest DRM stuff to people stuck > with o

Re: Tegra DRM device tree bindings

2012-06-28 Thread Stephen Warren
On 06/28/2012 11:19 AM, Lucas Stach wrote: ... > CMA is just a way of providing large contiguous address space blocks in > a dynamic fashion. ... > > TTM though solves more advanced matters, like buffer synchronisation > between 3D and 2D block of hardware ... > > IMHO the best solution would be

RE: Tegra DRM device tree bindings

2012-06-28 Thread Mark Zhang
> > Am Donnerstag, den 28.06.2012, 10:51 -0600 schrieb Stephen Warren: > > > On 06/28/2012 05:12 AM, Thierry Reding wrote: > > > > On Wed, Jun 27, 2012 at 05:59:55PM +0200, Lucas Stach wrote: > > > >> Am Mittwoch, den 27.06.2012, 16:44 +0200 schrieb Thierry Reding: > > > ... > > > >>> In the ideal

Re: Tegra DRM device tree bindings

2012-06-28 Thread Lucas Stach
Am Donnerstag, den 28.06.2012, 09:06 +0300 schrieb Hiroshi Doyu: > Hi Lucas, > > On Wed, 27 Jun 2012 17:59:55 +0200 > Lucas Stach wrote: > > > > > > > Rather than introducing a new property, how about using > > > > > > "coherent_pool=??M" in the kernel command line if necessary? I think > > > >

Re: Tegra DRM device tree bindings

2012-06-28 Thread Lucas Stach
Hi all, I'm not sure what your exact plans are for the direction in which the DRM driver should head, as I'm still a bit out of the loop as many of those matters were only discussed internally at NVIDIA or with some NDA developers. But I'll still try to get into the discussion. Am Mittwoch, den 2

Tegra DRM device tree bindings

2012-06-28 Thread Thierry Reding
-- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120628/967e55bd/attachment.pgp>

Tegra DRM device tree bindings

2012-06-28 Thread Lucas Stach
Am Donnerstag, den 28.06.2012, 10:51 -0600 schrieb Stephen Warren: > On 06/28/2012 05:12 AM, Thierry Reding wrote: > > On Wed, Jun 27, 2012 at 05:59:55PM +0200, Lucas Stach wrote: > >> Am Mittwoch, den 27.06.2012, 16:44 +0200 schrieb Thierry Reding: > ... > >>> In the ideal case I would want to not

[PATCH 2/2] drm/radeon: move r100_enable_bm to a more logic place

2012-06-28 Thread Jerome Glisse
On Thu, Jun 28, 2012 at 5:50 PM, wrote: > From: Alex Deucher > > It was stuck right in the middle of the gart functions. > Move next to the bm_disable function and where it is used. > > Signed-off-by: Alex Deucher Reviewed-by: Jerome Glisse > --- > ?drivers/gpu/drm/radeon/r100.c | ? 18 ++

[PATCH 1/2] drm/radeon: clean up CS functions in r100.c

2012-06-28 Thread Jerome Glisse
On Thu, Jun 28, 2012 at 5:50 PM, wrote: > From: Alex Deucher > > Consolidate the CS functions to one section of the file. > Previously they were spread all around. > > Signed-off-by: Alex Deucher Reviewed-by: Jerome Glisse > --- > ?drivers/gpu/drm/radeon/r100.c | 2983 > -

[PATCH] drm/radeon: fix VM page table setup on SI

2012-06-28 Thread Jerome Glisse
On Thu, Jun 28, 2012 at 5:53 PM, wrote: > From: Alex Deucher > > Cayman and trinity allow for variable sized VM page > tables, but SI requires that all page tables be the > same size. ?The current code assumes variablely sized > VM page tables so SI may end up with part of each page > table over

Tegra DRM device tree bindings

2012-06-28 Thread Lucas Stach
Hi Thierry, Am Donnerstag, den 28.06.2012, 13:12 +0200 schrieb Thierry Reding: > On Wed, Jun 27, 2012 at 05:59:55PM +0200, Lucas Stach wrote: > > Am Mittwoch, den 27.06.2012, 16:44 +0200 schrieb Thierry Reding: > > > On Wed, Jun 27, 2012 at 05:29:14PM +0300, Hiroshi Doyu wrote: > > > > On Wed, 27

[Bug 50149] Faulty shaders on RS600

2012-06-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=50149 --- Comment #16 from Roman ?makal 2012-06-28 11:47:19 PDT --- For me Lightsmark is slightly better in first scene, textures at least appears (but colors and shade are flickering) but its not really okayish. Reflections not working and so on. Any

RE: Tegra DRM device tree bindings

2012-06-28 Thread Mark Zhang
> Am Donnerstag, den 28.06.2012, 10:51 -0600 schrieb Stephen Warren: > > On 06/28/2012 05:12 AM, Thierry Reding wrote: > > > On Wed, Jun 27, 2012 at 05:59:55PM +0200, Lucas Stach wrote: > > >> Am Mittwoch, den 27.06.2012, 16:44 +0200 schrieb Thierry Reding: > > ... > > >>> In the ideal case I would

[PATCH] drm/radeon: fix VM page table setup on SI

2012-06-28 Thread alexdeuc...@gmail.com
From: Alex Deucher Cayman and trinity allow for variable sized VM page tables, but SI requires that all page tables be the same size. The current code assumes variablely sized VM page tables so SI may end up with part of each page table overlapping with other memory which could end up being inte

[PATCH 2/2] drm/radeon: move r100_enable_bm to a more logic place

2012-06-28 Thread alexdeuc...@gmail.com
From: Alex Deucher It was stuck right in the middle of the gart functions. Move next to the bm_disable function and where it is used. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/

[PATCH 1/2] drm/radeon: clean up CS functions in r100.c

2012-06-28 Thread alexdeuc...@gmail.com
From: Alex Deucher Consolidate the CS functions to one section of the file. Previously they were spread all around. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c | 2983 - 1 files changed, 1491 insertions(+), 1492 deletions(-) diff --git

[PATCH] drm/radeon: make radeon_fence_any_seq_signaled static

2012-06-28 Thread Christian König
On 28.06.2012 16:25, alexdeucher at gmail.com wrote: > From: Alex Deucher > > It's not used anywhere else. > > Signed-off-by: Alex Deucher Reviewed-by: Christian K?nig > --- > drivers/gpu/drm/radeon/radeon_fence.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a

Re: [PATCH 2/2] drm/radeon: move r100_enable_bm to a more logic place

2012-06-28 Thread Jerome Glisse
On Thu, Jun 28, 2012 at 5:50 PM, wrote: > From: Alex Deucher > > It was stuck right in the middle of the gart functions. > Move next to the bm_disable function and where it is used. > > Signed-off-by: Alex Deucher Reviewed-by: Jerome Glisse > --- >  drivers/gpu/drm/radeon/r100.c |   18 ++

Re: [PATCH] drm/radeon: fix VM page table setup on SI

2012-06-28 Thread Jerome Glisse
On Thu, Jun 28, 2012 at 5:53 PM, wrote: > From: Alex Deucher > > Cayman and trinity allow for variable sized VM page > tables, but SI requires that all page tables be the > same size.  The current code assumes variablely sized > VM page tables so SI may end up with part of each page > table over

Re: [Mesa-dev] [libdrm PATCH 4/4] xf86drm.c: Make more code UDEV unrelevant and fix a memory leak.

2012-06-28 Thread Marcin Slusarz
On Thu, Jun 28, 2012 at 09:51:58PM +0200, Johannes Obermayr wrote: These patches should be sent to dri-devel, not mesa-dev. > --- > xf86drm.c | 15 ++- > 1 files changed, 10 insertions(+), 5 deletions(-) > > diff --git a/xf86drm.c b/xf86drm.c > index 6ea068f..798f1fd 100644 > ---

[PATCH] drm/radeon: fix VM page table setup on SI

2012-06-28 Thread alexdeucher
From: Alex Deucher Cayman and trinity allow for variable sized VM page tables, but SI requires that all page tables be the same size. The current code assumes variablely sized VM page tables so SI may end up with part of each page table overlapping with other memory which could end up being inte

[PATCH 2/2] drm/radeon: move r100_enable_bm to a more logic place

2012-06-28 Thread alexdeucher
From: Alex Deucher It was stuck right in the middle of the gart functions. Move next to the bm_disable function and where it is used. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/

[PATCH] i915: initialize CADL in opregion

2012-06-28 Thread Daniel Vetter
On Thu, Jun 28, 2012 at 01:58:54PM +0200, Lekensteyn wrote: > On Thursday 28 June 2012 13:22:02 Daniel Vetter wrote: > > On Thu, Jun 28, 2012 at 1:05 PM, Daniel Vetter wrote: > > > - When loading the i915.ko with the CADL patch the screen went black > > > (like at boot), but with some excessive vt

[PULL] drm-intel-next

2012-06-28 Thread Daniel Vetter
On Thu, Jun 28, 2012 at 02:05:16PM +0200, Daniel Vetter wrote: > Hi Dave, > > New -next pull request. Highlights: > - Remaining vlv patches from Jesse et al. > - Some hw workarounds from Jesse > - hw context support from Ben > - full uncore sharing on ivb > - prep work to move the gtt code from in

Tegra DRM device tree bindings

2012-06-28 Thread Thierry Reding
to find some time to work all the changes into a new binding proposal and get working on the code. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120628/b984f7b2/attachment.pgp>

[PULL] drm-intel-next

2012-06-28 Thread Daniel Vetter
Hi Dave, New -next pull request. Highlights: - Remaining vlv patches from Jesse et al. - Some hw workarounds from Jesse - hw context support from Ben - full uncore sharing on ivb - prep work to move the gtt code from intel-gtt.c to drm/i915 for gen6+ - some backlight code improvements - leftovers

[PATCH] i915: initialize CADL in opregion

2012-06-28 Thread Lekensteyn
On Thursday 28 June 2012 13:22:02 Daniel Vetter wrote: > On Thu, Jun 28, 2012 at 1:05 PM, Daniel Vetter wrote: > > - When loading the i915.ko with the CADL patch the screen went black > > (like at boot), but with some excessive vt-switching and X restarting > > I've managed to light it up. Althoug

Tegra DRM device tree bindings

2012-06-28 Thread Thierry Reding
ut = <0x0400>;". Or "contiguous-memory" or whatever. Thierry ------ next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120628/ddadaa40/attachment.pgp>

[git pull] drm fixes

2012-06-28 Thread Dave Airlie
Hi Linus, Nearly all intel, one missing license header in nouveau, nothing majorly earth shattering. Dave. The following changes since commit d1346a6cbabf6d377d753f1adc16cb0b305830cc: Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (2012-06-26 11:26:50 -0700) are a

[PATCH] i915: initialize CADL in opregion

2012-06-28 Thread Daniel Vetter
On Thu, Jun 28, 2012 at 1:05 PM, Daniel Vetter wrote: > - When loading the i915.ko with the CADL patch the screen went black > (like at boot), but with some excessive vt-switching and X restarting > I've managed to light it up. Although it is flickery as hell, > especially the lower part of the sc

Tegra DRM device tree bindings

2012-06-28 Thread Thierry Reding
ge allocations outside of the DRM. host1x is the most logical choice here. Perhaps we can put host1x code somewhere below drivers/gpu (mm subdirectory?), drivers/memory or perhaps some other or new location that could eventually host similar drivers for other SoCs. Then again, maybe it'd be easier for now to put everything below the drivers/gpu/drm/tegra directory and cross that bridge when we get to it. > > > I think that "coherent_pool" can be used only when the amount of > > > contiguous memory is short in your system. Otherwise even unnecessary. > > > > > > Could you explain a bit more why you want carveout size on per-board > > > basis? > > > > In the ideal case I would want to not have a carveout size at all. > > However there may be situations where you need to make sure some driver > > can allocate a given amount of memory. Having to specify this using a > > kernel command-line parameter is cumbersome because it may require > > changes to the bootloader or whatever. So if you know that a particular > > board always needs 128 MiB of carveout, then it makes sense to specify > > it on a per-board basis. > > If we go with CMA, this is a non-issue, as CMA allows to use the contig > area for normal allocations and only purges them if it really needs the > space for contig allocs. CMA certainly sounds like the most simple approach. While it may not be suited for 3D graphics or multimedia processing later on, I think we could use it at a starting point to get basic framebuffer and X support up and running. We can always move to something more advanced like TTM later. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120628/6e7c9abb/attachment.pgp>

[PATCH] i915: initialize CADL in opregion

2012-06-28 Thread Daniel Vetter
- A non-text attachment was scrubbed... Name: dmidecode Type: application/octet-stream Size: 9877 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120628/c7b1d6b9/attachment.obj>

[Lf_driver_backport] [ANN] compat-drm tree

2012-06-28 Thread Luis R. Rodriguez
witcheroo_client_ops.patch Type: application/octet-stream Size: 3393 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120628/091a7df7/attachment.obj>

[Bug 50149] Faulty shaders on RS600

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50149 --- Comment #16 from Roman Šmakal 2012-06-28 11:47:19 PDT --- For me Lightsmark is slightly better in first scene, textures at least appears (but colors and shade are flickering) but its not really okayish. Reflections not working and so on. Any

Tegra DRM device tree bindings

2012-06-28 Thread Stephen Warren
On 06/28/2012 11:19 AM, Lucas Stach wrote: ... > CMA is just a way of providing large contiguous address space blocks in > a dynamic fashion. ... > > TTM though solves more advanced matters, like buffer synchronisation > between 3D and 2D block of hardware ... > > IMHO the best solution would be

Re: Tegra DRM device tree bindings

2012-06-28 Thread Thierry Reding
On Thu, Jun 28, 2012 at 11:33:56AM -0600, Stephen Warren wrote: > On 06/28/2012 11:19 AM, Lucas Stach wrote: > ... > > CMA is just a way of providing large contiguous address space blocks in > > a dynamic fashion. ... > > > > TTM though solves more advanced matters, like buffer synchronisation > >

[PATCH] drm/radeon: disable any GPU activity after unrecovered lockup v5

2012-06-28 Thread Michel Dänzer
On Mit, 2012-06-27 at 14:14 -0400, j.glisse at gmail.com wrote: > From: Jerome Glisse > > After unrecovered GPU lockup avoid any GPU activities to avoid > things like kernel segfault and alike to happen in any of the > path that assume hw is working. > > The segfault is due to PCIE vram gart ta

Tegra DRM device tree bindings

2012-06-28 Thread Stephen Warren
On 06/28/2012 05:12 AM, Thierry Reding wrote: > On Wed, Jun 27, 2012 at 05:59:55PM +0200, Lucas Stach wrote: >> Am Mittwoch, den 27.06.2012, 16:44 +0200 schrieb Thierry Reding: ... >>> In the ideal case I would want to not have a carveout size at >>> all. However there may be situations where you n

Tegra DRM device tree bindings

2012-06-28 Thread Stephen Warren
On 06/28/2012 12:18 AM, Hiroshi Doyu wrote: > On Wed, 27 Jun 2012 16:44:14 +0200 > Thierry Reding wrote: > >>> I think that "coherent_pool" can be used only when the amount of >>> contiguous memory is short in your system. Otherwise even unnecessary. >>> >>> Could you explain a bit more why you w

[PATCH 1/3] pci_regs: define LNKSTA2 pcie cap + bits.

2012-06-28 Thread Dave Airlie
On Wed, Jun 27, 2012 at 8:35 AM, Dave Airlie wrote: > From: Dave Airlie > > We need these for detecting the max link speed for drm drivers. Hi Bjorn, Can you ack this patch so I can carry it in the drm-next tree? we need these regs for getting the PCIE v2/v3 supported link speeds. Thanks, Dave

[PATCH] drm/radeon: make radeon_fence_any_seq_signaled static

2012-06-28 Thread alexdeuc...@gmail.com
From: Alex Deucher It's not used anywhere else. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_fence.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_fence.c b/drivers/gpu/drm/radeon/radeon_fence.c index 7b55625..67f6fa9

Re: Tegra DRM device tree bindings

2012-06-28 Thread Lucas Stach
Am Donnerstag, den 28.06.2012, 10:51 -0600 schrieb Stephen Warren: > On 06/28/2012 05:12 AM, Thierry Reding wrote: > > On Wed, Jun 27, 2012 at 05:59:55PM +0200, Lucas Stach wrote: > >> Am Mittwoch, den 27.06.2012, 16:44 +0200 schrieb Thierry Reding: > ... > >>> In the ideal case I would want to not

Re: Tegra DRM device tree bindings

2012-06-28 Thread Stephen Warren
On 06/28/2012 05:12 AM, Thierry Reding wrote: > On Wed, Jun 27, 2012 at 05:59:55PM +0200, Lucas Stach wrote: >> Am Mittwoch, den 27.06.2012, 16:44 +0200 schrieb Thierry Reding: ... >>> In the ideal case I would want to not have a carveout size at >>> all. However there may be situations where you n

Re: Tegra DRM device tree bindings

2012-06-28 Thread Stephen Warren
On 06/28/2012 12:18 AM, Hiroshi Doyu wrote: > On Wed, 27 Jun 2012 16:44:14 +0200 > Thierry Reding wrote: > >>> I think that "coherent_pool" can be used only when the amount of >>> contiguous memory is short in your system. Otherwise even unnecessary. >>> >>> Could you explain a bit more why you w

Re: [PATCH] i915: initialize CADL in opregion

2012-06-28 Thread Lekensteyn
On Thursday 28 June 2012 13:22:02 Daniel Vetter wrote: > On Thu, Jun 28, 2012 at 1:05 PM, Daniel Vetter wrote: > > - When loading the i915.ko with the CADL patch the screen went black > > (like at boot), but with some excessive vt-switching and X restarting > > I've managed to light it up. Althoug

Tegra DRM device tree bindings

2012-06-28 Thread Lucas Stach
Am Donnerstag, den 28.06.2012, 09:06 +0300 schrieb Hiroshi Doyu: > Hi Lucas, > > On Wed, 27 Jun 2012 17:59:55 +0200 > Lucas Stach wrote: > > > > > > > Rather than introducing a new property, how about using > > > > > > "coherent_pool=??M" in the kernel command line if necessary? I think > > > >

Re: Tegra DRM device tree bindings

2012-06-28 Thread Lucas Stach
Hi Thierry, Am Donnerstag, den 28.06.2012, 13:12 +0200 schrieb Thierry Reding: > On Wed, Jun 27, 2012 at 05:59:55PM +0200, Lucas Stach wrote: > > Am Mittwoch, den 27.06.2012, 16:44 +0200 schrieb Thierry Reding: > > > On Wed, Jun 27, 2012 at 05:29:14PM +0300, Hiroshi Doyu wrote: > > > > On Wed, 27

Tegra DRM device tree bindings

2012-06-28 Thread Hiroshi Doyu
On Wed, 27 Jun 2012 20:02:46 +0200 Stephen Warren wrote: > On 06/27/2012 06:44 AM, Hiroshi Doyu wrote: > ... > > I think that there are 2 cases: > > > > (1) discontiguous memory with IOMMU > > (2) contiguous memory without IOMMU(called "carveout" in general?) > ... > > For (2), although memo

Tegra DRM device tree bindings

2012-06-28 Thread Hiroshi Doyu
On Wed, 27 Jun 2012 19:56:35 +0200 Stephen Warren wrote: > On 06/27/2012 08:29 AM, Hiroshi Doyu wrote: > > Could you explain a bit more why you want carveout size on per-board basis? > > Different boards have different amounts of memory, and are sometimes > targeted at different use-cases (e.g.

Tegra DRM device tree bindings

2012-06-28 Thread Hiroshi Doyu
On Wed, 27 Jun 2012 16:44:14 +0200 Thierry Reding wrote: > > I think that "coherent_pool" can be used only when the amount of > > contiguous memory is short in your system. Otherwise even unnecessary. > > > > Could you explain a bit more why you want carveout size on per-board basis? > > In the

[PATCH 1/3] pci_regs: define LNKSTA2 pcie cap + bits.

2012-06-28 Thread Alex Deucher
On Wed, Jun 27, 2012 at 3:35 AM, Dave Airlie wrote: > From: Dave Airlie > > We need these for detecting the max link speed for drm drivers. > > Signed-off-by: Dave Airlie For the series: Reviewed-by: Alex Deucher > --- > ?include/linux/pci_regs.h | ? ?5 + > ?1 files changed, 5 insertions

Tegra DRM device tree bindings

2012-06-28 Thread Hiroshi Doyu
Hi Lucas, On Wed, 27 Jun 2012 17:59:55 +0200 Lucas Stach wrote: > > > > > Rather than introducing a new property, how about using > > > > > "coherent_pool=??M" in the kernel command line if necessary? I think > > > > > that this carveout size depends on the system usage/load. > > > > > > > > I

Re: [PATCH] drm/radeon: make radeon_fence_any_seq_signaled static

2012-06-28 Thread Christian König
On 28.06.2012 16:25, alexdeuc...@gmail.com wrote: From: Alex Deucher It's not used anywhere else. Signed-off-by: Alex Deucher Reviewed-by: Christian König --- drivers/gpu/drm/radeon/radeon_fence.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm

[PATCH] drm/radeon: make radeon_fence_any_seq_signaled static

2012-06-28 Thread alexdeucher
From: Alex Deucher It's not used anywhere else. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_fence.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_fence.c b/drivers/gpu/drm/radeon/radeon_fence.c index 7b55625..67f6fa9

Re: [PATCH 1/3] pci_regs: define LNKSTA2 pcie cap + bits.

2012-06-28 Thread Alex Deucher
On Wed, Jun 27, 2012 at 3:35 AM, Dave Airlie wrote: > From: Dave Airlie > > We need these for detecting the max link speed for drm drivers. > > Signed-off-by: Dave Airlie For the series: Reviewed-by: Alex Deucher > --- >  include/linux/pci_regs.h |    5 + >  1 files changed, 5 insertions

Re: [PATCH] i915: initialize CADL in opregion

2012-06-28 Thread Daniel Vetter
On Thu, Jun 28, 2012 at 01:58:54PM +0200, Lekensteyn wrote: > On Thursday 28 June 2012 13:22:02 Daniel Vetter wrote: > > On Thu, Jun 28, 2012 at 1:05 PM, Daniel Vetter wrote: > > > - When loading the i915.ko with the CADL patch the screen went black > > > (like at boot), but with some excessive vt

Re: [PULL] drm-intel-next

2012-06-28 Thread Daniel Vetter
On Thu, Jun 28, 2012 at 02:05:16PM +0200, Daniel Vetter wrote: > Hi Dave, > > New -next pull request. Highlights: > - Remaining vlv patches from Jesse et al. > - Some hw workarounds from Jesse > - hw context support from Ben > - full uncore sharing on ivb > - prep work to move the gtt code from in

[git pull] drm fixes

2012-06-28 Thread Dave Airlie
Hi Linus, Nearly all intel, one missing license header in nouveau, nothing majorly earth shattering. Dave. The following changes since commit d1346a6cbabf6d377d753f1adc16cb0b305830cc: Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (2012-06-26 11:26:50 -0700) are a

[PULL] drm-intel-next

2012-06-28 Thread Daniel Vetter
Hi Dave, New -next pull request. Highlights: - Remaining vlv patches from Jesse et al. - Some hw workarounds from Jesse - hw context support from Ben - full uncore sharing on ivb - prep work to move the gtt code from intel-gtt.c to drm/i915 for gen6+ - some backlight code improvements - leftovers

Re: Tegra DRM device tree bindings

2012-06-28 Thread Thierry Reding
On Wed, Jun 27, 2012 at 11:49:43AM -0600, Stephen Warren wrote: > On 06/26/2012 11:07 PM, Thierry Reding wrote: > > On Tue, Jun 26, 2012 at 04:48:14PM -0600, Stephen Warren wrote: > ... > > I actually like what you proposed above a lot, so if you don't > > mind either way I'll go with that proposal

Re: Tegra DRM device tree bindings

2012-06-28 Thread Thierry Reding
On Wed, Jun 27, 2012 at 12:02:46PM -0600, Stephen Warren wrote: > On 06/27/2012 06:44 AM, Hiroshi Doyu wrote: > ... > > I think that there are 2 cases: > > > > (1) discontiguous memory with IOMMU > > (2) contiguous memory without IOMMU(called "carveout" in general?) > ... > > For (2), although

Re: [PATCH] i915: initialize CADL in opregion

2012-06-28 Thread Daniel Vetter
On Thu, Jun 28, 2012 at 1:05 PM, Daniel Vetter wrote: > - When loading the i915.ko with the CADL patch the screen went black > (like at boot), but with some excessive vt-switching and X restarting > I've managed to light it up. Although it is flickery as hell, > especially the lower part of the sc

Re: Tegra DRM device tree bindings

2012-06-28 Thread Thierry Reding
On Wed, Jun 27, 2012 at 05:59:55PM +0200, Lucas Stach wrote: > Am Mittwoch, den 27.06.2012, 16:44 +0200 schrieb Thierry Reding: > > On Wed, Jun 27, 2012 at 05:29:14PM +0300, Hiroshi Doyu wrote: > > > On Wed, 27 Jun 2012 16:08:10 +0200 > > > Thierry Reding wrote: > > > > > > > * PGP Signed by an u

Re: [PATCH] i915: initialize CADL in opregion

2012-06-28 Thread Daniel Vetter
On Thu, Jun 28, 2012 at 1:24 AM, Lekensteyn wrote: > Thank you, I've now written a partial analysis which is available at > https://github.com/Lekensteyn/acpi- > stuff/blob/HEAD/dsl/Asus_Zenbook_DanielVetter/analysis.txt (note: URL is cut > in > two parts in this mail, concat them as needed). > >

Re: [PATCH 1/3] pci_regs: define LNKSTA2 pcie cap + bits.

2012-06-28 Thread Dave Airlie
On Wed, Jun 27, 2012 at 8:35 AM, Dave Airlie wrote: > From: Dave Airlie > > We need these for detecting the max link speed for drm drivers. Hi Bjorn, Can you ack this patch so I can carry it in the drm-next tree? we need these regs for getting the PCIE v2/v3 supported link speeds. Thanks, Dave

Re: [PATCH] drm/radeon: disable any GPU activity after unrecovered lockup v5

2012-06-28 Thread Michel Dänzer
On Mit, 2012-06-27 at 14:14 -0400, j.gli...@gmail.com wrote: > From: Jerome Glisse > > After unrecovered GPU lockup avoid any GPU activities to avoid > things like kernel segfault and alike to happen in any of the > path that assume hw is working. > > The segfault is due to PCIE vram gart table

[ANN] compat-drm tree

2012-06-28 Thread Ozan Çağlayan
Hi, I'm maintaining a compat-drm tree (based on compat.git) as part of my GSoC project with Linux Foundation, under the mentorship of Luis R. Rodriguez. The aim of the tree is to offer the latest DRM stuff to people stuck with older kernels (Currently all of the popular and maintained drm drivers

[PATCH] i915: initialize CADL in opregion

2012-06-28 Thread Lekensteyn
On Wednesday 27 June 2012 18:27:37 Daniel Vetter wrote: > On Wed, Jun 27, 2012 at 05:09:02PM +0200, Lekensteyn wrote: > > On Wednesday 27 June 2012 17:03:02 Daniel Vetter wrote: > > > On Tue, Jun 26, 2012 at 11:07:55PM +0200, Daniel Vetter wrote: > > > > On Tue, Jun 26, 2012 at 02:04:00PM -0700, Je

Re: Tegra DRM device tree bindings

2012-06-28 Thread Hiroshi Doyu
On Wed, 27 Jun 2012 20:02:46 +0200 Stephen Warren wrote: > On 06/27/2012 06:44 AM, Hiroshi Doyu wrote: > ... > > I think that there are 2 cases: > > > > (1) discontiguous memory with IOMMU > > (2) contiguous memory without IOMMU(called "carveout" in general?) > ... > > For (2), although memo

Re: Tegra DRM device tree bindings

2012-06-28 Thread Hiroshi Doyu
On Wed, 27 Jun 2012 19:56:35 +0200 Stephen Warren wrote: > On 06/27/2012 08:29 AM, Hiroshi Doyu wrote: > > Could you explain a bit more why you want carveout size on per-board basis? > > Different boards have different amounts of memory, and are sometimes > targeted at different use-cases (e.g.

Re: Tegra DRM device tree bindings

2012-06-28 Thread Hiroshi Doyu
On Wed, 27 Jun 2012 16:44:14 +0200 Thierry Reding wrote: > > I think that "coherent_pool" can be used only when the amount of > > contiguous memory is short in your system. Otherwise even unnecessary. > > > > Could you explain a bit more why you want carveout size on per-board basis? > > In the

Re: Tegra DRM device tree bindings

2012-06-28 Thread Hiroshi Doyu
Hi Lucas, On Wed, 27 Jun 2012 17:59:55 +0200 Lucas Stach wrote: > > > > > Rather than introducing a new property, how about using > > > > > "coherent_pool=??M" in the kernel command line if necessary? I think > > > > > that this carveout size depends on the system usage/load. > > > > > > > > I

Re: [PATCH] i915: initialize CADL in opregion

2012-06-28 Thread Lekensteyn
On Wednesday 27 June 2012 18:27:37 Daniel Vetter wrote: > On Wed, Jun 27, 2012 at 05:09:02PM +0200, Lekensteyn wrote: > > On Wednesday 27 June 2012 17:03:02 Daniel Vetter wrote: > > > On Tue, Jun 26, 2012 at 11:07:55PM +0200, Daniel Vetter wrote: > > > > On Tue, Jun 26, 2012 at 02:04:00PM -0700, Je

Re: Tegra DRM device tree bindings

2012-06-28 Thread Stephen Warren
On 06/27/2012 06:44 AM, Hiroshi Doyu wrote: ... > I think that there are 2 cases: > > (1) discontiguous memory with IOMMU > (2) contiguous memory without IOMMU(called "carveout" in general?) ... > For (2), although memory is mostly anonymous one, we may need to know > how much to allocate, whe

Re: Tegra DRM device tree bindings

2012-06-28 Thread Stephen Warren
On 06/27/2012 08:29 AM, Hiroshi Doyu wrote: > Could you explain a bit more why you want carveout size on per-board basis? Different boards have different amounts of memory, and are sometimes targeted at different use-cases (e.g. server with simple display buffer, vs. consumer-oriented device inten

Re: Tegra DRM device tree bindings

2012-06-28 Thread Stephen Warren
On 06/26/2012 11:07 PM, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 04:48:14PM -0600, Stephen Warren wrote: ... > I actually like what you proposed above a lot, so if you don't > mind either way I'll go with that proposal. Keeping the connector > nodes as children of the outputs has the advanta

Re: [PATCH, RFC] displaymodes in devicetree

2012-06-28 Thread Mitch Bradley
On 6/27/2012 2:43 AM, Sascha Hauer wrote: Hi All, I'd like to have a possibility to describe fixed display modes in the devicetree. This topic has been discussed before here: https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-February/080683.html The result at that time was that EDID data sh