Re: [RFC,libdrm 1/3] tegra: Add stream library

2012-12-28 Thread Arto Merilainen
On 12/28/2012 09:57 AM, Mark Zhang wrote: On 12/28/2012 03:45 PM, Arto Merilainen wrote: On 12/28/2012 08:47 AM, Mark Zhang wrote: + +/* Add fences */ +if (num_fences) { + +tegra_stream_push(stream, +nvhost_opcode_setclass(NV_HOST1X_CLASS_ID, +host1x_ucla

Re: [RFC,libdrm 1/3] tegra: Add stream library

2012-12-28 Thread Mark Zhang
On 12/28/2012 04:50 PM, Arto Merilainen wrote: > On 12/28/2012 09:57 AM, Mark Zhang wrote: >> On 12/28/2012 03:45 PM, Arto Merilainen wrote: >>> On 12/28/2012 08:47 AM, Mark Zhang wrote: > + > +/* Add fences */ > +if (num_fences) { > + > +tegra_stream_push(stream

Re: [PATCHv4 0/8] Support for Tegra 2D hardware

2012-12-28 Thread Mark Zhang
Hi Terje, Here is the second part comments. I admit I still haven't finished reading the codes... really too many codes. :) Anyway I'll keep doing this when I have free slots. diff --git a/drivers/gpu/drm/tegra/gr2d.c b/drivers/gpu/drm/tegra/gr2d.c index a936902..c3ded60 100644 --- a/drivers/gpu/

Re: [RFC,libdrm 1/3] tegra: Add stream library

2012-12-28 Thread Arto Merilainen
On 12/28/2012 11:04 AM, Mark Zhang wrote: On 12/28/2012 04:50 PM, Arto Merilainen wrote: In my opinion asking tegra_stream_begin() to put a bad fence into the stream is a case we should never be. assert() kills the application immediately (in debug builds) and usually this helps the programmer

[PATCH] drm/exynos: Add device tree based discovery support for Exynos G2D

2012-12-28 Thread Ajay Kumar
This patch adds device tree match table for Exynos G2D controller. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exynos_drm_g2d.c index 6ffa07

Re: [PATCH 04/10] drm/exynos: Use devm_clk_get in exynos_drm_fimc.c

2012-12-28 Thread Sachin Kamat
On 27 December 2012 15:43, Inki Dae wrote: > > > 2012/12/26 Sachin Kamat >> >> >> >> On Wednesday, 26 December 2012, Inki Dae wrote: >> > >> > >> > 2012/12/24 Sachin Kamat >> >> >> >> This eliminates the need for explicit clk_put and makes the >> >> cleanup and exit path code simpler. >> >> >>

[PATCH 0/4] drm/exynos: add support for extra resolutions to exynos5

2012-12-28 Thread Rahul Sharma
This patch set adds support for more resolutions and refresh rates to Samsung Exynos5 SoC series which contains hdmi transmitter (hdmi v1.4a compliant). Given resolution will be supported or not, is decided by two factors: 1) Corresponding pixel clock is supported by hdmi PHY. 2) Mixer supports th

[PATCH 1/4] drm/exynos: add display-mode-check operation to exynos_mixer_ops struct

2012-12-28 Thread Rahul Sharma
This patch adds the display mode check operation to exynos_mixer_ops in drm-common-hdmi. In Exynos SoCs, mixer IP can put certain restrictions on the proposed display modes. These restriction needs to be considered during mode negotiation, which happens immediately after edid parsing. Both, mixer

[PATCH 2/4] drm/exynos: implement display-mode-check callback in mixer driver

2012-12-28 Thread Rahul Sharma
This patch adds the implementation of check_mode callback in the mixer driver. Based on the mixer version, correct set of restrictions will be exposed by the mixer driver. A resolution will be acceptable only if passes the criteria set by mixer and hdmi IPs. Signed-off-by: Rahul Sharma Signed-off

[PATCH 3/4] drm/exynos: mixer: set correct mode for range of resolutions

2012-12-28 Thread Rahul Sharma
With this patch, mixer driver find the correct resolution mode for the range of resolutions, upto 1080 vertical lines. Resolution will be categorized to NTSC SD, PAL SD or HD and the correct mode is set to the mixer configuration register. Signed-off-by: Rahul Sharma Signed-off-by: Sean Paul ---

[PATCH 4/4] drm/exynos: hdmi: support extra resolutions using drm_display_mode timings

2012-12-28 Thread Rahul Sharma
From: Sean Paul This patch programs the core and timing generator registers using the timing data provided in drm_display_mode and not using hard-coded configurations. Additional PHY configs has been added. This allows us to support more permissible resolutions and refresh rates. Signed-off-by:

Re: [RFC v2 0/5] Common Display Framework

2012-12-28 Thread Vikas Sajjan
On 27 December 2012 20:13, Tomasz Figa wrote: > Hi Laurent, > > On Monday 24 of December 2012 15:12:28 Laurent Pinchart wrote: >> Hi Tomasz, >> >> On Friday 21 December 2012 11:00:52 Tomasz Figa wrote: >> > On Tuesday 18 of December 2012 08:31:30 Vikas Sajjan wrote: >> > > On 17 December 2012 20:5

[PATCH] drm/exynos: let drm handle edid allocations

2012-12-28 Thread Rahul Sharma
There's no need to allocate edid twice and do a memcpy when drm helpers exist to do just that. This patch cleans that interaction up, and doesn't keep the edid hanging around in the connector. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma --- This patch is based on branch "exynos-drm-next

[Bug 43829] Resuming my AMD A4-3300 based laptop leaves the screen black

2012-12-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43829 --- Comment #17 from klausenb...@hotmail.com --- (In reply to comment #16) > (In reply to comment #15) > > A patch referencing this bug report has been merged in Linux v3.7-rc1: > > > > commit bced76f27165ca7733437715185c3a1aa526f7a1 > > Author:

[Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.

2012-12-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49981 --- Comment #24 from Anthony Waters --- On a HD6950 this patches causes the GPU to lock up if the GPU is in the low power profile and the x server is started with multiple monitors attached. The x server doesn't crash immediatly, but crashes upo

[Bug 43167] X intel driver causes wrong wraparound of console command line

2012-12-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43167 --- Comment #43 from al...@verizon.net --- (In reply to comment #42) > Does dropping 'm' from the modeline solve your problem? Hi Jani, I cannot believe this !!! # The "old", subject machine: # "ASUS P5E-VM HDMI" with Intel G35/ICH9R, Intel C

Re: [RFC,libdrm 1/3] tegra: Add stream library

2012-12-28 Thread Thierry Reding
On Fri, Dec 28, 2012 at 09:45:48AM +0200, Arto Merilainen wrote: > On 12/28/2012 08:47 AM, Mark Zhang wrote: > >>+int tegra_fence_is_valid(const struct tegra_fence *fence) > >>+{ > >>+int valid = fence ? 1 : 0; > >>+valid = valid && fence->id != (uint32_t) -1; > >>+valid = valid && fenc

[Bug 33418] [RADEON:KMS:JUNIPER:HD6850:R600G] nexuiz continuous GPU soft resets

2012-12-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33418 almos changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 58839] New: errors about too many fences printed while playing neverball

2012-12-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58839 Priority: medium Bug ID: 58839 Assignee: dri-devel@lists.freedesktop.org Summary: errors about too many fences printed while playing neverball Severity: normal Classifica

[Bug 58840] New: rendering error with MSAA on HD6850

2012-12-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58840 Priority: medium Bug ID: 58840 Assignee: dri-devel@lists.freedesktop.org Summary: rendering error with MSAA on HD6850 Severity: normal Classification: Unclassified OS: All

Re: [PATCHv4 5/8] drm: tegra: Remove redundant host1x

2012-12-28 Thread Thierry Reding
On Mon, Dec 24, 2012 at 10:25:00PM -0700, Stephen Warren wrote: > On 12/21/2012 11:50 PM, Terje Bergström wrote: > > On 21.12.2012 16:36, Thierry Reding wrote: > >> On Fri, Dec 21, 2012 at 01:39:21PM +0200, Terje Bergstrom wrote: > >>> +static struct platform_driver tegra_drm_platform_driver = { >

[Bug 58042] [bisected] Garbled UI in Team Fortress 2 Beta

2012-12-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58042 Bryan Quigley changed: What|Removed |Added CC||bryanquig...@ubuntu.com --- Comment #5 f

[Bug 51581] xorg not start after kexec when use nouveau

2012-12-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=51581 --- Comment #1 from Suloev Dmitry 2012-12-29 06:30:53 --- Any news? -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are watching the assignee of the bug. __

[Bug 50091] [BISECTED]GeForce 6150SE: system hangs on X-server start with garbled screen

2012-12-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=50091 Suloev Dmitry changed: What|Removed |Added CC||suloevdmi...@gmail.com --- Comment #2

[RFC v2 0/5] Common Display Framework

2012-12-28 Thread Sascha Hauer
On Thu, Dec 27, 2012 at 01:57:56PM -0600, Rob Clark wrote: > On Thu, Dec 27, 2012 at 1:18 PM, Sascha Hauer > wrote: > > On Thu, Dec 27, 2012 at 09:54:55AM -0600, Rob Clark wrote: > >> On Mon, Dec 24, 2012 at 7:37 AM, Laurent Pinchart > > > > This implies that the master driver knows all potential

[Bug 41265] Radeon KMS does not work on thunderbolt media dock

2012-12-28 Thread bugzilla-dae...@freedesktop.org
eedesktop.org/archives/dri-devel/attachments/20121228/f1a6d13d/attachment.html>

[PATCH] video: drm: exynos: mie bypass enable for fimd

2012-12-28 Thread Leela Krishna Amudala
Hello Inki Dae, On Thu, Dec 27, 2012 at 11:47 AM, Inki Dae wrote: > > Hi, > > DISP1BLK_CFG register is related to GScaler, HDCP and MIXER as well. So > it's not good that this register is controlled in fimd module. And I think > the function to control the register should be placed in SoC common

[PATCH] video: drm: exynos: mie bypass enable for fimd

2012-12-28 Thread Inki Dae
2012/12/28 Leela Krishna Amudala : > Hello Inki Dae, > > On Thu, Dec 27, 2012 at 11:47 AM, Inki Dae wrote: >> >> Hi, >> >> DISP1BLK_CFG register is related to GScaler, HDCP and MIXER as well. So >> it's not good that this register is controlled in fimd module. And I think >> the function to contro

[RFC,libdrm 1/3] tegra: Add stream library

2012-12-28 Thread Mark Zhang
I just skimmed the code of libdrm while I'm trying to understand the host1x driver. So below is what I found. Mark On 12/13/2012 10:01 PM, Arto Meril?inen wrote: > From: Arto Merilainen > > This patch introduces tegra stream library. The library is used for > buffer management, command stream co

[RFC,libdrm 2/3] tegra: Add 2d library

2012-12-28 Thread Mark Zhang
I just skimmed the code of libdrm while I'm trying to understand the host1x driver. So below is what I found. Mark On 12/13/2012 10:01 PM, Arto Meril?inen wrote: > From: Francis Hart > > This patch introduces a simple 2d library on top of stream library. > > Signed-off-by: Francis Hart [...] >

[RFC,libdrm 1/3] tegra: Add stream library

2012-12-28 Thread Arto Merilainen
On 12/28/2012 08:47 AM, Mark Zhang wrote: >> +int tegra_fence_is_valid(const struct tegra_fence *fence) >> +{ >> +int valid = fence ? 1 : 0; >> +valid = valid && fence->id != (uint32_t) -1; >> +valid = valid && fence->id < 32; > > Hardcode here. Assume always has 32 syncpts. > Change to

[RFC,libdrm 1/3] tegra: Add stream library

2012-12-28 Thread Mark Zhang
On 12/28/2012 03:45 PM, Arto Merilainen wrote: > On 12/28/2012 08:47 AM, Mark Zhang wrote: >>> +int tegra_fence_is_valid(const struct tegra_fence *fence) >>> +{ >>> +int valid = fence ? 1 : 0; >>> +valid = valid && fence->id != (uint32_t) -1; >>> +valid = valid && fence->id < 32; >> >>

[RFC,libdrm 1/3] tegra: Add stream library

2012-12-28 Thread Arto Merilainen
On 12/28/2012 09:57 AM, Mark Zhang wrote: > On 12/28/2012 03:45 PM, Arto Merilainen wrote: >> On 12/28/2012 08:47 AM, Mark Zhang wrote: + +/* Add fences */ +if (num_fences) { + +tegra_stream_push(stream, +nvhost_opcode_setclass(NV_HOST1X_CLA

[RFC,libdrm 1/3] tegra: Add stream library

2012-12-28 Thread Mark Zhang
On 12/28/2012 04:50 PM, Arto Merilainen wrote: > On 12/28/2012 09:57 AM, Mark Zhang wrote: >> On 12/28/2012 03:45 PM, Arto Merilainen wrote: >>> On 12/28/2012 08:47 AM, Mark Zhang wrote: > + > +/* Add fences */ > +if (num_fences) { > + > +tegra_stream_push(stream

[PATCHv4 0/8] Support for Tegra 2D hardware

2012-12-28 Thread Mark Zhang
Hi Terje, Here is the second part comments. I admit I still haven't finished reading the codes... really too many codes. :) Anyway I'll keep doing this when I have free slots. diff --git a/drivers/gpu/drm/tegra/gr2d.c b/drivers/gpu/drm/tegra/gr2d.c index a936902..c3ded60 100644 --- a/drivers/gpu/

[RFC,libdrm 1/3] tegra: Add stream library

2012-12-28 Thread Arto Merilainen
On 12/28/2012 11:04 AM, Mark Zhang wrote: > On 12/28/2012 04:50 PM, Arto Merilainen wrote: >> >> In my opinion asking tegra_stream_begin() to put a bad fence into the >> stream is a case we should never be. assert() kills the application >> immediately (in debug builds) and usually this helps the p

[RFC v2 0/5] Common Display Framework

2012-12-28 Thread Vikas Sajjan
On 27 December 2012 20:13, Tomasz Figa wrote: > Hi Laurent, > > On Monday 24 of December 2012 15:12:28 Laurent Pinchart wrote: >> Hi Tomasz, >> >> On Friday 21 December 2012 11:00:52 Tomasz Figa wrote: >> > On Tuesday 18 of December 2012 08:31:30 Vikas Sajjan wrote: >> > > On 17 December 2012 20:5

[PATCH] drm/exynos: let drm handle edid allocations

2012-12-28 Thread Rahul Sharma
There's no need to allocate edid twice and do a memcpy when drm helpers exist to do just that. This patch cleans that interaction up, and doesn't keep the edid hanging around in the connector. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma --- This patch is based on branch "exynos-drm-next

[Bug 43829] Resuming my AMD A4-3300 based laptop leaves the screen black

2012-12-28 Thread bugzilla-dae...@freedesktop.org
L attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121228/df02a4fb/attachment.html>

[Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.

2012-12-28 Thread bugzilla-dae...@freedesktop.org
e for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121228/712df5b9/attachment.html>

[Bug 43167] X intel driver causes wrong wraparound of console command line

2012-12-28 Thread bugzilla-dae...@freedesktop.org
esolutions)? -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121228/58e44692/attachment.html>

[RFC,libdrm 1/3] tegra: Add stream library

2012-12-28 Thread Thierry Reding
g with that. What we want is software that works unmodified on as many generations of Tegra as possible. 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/20121228/57592198/attachment.pgp>

[Bug 33418] [RADEON:KMS:JUNIPER:HD6850:R600G] nexuiz continuous GPU soft resets

2012-12-28 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121228/0ee6584d/attachment.html>

[Bug 58839] New: errors about too many fences printed while playing neverball

2012-12-28 Thread bugzilla-dae...@freedesktop.org
ri-devel/attachments/20121228/680a544a/attachment.html>

[Bug 58840] New: rendering error with MSAA on HD6850

2012-12-28 Thread bugzilla-dae...@freedesktop.org
nts/20121228/dfc7d414/attachment.html>

[PATCHv4 5/8] drm: tegra: Remove redundant host1x

2012-12-28 Thread Thierry Reding
ings clearer. I haven't tested it on real hardware yet because I don't have access over the holidays, but I'll post the patch once I've verified that it actually works. The code is based on patches 1-4 of this series and is meant to replace patch 5. 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/20121228/ab48c272/attachment.pgp>

[PATCH 04/10 Resend] drm/exynos: Use devm_clk_get in exynos_drm_fimc.c

2012-12-28 Thread Sachin Kamat
This eliminates the need for explicit clk_put and makes the cleanup and exit path code simpler. Cc: Eunchul Kim Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 45 ++ 1 files changed, 9 insertions(+), 36 deletions(-) diff --git a/drivers