Re: i915 freakout with latest 3.7 git

2012-12-05 Thread Lekensteyn
On Tuesday 04 December 2012 13:35:22 Heinz Diehl wrote: > Btw: which kernel is known to be the "last good one"? As mentioned in the linked bug [1], I bisected it to: commit 504c7267a1e84b157cbd7e9c1b805e1bc0c2c846 Author: Chris Wilson Date: Thu Aug 23 13:12:52 2012 +0100 drm/i915: Use cpu

Re: i915 freakout with latest 3.7 git

2012-12-05 Thread Lekensteyn
On Tuesday 04 December 2012 22:08:45 Heinz Diehl wrote: > Ok, but in comment 11 in the same thread you mention that reverting > this patch didn't fix the issue for you: > > "Reverting that commit on top of 3.7-rc4 did not fix the hang issue." The bisected commit was from between rc2 and rc3: $ git

Re: [RFC libdrm] Add NVIDIA Tegra support

2012-12-05 Thread Arto Merilainen
On 12/04/2012 05:13 PM, Thierry Reding wrote: +int drm_tegra_open(const char *path, struct drm_tegra **devicep) +{ + struct drm_tegra *device; + int err; + + if (!path || !devicep) + return -EINVAL; + + device = calloc(1, sizeof(*device)); + if (!device

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Thierry Reding
On Mon, Nov 26, 2012 at 03:19:12PM +0200, Terje Bergstrom wrote: > From: Arto Merilainen > > This patch removes the redundant host1x driver from tegradrm and > makes necessary bindings to the separate host driver. > > This modification introduces a regression: Because there is no > general frame

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #3 from Stefan Dösinger --- Created attachment 71022 --> https://bugs.freedesktop.org/attachment.cgi?id=71022&action=edit Fix for attachment 71014 The patch needed this small fix to compile. It seems that my gcc doesn't like logica

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #4 from Stefan Dösinger --- (In reply to comment #3) > Clipping is still broken. Sorry, this should read "culling is still broken". -- You are receiving this mail because: You are the assignee for the bug. __

Re: [PATCHv15 0/7] of: add display helper

2012-12-05 Thread Steffen Trumtrar
Hi Leela, unfortunately, nothing new as of yet. I have to work on other stuff at the moment. Regards, Steffen On Wed, Dec 05, 2012 at 01:25:30PM +0530, Leela Krishna Amudala wrote: > Hello Steffen, > > Any update on version 16 ? > > Best Wishes, > Leela Krishna Amudala. > > On Mon, Nov 26,

[Bug 40554] r200 falls back to software when clearing FBOs

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40554 --- Comment #4 from Stefan Dösinger --- Clearing by drawing geometry? Isn't that somewhat inefficient? Doesn't the hardware have a nicer way to deal with this? It's now also applying ATI_fragment_shader shaders when clearing. I'll send a patch f

First version of host1x intro

2012-12-05 Thread Terje Bergström
Hi, I created a base for host1x introduction text, and pasted it into https://gitorious.org/linux-tegra-drm/pages/Host1xIntroduction. For convenience, I also copy it below. As I've worked with all of this for so long, I cannot know what areas are most interesting to you, so I just tried to put in

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Terje Bergström
On 05.12.2012 10:33, Thierry Reding wrote: > I've been thinking about this some more and came to the conclusion that > since we will already have a tight coupling between host1x and tegra-drm > we may just as well keep the client registration code in host1x. The way > I imagine this to work would b

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Thierry Reding
On Wed, Dec 05, 2012 at 12:10:50PM +0200, Terje Bergström wrote: > On 05.12.2012 10:33, Thierry Reding wrote: > > I've been thinking about this some more and came to the conclusion that > > since we will already have a tight coupling between host1x and tegra-drm > > we may just as well keep the cli

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Terje Bergström
On 05.12.2012 13:13, Thierry Reding wrote: > What I propose is to move the client registration code that is currently > in drivers/gpu/drm/tegra/host1x.c to the host1x driver, which may or may > not end up in drivers/gpu/host1x. Ok. > >> host1x hardware access must be encapsulated in host1x driv

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Lucas Stach
Am Mittwoch, den 05.12.2012, 13:47 +0200 schrieb Terje Bergström: [...] > > > The problem that this solves is that the DRM driver needs to be bound to > > a specific platform device. None of the DRM subdevices are suitable > > because they are only part of the whole DRM device. I think that host1x

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Daniel Vetter
On Wed, Dec 5, 2012 at 12:47 PM, Terje Bergström wrote: > You're right in that binding to a sub-device is not a nice way. DRM > framework just needs a "struct device" to bind to. exynos seems to solve > this by introducing a virtual device and bind to that. I'm not sure if > this is the best way,

Re: [PATCH 0/3] drm/exynos: modify usage of wait for vblank

2012-12-05 Thread Eunchul Kim
Dear Prathyush Thank's your clarification. I have one opinion about your [PATCH 1/3] How about to add atomic_read() condition in each irq_handler ? like this. e.g) + if (atomic_read(&ctx->wait_vsync_event)) { + /* set wait vsync event to zero and wake up queue. */ +

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Thierry Reding
On Wed, Dec 05, 2012 at 01:47:38PM +0200, Terje Bergström wrote: > On 05.12.2012 13:13, Thierry Reding wrote: [...] > > Oh well, at the time nobody from NVIDIA was involved so I wrote that > > code in preparation for proper host1x support that I thought I would > > have to add myself at some point.

Re: [PATCH 0/3] drm/exynos: modify usage of wait for vblank

2012-12-05 Thread Prathyush K
On Wed, Dec 5, 2012 at 5:33 PM, Eunchul Kim wrote: > Dear Prathyush > > Thank's your clarification. > > I have one opinion about your [PATCH 1/3] > How about to add atomic_read() condition in each irq_handler ? > like this. > > e.g) > Hi Eunchul, Yes, I think this is better. I'll modify this in

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Daniel Vetter
On Wed, Dec 5, 2012 at 1:03 PM, Daniel Vetter wrote: > On Wed, Dec 5, 2012 at 12:47 PM, Terje Bergström > wrote: >> You're right in that binding to a sub-device is not a nice way. DRM >> framework just needs a "struct device" to bind to. exynos seems to solve >> this by introducing a virtual dev

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Thierry Reding
On Wed, Dec 05, 2012 at 01:03:14PM +0100, Daniel Vetter wrote: > On Wed, Dec 5, 2012 at 12:47 PM, Terje Bergström > wrote: > > You're right in that binding to a sub-device is not a nice way. DRM > > framework just needs a "struct device" to bind to. exynos seems to solve > > this by introducing a

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Daniel Vetter
On Wed, Dec 5, 2012 at 1:22 PM, Thierry Reding wrote: > Maybe something more elaborate could help, though. Suppose we add > functionality to DRM to instantiate a DRM device. We could call such a > function from the host1x driver to add a device which the tegra-drm > driver could bind to. This woul

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Thierry Reding
On Wed, Dec 05, 2012 at 01:31:54PM +0100, Daniel Vetter wrote: > On Wed, Dec 5, 2012 at 1:22 PM, Thierry Reding > wrote: > > Maybe something more elaborate could help, though. Suppose we add > > functionality to DRM to instantiate a DRM device. We could call such a > > function from the host1x dri

Re: [PATCH v2] drm/exynos: release fb pended by page flip

2012-12-05 Thread Rob Clark
On Wed, Dec 5, 2012 at 12:55 AM, Inki Dae wrote: > Hi > > 2012/12/5 Prathyush K >> >> Hi, >> >> Please check the reference counts for framebuffers: This is for one >> modetest (without flipping) >> >> Bootup: >> [2.31] KP: drm_framebuffer_init edb86900 - fb0 >> refcount

[Bug 40554] r200 falls back to software when clearing FBOs

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40554 --- Comment #5 from Roland Scheidegger --- (In reply to comment #4) > Clearing by drawing geometry? Isn't that somewhat inefficient? Doesn't the > hardware have a nicer way to deal with this? There are two normal methods how you can do ordinary b

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Terje Bergström
On 05.12.2012 14:04, Thierry Reding wrote: > On Wed, Dec 05, 2012 at 01:47:38PM +0200, Terje Bergström wrote: > Yes, but there's more. For instance I went to great lengths to make sure > there's no global data whatsoever. So all the data is bound to the > host1x device in the current code. I know m

[Bug 36554] Amnesia game causes black screen or kernel locks

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36554 --- Comment #13 from Tomasz P. --- Do you have s3tc support enabled? For me only in lower as possible graphics options game is playable and most textures looks normal(game is quite dark so hard to say).In higher graphics detail indeed textures ar

[Bug 34097] Screen clearing issues in Minecraft and Blender

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34097 Sven Arvidsson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 36554] Amnesia game causes black screen or kernel locks

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36554 --- Comment #14 from Tomasz P. --- > (In reply to comment #10) > > Do you have still the same problem with current mesa ? On my rv350 works > > good. > > Can you say what distro, kernel and mesa version you're using? Arch linux x64 , mesa-git,

[Bug 37220] RS482: Screen starts flashing after screensaver with KDE KWin desktop effects enabled

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37220 Tomasz P. changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 36952] segfault in crackberg xscreensaver on ATI RS482 in mesa git running kms & gallium

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36952 Tomasz P. changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 41579] R300 Segfaults when using mupen64plus

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41579 Tomasz P. changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 42622] [r300g] mupen64plus invalid command stream

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42622 Tomasz P. changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 42002] graphical glitches when using Xorg state tracker and 2D acceleration enabled

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42002 --- Comment #7 from Tomasz P. --- Xorg state tracker is deprecated, so I think we can close this bug. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing li

[Bug 42002] graphical glitches when using Xorg state tracker and 2D acceleration enabled

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42002 Tomasz P. changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 42009] audio stutters with xorg state tracker and 2D acceleration enabled

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42009 --- Comment #4 from Tomasz P. --- Xorg state tracker is deprecated, so I think we can close this bug. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing li

[Bug 42009] audio stutters with xorg state tracker and 2D acceleration enabled

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42009 Tomasz P. changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 57888] Amnesia shader compiler errors on RV350

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57888 --- Comment #7 from Tomasz P. --- I also waiting to merge this patch to master. :) -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Daniel Vetter
On Wed, Dec 5, 2012 at 2:28 PM, Thierry Reding wrote: >> Imo that's worse, since now drm manages even more of the driver->hw >> binding process. In my dream world the drm driver just registers a >> normal driver at module load time directly with whatever bus it's >> interested in, and then, from i

[Bug 54767] [r300g] 298 failures on WebGL Conformance Test

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54767 Tomasz P. changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[RFC v2 0/5] Add HDMI infoframe helpers

2012-12-05 Thread Thierry Reding
During the development of this series I ran into a couple of build failures caused by missing forward declarations. They are added in the first patch of this series. Patch 2 adds generic helpers to pack a structures that describe HDMI AVI, audio, vendor-specific or SPD infoframes into the binary f

[RFC v2 1/5] drm: Add some missing forward declarations

2012-12-05 Thread Thierry Reding
The drm_file and drm_clip_rect structures are used throughout the file but they are never declared nor pulled in through an include. Add forward declarations to make them available. Signed-off-by: Thierry Reding --- include/drm/drm_crtc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[RFC v2 2/5] video: Add generic HDMI infoframe helpers

2012-12-05 Thread Thierry Reding
Add generic helpers to pack HDMI infoframes into binary buffers. Signed-off-by: Thierry Reding --- Changes in v2: - add support for audio, vendor-specific and SPD infoframes - add various validity checks on infoframes - factor out checksum computation drivers/video/Kconfig | 3 + drivers/vid

[RFC v2 3/5] drm: Add HDMI infoframe helpers

2012-12-05 Thread Thierry Reding
Add a generic helper to fill in an HDMI AVI infoframe with data extracted from a DRM display mode. Signed-off-by: Thierry Reding --- Changes in v2: - reuse CEA modes defined in drm_edid_modes.h drivers/gpu/drm/Kconfig| 7 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/drm_hdmi.c

[RFC v2 5/5] drm/i915: Use generic HDMI infoframe helpers

2012-12-05 Thread Thierry Reding
Use the generic HDMI infoframe helpers to get rid of the duplicate implementation in the i915 driver. Signed-off-by: Thierry Reding --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/i915/intel_drv.h | 62 + drivers/gpu/drm/i915/intel_hdmi.c | 268 +-

[RFC v2 4/5] drm: tegra: Use generic HDMI infoframe helpers

2012-12-05 Thread Thierry Reding
Use the generic HDMI infoframe helpers to get rid of the NVIDIA Tegra reimplementation. Signed-off-by: Thierry Reding --- drivers/gpu/drm/tegra/Kconfig | 1 + drivers/gpu/drm/tegra/hdmi.c | 226 -- drivers/gpu/drm/tegra/hdmi.h | 189 ---

[Bug 30401] starting programs with Qt 4.7 opengl es2 graphicssystem fail

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30401 Tomasz P. changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 36554] Amnesia game causes black screen or kernel locks

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36554 --- Comment #15 from Scott Moreau --- (In reply to comment #13) > Do you have s3tc support enabled? Yes. > For me only in lower as possible graphics options game is playable and most > textures looks normal(game is quite dark so hard to say).In

[Bug 55606] r300_dri.so.tmp: tries to link to yylex

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55606 Tomasz P. changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 35446] Problem with Blender and big textures

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35446 --- Comment #7 from Tomasz P. --- Is there still a problem with that? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.o

Re: [RFC v2 3/5] drm: Add HDMI infoframe helpers

2012-12-05 Thread Lars-Peter Clausen
On 12/05/2012 05:45 PM, Thierry Reding wrote: > Add a generic helper to fill in an HDMI AVI infoframe with data > extracted from a DRM display mode. That's a very nice patch series, comes in pretty handy. Thanks :) I've just one comment. > [...] > +static inline enum hdmi_picture_aspect > +drm_d

[Bug 57918] New: Amnesia causes shader compiler errors on RV350 with high graphics settings

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57918 Priority: medium Bug ID: 57918 Assignee: dri-devel@lists.freedesktop.org Summary: Amnesia causes shader compiler errors on RV350 with high graphics settings Severity: normal

[Bug 57888] Amnesia shader compiler errors on RV350

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57888 --- Comment #8 from Scott Moreau --- (In reply to comment #6) > (In reply to comment #5) > > Created attachment 71019 [details] [review] [review] > > Possible fix > > > > Does this patch help? > > Yes this fixes the problem. The shaders work wi

[Bug 57919] New: Visual glitches in unity with Radeon HD 7600M

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57919 Priority: medium Bug ID: 57919 Assignee: dri-devel@lists.freedesktop.org Summary: Visual glitches in unity with Radeon HD 7600M Severity: normal Classification: Unclassified

[Bug 57919] Visual glitches in unity with Radeon HD 7600M

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57919 --- Comment #1 from Thilo Cestonaro --- Created attachment 71036 --> https://bugs.freedesktop.org/attachment.cgi?id=71036&action=edit LIBGL_DEBUG=verbose glxinfo >glxinfo_libgl_debug_verbose.txt 2>&1 -- You are receiving this mail because: Yo

[Bug 57919] Visual glitches in unity with Radeon HD 7600M

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57919 --- Comment #2 from Thilo Cestonaro --- Created attachment 71037 --> https://bugs.freedesktop.org/attachment.cgi?id=71037&action=edit Xorg log -- You are receiving this mail because: You are the assignee for the bug. _

[Bug 57919] Visual glitches in unity with Radeon HD 7600M

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57919 Thilo Cestonaro changed: What|Removed |Added Hardware|Other |x86-64 (AMD64) OS|All

[Bug 35446] Problem with Blender and big textures

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35446 --- Comment #8 from Václav Čermák --- That old machine with Radeon X1400 is gone now (machine works, I can log in through ssh, but display shows nothing, it is hardware failure, because is does not show even setup), so I cannot test it. In new la

[Bug 57888] Amnesia shader compiler errors on RV350

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57888 --- Comment #9 from Tomasz P. --- I also noticed that there is some graphical problems...but game require Radeon X1000/GeForce 6, so rv350 is'nt supported... http://www.amnesiagame.com/#buy -- You are receiving this mail because: You are the a

[Bug 38692] Massive graphical distortion on resume

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38692 --- Comment #1 from Tomasz P. --- Is the problem still exists ? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org htt

[Bug 36723] [r300g, bisected] Unigine Sanctuary: fog is not rendered properly

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36723 --- Comment #2 from Tomasz P. --- The problem still exists with current mesa-git ? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.

[Bug 36723] [r300g, bisected] Unigine Sanctuary: fog is not rendered properly

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36723 --- Comment #3 from Pavel Ondračka --- (In reply to comment #2) > The problem still exists with current mesa-git ? Yeah, the broken fog is still there. -- You are receiving this mail because: You are the assignee for the bug. _

[Bug 36723] [r300g, bisected] Unigine Sanctuary: fog is not rendered properly

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36723 --- Comment #4 from Marek Olšák --- This is not a compiler issue. The fog isn't rendered properly, because there are not enough varyings. I have a patch that reuses unused color varyings for texcoords. It fixes the fog, but it also breaks a lot o

[RFC 1/4] drm/exynos: add ipp subsystem

2012-12-05 Thread Eunchul Kim
Dear Inki Dae Sorry. I was too late. I have some issue about another part. Thank's for comments. I make some comments and checked IPP routine for comment out. almost finished. so, I can sent RFC v2 until this week. I added little comment of your comments. please check that. Thank's BR Eunchul K

[PATCH v2] drm/exynos: release fb pended by page flip

2012-12-05 Thread Inki Dae
return ret; >> >> - plane->crtc = crtc; >> + /* >> +* Take a reference to new fb. >> +* >> +* Taking a reference means that this plane's dma is going to >> access >> +* memory region to the new fb. >> +*/ >> + drm_framebuffer_reference(fb); >> >> + plane->crtc = crtc; >> exynos_plane_commit(plane); >> exynos_plane_dpms(plane, DRM_MODE_DPMS_ON); >> >> + /* >> +* If plane->fb is existed, unreference the fb. >> +* >> +* This means that memory region to the fb isn't accessed by the >> dma >> +* of this plane anymore. >> +*/ >> + if (plane->fb) >> + drm_framebuffer_unreference(plane->fb); >> + >> + plane->fb = fb; >> + >> return 0; >> } >> >> @@ -215,6 +233,14 @@ static int exynos_disable_plane(struct drm_plane >> *plane) >> { >> DRM_DEBUG_KMS("[%d] %s\n", __LINE__, __func__); >> >> + /* >> +* Unreference the (current)fb if plane->fb is existed. >> +* In exynos_update_plane(), the new fb reference count can be >> bigger >> +* than 1. So it can't be removed for that reference count. >> +*/ >> + if (plane->fb) >> + drm_framebuffer_unreference(plane->fb); >> + >> exynos_plane_dpms(plane, DRM_MODE_DPMS_OFF); >> >> return 0; >> -- >> 1.7.4.1 >> >> ___ >> dri-devel mailing list >> dri-devel at lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/dri-devel >> > > > ___ > dri-devel mailing list > dri-devel at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121205/fec84bf3/attachment-0001.html>

[PATCH 0/3] drm/exynos: modify usage of wait for vblank

2012-12-05 Thread Inki Dae
___ > dri-devel mailing list > dri-devel at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121205/10833684/attachment.html>

[PATCH v2] drm/exynos: release fb pended by page flip

2012-12-05 Thread Inki Dae
> -Daniel > -- > Daniel Vetter > Software Engineer, Intel Corporation > +41 (0) 79 365 57 48 - http://blog.ffwll.ch > ___ > dri-devel mailing list > dri-devel at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121205/46f9f9bc/attachment-0001.html>

[Bug 51301] [-next-20121129] memory leak/page allocator fragmentation?

2012-12-05 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=51301 --- Comment #6 from Peter Hurley 2012-12-05 00:57:08 --- This is filesystem/block or memory manager-related. I just built -next-20121204 and by the end of the build a 10gb machine had < 100mb of zone DMA32 and < 70mb zone NORMAL. -- Confi

[Bug 57888] Amnesia shader compiler errors on RV350

2012-12-05 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121205/74931355/attachment.html>

[Bug 57888] Amnesia shader compiler errors on RV350

2012-12-05 Thread bugzilla-dae...@freedesktop.org
op.org/archives/dri-devel/attachments/20121205/6de41bf0/attachment-0001.html>

[PATCH v2] drm/exynos: release fb pended by page flip

2012-12-05 Thread Inki Dae
return; >>> >>> drm_fb_helper_restore_fbdev_mode(private->fb_helper); >>> + >>> + mutex_lock(&dev->mode_config.mutex); >>> + >>> + /* Release fb pended by page flip. */ >>> + list_for_each_entry_safe(fb, fbt, &dev->mode_config.fb_list, >>> head) >>> + exynos_drm_release_pended_fb(fb); >>> + >>> + mutex_unlock(&dev->mode_config.mutex); >>> } >>> diff --git a/drivers/gpu/drm/exynos/exynos_drm_plane.c >>> b/drivers/gpu/drm/exynos/exynos_drm_plane.c >>> index 862ca1e..81d7323 100644 >>> --- a/drivers/gpu/drm/exynos/exynos_drm_plane.c >>> +++ b/drivers/gpu/drm/exynos/exynos_drm_plane.c >>> @@ -203,11 +203,29 @@ exynos_update_plane(struct drm_plane *plane, >>> struct drm_crtc *crtc, >>> if (ret < 0) >>> return ret; >>> >>> - plane->crtc = crtc; >>> + /* >>> +* Take a reference to new fb. >>> +* >>> +* Taking a reference means that this plane's dma is going to >>> access >>> +* memory region to the new fb. >>> +*/ >>> + drm_framebuffer_reference(fb); >>> >>> + plane->crtc = crtc; >>> exynos_plane_commit(plane); >>> exynos_plane_dpms(plane, DRM_MODE_DPMS_ON); >>> >>> + /* >>> +* If plane->fb is existed, unreference the fb. >>> +* >>> +* This means that memory region to the fb isn't accessed by the >>> dma >>> +* of this plane anymore. >>> +*/ >>> + if (plane->fb) >>> + drm_framebuffer_unreference(plane->fb); >>> + >>> + plane->fb = fb; >>> + >>> return 0; >>> } >>> >>> @@ -215,6 +233,14 @@ static int exynos_disable_plane(struct drm_plane >>> *plane) >>> { >>> DRM_DEBUG_KMS("[%d] %s\n", __LINE__, __func__); >>> >>> + /* >>> +* Unreference the (current)fb if plane->fb is existed. >>> +* In exynos_update_plane(), the new fb reference count can be >>> bigger >>> +* than 1. So it can't be removed for that reference count. >>> +*/ >>> + if (plane->fb) >>> + drm_framebuffer_unreference(plane->fb); >>> + >>> exynos_plane_dpms(plane, DRM_MODE_DPMS_OFF); >>> >>> return 0; >>> -- >>> 1.7.4.1 >>> >>> ___ >>> dri-devel mailing list >>> dri-devel at lists.freedesktop.org >>> http://lists.freedesktop.org/mailman/listinfo/dri-devel >>> >> >> >> ___ >> dri-devel mailing list >> dri-devel at lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/dri-devel >> >> > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121205/cae8647f/attachment-0001.html>

[PATCH 0/3] drm/exynos: modify usage of wait for vblank

2012-12-05 Thread Inki Dae
>> drivers/gpu/drm/exynos/exynos_drm_hdmi.c| 22 >> drivers/gpu/drm/exynos/exynos_drm_hdmi.h|2 +- >> drivers/gpu/drm/exynos/exynos_mixer.c | 37 >> +++++- >> 7 files changed, 73 insertions(+), 66 deletions(-) >> >> ___ >> dri-devel mailing list >> dri-devel at lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/dri-devel >> > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121205/e1b4b67f/attachment.html>

[PATCH v2] drm/exynos: release fb pended by page flip

2012-12-05 Thread Prathyush K
truct drm_framebuffer *fb); >>>> + >>>> /* get memory information of a drm framebuffer */ >>>> struct exynos_drm_gem_buf *exynos_drm_fb_buffer(struct drm_framebuffer >>>> *fb, >>>> int index); >>>> diff --git a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c >>>> b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c >>>> index e7466c4..62f3b9e 100644 >>>> --- a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c >>>> +++ b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c >>>> @@ -314,9 +314,18 @@ void exynos_drm_fbdev_fini(struct drm_device *dev) >>>> void exynos_drm_fbdev_restore_mode(struct drm_device *dev) >>>> { >>>> struct exynos_drm_private *private = dev->dev_private; >>>> + struct drm_framebuffer *fb, *fbt; >>>> >>>> if (!private || !private->fb_helper) >>>> return; >>>> >>>> drm_fb_helper_restore_fbdev_mode(private->fb_helper); >>>> + >>>> + mutex_lock(&dev->mode_config.mutex); >>>> + >>>> + /* Release fb pended by page flip. */ >>>> + list_for_each_entry_safe(fb, fbt, &dev->mode_config.fb_list, >>>> head) >>>> + exynos_drm_release_pended_fb(fb); >>>> + >>>> + mutex_unlock(&dev->mode_config.mutex); >>>> } >>>> diff --git a/drivers/gpu/drm/exynos/exynos_drm_plane.c >>>> b/drivers/gpu/drm/exynos/exynos_drm_plane.c >>>> index 862ca1e..81d7323 100644 >>>> --- a/drivers/gpu/drm/exynos/exynos_drm_plane.c >>>> +++ b/drivers/gpu/drm/exynos/exynos_drm_plane.c >>>> @@ -203,11 +203,29 @@ exynos_update_plane(struct drm_plane *plane, >>>> struct drm_crtc *crtc, >>>> if (ret < 0) >>>> return ret; >>>> >>>> - plane->crtc = crtc; >>>> + /* >>>> +* Take a reference to new fb. >>>> +* >>>> +* Taking a reference means that this plane's dma is going to >>>> access >>>> +* memory region to the new fb. >>>> +*/ >>>> + drm_framebuffer_reference(fb); >>>> >>>> + plane->crtc = crtc; >>>> exynos_plane_commit(plane); >>>> exynos_plane_dpms(plane, DRM_MODE_DPMS_ON); >>>> >>>> + /* >>>> +* If plane->fb is existed, unreference the fb. >>>> +* >>>> +* This means that memory region to the fb isn't accessed by >>>> the dma >>>> +* of this plane anymore. >>>> +*/ >>>> + if (plane->fb) >>>> + drm_framebuffer_unreference(plane->fb); >>>> + >>>> + plane->fb = fb; >>>> + >>>> return 0; >>>> } >>>> >>>> @@ -215,6 +233,14 @@ static int exynos_disable_plane(struct drm_plane >>>> *plane) >>>> { >>>> DRM_DEBUG_KMS("[%d] %s\n", __LINE__, __func__); >>>> >>>> + /* >>>> +* Unreference the (current)fb if plane->fb is existed. >>>> +* In exynos_update_plane(), the new fb reference count can be >>>> bigger >>>> +* than 1. So it can't be removed for that reference count. >>>> +*/ >>>> + if (plane->fb) >>>> + drm_framebuffer_unreference(plane->fb); >>>> + >>>> exynos_plane_dpms(plane, DRM_MODE_DPMS_OFF); >>>> >>>> return 0; >>>> -- >>>> 1.7.4.1 >>>> >>>> ___ >>>> dri-devel mailing list >>>> dri-devel at lists.freedesktop.org >>>> http://lists.freedesktop.org/mailman/listinfo/dri-devel >>>> >>> >>> >>> ___ >>> dri-devel mailing list >>> dri-devel at lists.freedesktop.org >>> http://lists.freedesktop.org/mailman/listinfo/dri-devel >>> >>> >> > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121205/fc6374b9/attachment-0001.html>

i915 freakout with latest 3.7 git

2012-12-05 Thread Heinz Diehl
On 05.12.2012, Lekensteyn wrote: > > I have now i915.i915_enable_rc6=0 in grub.cfg and disabled the XFCE > > compositor. Now I'm trying to hit the bug again... > Do you have a reliable reproduce method? As you can see in the linked bug it > was caused by relatively low memory pressure combined wi

[PATCH 0/3] drm/exynos: modify usage of wait for vblank

2012-12-05 Thread Prathyush K
| 20 ++ >>> drivers/gpu/drm/exynos/exynos_drm_encoder.c | 15 +++ >>> drivers/gpu/drm/exynos/exynos_drm_fimd.c| 37 >>> ++ >>> drivers/gpu/drm/exynos/exynos_drm_hdmi.c| 22 >>> drivers/gpu/drm/exynos/exynos_drm_hdm

[PATCH v2] drm/exynos: release fb pended by page flip

2012-12-05 Thread Inki Dae
/drivers/gpu/drm/exynos/exynos_drm_fb.h >>>>> index 96262e5..6b63bb1 100644 >>>>> --- a/drivers/gpu/drm/exynos/exynos_drm_fb.h >>>>> +++ b/drivers/gpu/drm/exynos/exynos_drm_fb.h >>>>> @@ -33,6 +33,12 @@ exynos_drm_framebuffer_init(struct drm_device *dev, >>>>> struct drm_mode_fb_cmd2 *mode_cmd, >>>>> struct drm_gem_object *obj); >>>>> >>>>> +/* set fb->pending variable to desired value. */ >>>>> +void exynos_drm_fb_set_pending(struct drm_framebuffer *fb, bool >>>>> pending); >>>>> + >>>>> +/* release a fb pended by page flip. */ >>>>> +void exynos_drm_release_pended_fb(struct drm_framebuffer *fb); >>>>> + >>>>> /* get memory information of a drm framebuffer */ >>>>> struct exynos_drm_gem_buf *exynos_drm_fb_buffer(struct >>>>> drm_framebuffer *fb, >>>>> int index); >>>>> diff --git a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c >>>>> b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c >>>>> index e7466c4..62f3b9e 100644 >>>>> --- a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c >>>>> +++ b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c >>>>> @@ -314,9 +314,18 @@ void exynos_drm_fbdev_fini(struct drm_device *dev) >>>>> void exynos_drm_fbdev_restore_mode(struct drm_device *dev) >>>>> { >>>>> struct exynos_drm_private *private = dev->dev_private; >>>>> + struct drm_framebuffer *fb, *fbt; >>>>> >>>>> if (!private || !private->fb_helper) >>>>> return; >>>>> >>>>> drm_fb_helper_restore_fbdev_mode(private->fb_helper); >>>>> + >>>>> + mutex_lock(&dev->mode_config.mutex); >>>>> + >>>>> + /* Release fb pended by page flip. */ >>>>> + list_for_each_entry_safe(fb, fbt, &dev->mode_config.fb_list, >>>>> head) >>>>> + exynos_drm_release_pended_fb(fb); >>>>> + >>>>> + mutex_unlock(&dev->mode_config.mutex); >>>>> } >>>>> diff --git a/drivers/gpu/drm/exynos/exynos_drm_plane.c >>>>> b/drivers/gpu/drm/exynos/exynos_drm_plane.c >>>>> index 862ca1e..81d7323 100644 >>>>> --- a/drivers/gpu/drm/exynos/exynos_drm_plane.c >>>>> +++ b/drivers/gpu/drm/exynos/exynos_drm_plane.c >>>>> @@ -203,11 +203,29 @@ exynos_update_plane(struct drm_plane *plane, >>>>> struct drm_crtc *crtc, >>>>> if (ret < 0) >>>>> return ret; >>>>> >>>>> - plane->crtc = crtc; >>>>> + /* >>>>> +* Take a reference to new fb. >>>>> +* >>>>> +* Taking a reference means that this plane's dma is going to >>>>> access >>>>> +* memory region to the new fb. >>>>> +*/ >>>>> + drm_framebuffer_reference(fb); >>>>> >>>>> + plane->crtc = crtc; >>>>> exynos_plane_commit(plane); >>>>> exynos_plane_dpms(plane, DRM_MODE_DPMS_ON); >>>>> >>>>> + /* >>>>> +* If plane->fb is existed, unreference the fb. >>>>> +* >>>>> +* This means that memory region to the fb isn't accessed by >>>>> the dma >>>>> +* of this plane anymore. >>>>> +*/ >>>>> + if (plane->fb) >>>>> + drm_framebuffer_unreference(plane->fb); >>>>> + >>>>> + plane->fb = fb; >>>>> + >>>>> return 0; >>>>> } >>>>> >>>>> @@ -215,6 +233,14 @@ static int exynos_disable_plane(struct drm_plane >>>>> *plane) >>>>> { >>>>> DRM_DEBUG_KMS("[%d] %s\n", __LINE__, __func__); >>>>> >>>>> + /* >>>>> +* Unreference the (current)fb if plane->fb is existed. >>>>> +* In exynos_update_plane(), the new fb reference count can be >>>>> bigger >>>>> +* than 1. So it can't be removed for that reference count. >>>>> +*/ >>>>> + if (plane->fb) >>>>> + drm_framebuffer_unreference(plane->fb); >>>>> + >>>>> exynos_plane_dpms(plane, DRM_MODE_DPMS_OFF); >>>>> >>>>> return 0; >>>>> -- >>>>> 1.7.4.1 >>>>> >>>>> ___ >>>>> dri-devel mailing list >>>>> dri-devel at lists.freedesktop.org >>>>> http://lists.freedesktop.org/mailman/listinfo/dri-devel >>>>> >>>> >>>> >>>> ___ >>>> dri-devel mailing list >>>> dri-devel at lists.freedesktop.org >>>> http://lists.freedesktop.org/mailman/listinfo/dri-devel >>>> >>>> >>> >> > > ___ > dri-devel mailing list > dri-devel at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121205/01c35b45/attachment-0001.html>

[PATCH 0/3] drm/exynos: modify usage of wait for vblank

2012-12-05 Thread Inki Dae
_crtc.c|6 +++- >>>> drivers/gpu/drm/exynos/exynos_drm_drv.h | 20 ++ >>>> drivers/gpu/drm/exynos/exynos_drm_encoder.c | 15 +++ >>>> drivers/gpu/drm/exynos/exynos_drm_fimd.c| 37 >>>> ++ >>>> drivers/gpu/drm/exynos/exynos_drm_hdmi.c| 22 >>>> drivers/gpu/drm/exynos/exynos_drm_hdmi.h|2 +- >>>> drivers/gpu/drm/exynos/exynos_mixer.c | 37 >>>> +- >>>> 7 files changed, 73 insertions(+), 66 deletions(-) >>>> >>>> ___ >>>> dri-devel mailing list >>>> dri-devel at lists.freedesktop.org >>>> http://lists.freedesktop.org/mailman/listinfo/dri-devel >>>> >>> >>> >> >> ___ >> dri-devel mailing list >> dri-devel at lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/dri-devel >> >> > > ___ > dri-devel mailing list > dri-devel at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121205/5ffcd1dd/attachment.html>

[PATCH 0/3] drm/exynos: modify usage of wait for vblank

2012-12-05 Thread Inki Dae
rds, >> Prathyush >> >> >> >>> Thanks, >>> Inki Dae >>> >>> Thanks, >>>> Inki Dae >>>> >>>> >>>>> Prathyush K (3) >>>>> drm/exynos: modify wait for vsync functions to use wait queues >>>>> drm/exynos: move w

[PATCH 0/3] drm/exynos: modify usage of wait for vblank

2012-12-05 Thread Inki Dae
ding only hdmi driver part. >>>> 4. the patch including exception code.(previous Patch 3) >>>> >>>> Please, re-send them. >>>> >>>> Sure. I'll post them again as requested. >>> >>> Regards, >>> Prathyush >>> >>> >>> >>>> Thanks, >>>> Inki Dae >>>> >>>> Thanks, >>>>> Inki Dae >>>>> >>>>> >>>>>> Prathyush K (3) >>>>>> drm/exynos: modify wait for vsync functions to use wait queues >>>>>> drm/exynos: move wait_for_vblank to manager_ops >>>>>> drm/exynos: do not disable crtc if already off >>>>>> >>>>>> drivers/gpu/drm/exynos/exynos_drm_crtc.c|6 +++- >>>>>> drivers/gpu/drm/exynos/exynos_drm_drv.h | 20 ++ >>>>>> drivers/gpu/drm/exynos/exynos_drm_encoder.c | 15 +++ >>>>>> drivers/gpu/drm/exynos/exynos_drm_fimd.c| 37 >>>>>> ++ >>>>>> drivers/gpu/drm/exynos/exynos_drm_hdmi.c| 22 >>>>>> drivers/gpu/drm/exynos/exynos_drm_hdmi.h|2 +- >>>>>> drivers/gpu/drm/exynos/exynos_mixer.c | 37 >>>>>> +- >>>>>> 7 files changed, 73 insertions(+), 66 deletions(-) >>>>>> >>>>>> ___ >>>>>> dri-devel mailing list >>>>>> dri-devel at lists.freedesktop.org >>>>>> http://lists.freedesktop.org/mailman/listinfo/dri-devel >>>>>> >>>>> >>>>> >>>> >>>> ___ >>>> dri-devel mailing list >>>> dri-devel at lists.freedesktop.org >>>> http://lists.freedesktop.org/mailman/listinfo/dri-devel >>>> >>>> >>> >>> ___ >>> dri-devel mailing list >>> dri-devel at lists.freedesktop.org >>> http://lists.freedesktop.org/mailman/listinfo/dri-devel >>> >>> >> > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121205/64bd8d16/attachment.html>

[RFC libdrm] Add NVIDIA Tegra support

2012-12-05 Thread Thierry Reding
the fd as a parameter. That way > the DDX could easily access also all generic libdrm functions. Good points, I'll take those into account. Thanks, 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/20121205/345465a6/attachment.pgp>

[PATCHv15 0/7] of: add display helper

2012-12-05 Thread Leela Krishna Amudala
Hello Steffen, Any update on version 16 ? Best Wishes, Leela Krishna Amudala. On Mon, Nov 26, 2012 at 2:37 PM, Steffen Trumtrar wrote: > Hi! > > Changes since v14: > - fix "const struct *" warning > (reported by: Leela Krishna Amudala samsung.com>) > - return -E

[RFC libdrm] Add NVIDIA Tegra support

2012-12-05 Thread Arto Merilainen
On 12/04/2012 05:13 PM, Thierry Reding wrote: > +int drm_tegra_open(const char *path, struct drm_tegra **devicep) > +{ > + struct drm_tegra *device; > + int err; > + > + if (!path || !devicep) > + return -EINVAL; > + > + device = calloc(1, sizeof(*device)); > +

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Thierry Reding
On Mon, Nov 26, 2012 at 03:19:12PM +0200, Terje Bergstrom wrote: > From: Arto Merilainen > > This patch removes the redundant host1x driver from tegradrm and > makes necessary bindings to the separate host driver. > > This modification introduces a regression: Because there is no > general frame

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-05 Thread bugzilla-dae...@freedesktop.org
--- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121205/1234b1ba/attachment.html>

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-05 Thread bugzilla-dae...@freedesktop.org
--- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121205/109f80b7/attachment.html>

[PATCHv15 0/7] of: add display helper

2012-12-05 Thread Steffen Trumtrar
Hi Leela, unfortunately, nothing new as of yet. I have to work on other stuff at the moment. Regards, Steffen On Wed, Dec 05, 2012 at 01:25:30PM +0530, Leela Krishna Amudala wrote: > Hello Steffen, > > Any update on version 16 ? > > Best Wishes, > Leela Krishna Amudala. > > On Mon, Nov 26,

[Bug 40554] r200 falls back to software when clearing FBOs

2012-12-05 Thread bugzilla-dae...@freedesktop.org
#x27;ll send a patch for that. -- 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/20121205/10419078/attachment.html>

First version of host1x intro

2012-12-05 Thread Terje Bergström
Hi, I created a base for host1x introduction text, and pasted it into https://gitorious.org/linux-tegra-drm/pages/Host1xIntroduction. For convenience, I also copy it below. As I've worked with all of this for so long, I cannot know what areas are most interesting to you, so I just tried to put in

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Terje Bergström
On 05.12.2012 10:33, Thierry Reding wrote: > I've been thinking about this some more and came to the conclusion that > since we will already have a tight coupling between host1x and tegra-drm > we may just as well keep the client registration code in host1x. The way > I imagine this to work would b

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Thierry Reding
the DRM device is registered at the proper hierarchical location. The circular dependency is indeed a problem, though. Quite frankly I have no idea how to solve this. However the approach taken in the current patch will break several other requirements as I already explained. Thierry ---

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Terje Bergström
On 05.12.2012 13:13, Thierry Reding wrote: > What I propose is to move the client registration code that is currently > in drivers/gpu/drm/tegra/host1x.c to the host1x driver, which may or may > not end up in drivers/gpu/host1x. Ok. > >> host1x hardware access must be encapsulated in host1x driv

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Lucas Stach
Am Mittwoch, den 05.12.2012, 13:47 +0200 schrieb Terje Bergstr?m: [...] > > > The problem that this solves is that the DRM driver needs to be bound to > > a specific platform device. None of the DRM subdevices are suitable > > because they are only part of the whole DRM device. I think that host1x

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Daniel Vetter
On Wed, Dec 5, 2012 at 12:47 PM, Terje Bergstr?m wrote: > You're right in that binding to a sub-device is not a nice way. DRM > framework just needs a "struct device" to bind to. exynos seems to solve > this by introducing a virtual device and bind to that. I'm not sure if > this is the best way,

[PATCH 0/3] drm/exynos: modify usage of wait for vblank

2012-12-05 Thread Eunchul Kim
Dear Prathyush Thank's your clarification. I have one opinion about your [PATCH 1/3] How about to add atomic_read() condition in each irq_handler ? like this. e.g) + if (atomic_read(&ctx->wait_vsync_event)) { + /* set wait vsync event to zero and wake up queue. */ +

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Thierry Reding
that. But I abandoned it in favour of fixing the DRM platform support code. The approach also didn't provide for the proper encapsulation. 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/20121205/990cb51a/attachment.pgp>

[PATCH 0/3] drm/exynos: modify usage of wait for vblank

2012-12-05 Thread Prathyush K
gt;>>> >>>> Hope I correctly understood the issue you mentioned. >>>>> >>>>> >>>>> >>>>> Anyway I removed the patch, "drm/exynos: release fb pended by page >>>>>> flip". And I hope this issue

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Daniel Vetter
On Wed, Dec 5, 2012 at 1:03 PM, Daniel Vetter wrote: > On Wed, Dec 5, 2012 at 12:47 PM, Terje Bergstr?m > wrote: >> You're right in that binding to a sub-device is not a nice way. DRM >> framework just needs a "struct device" to bind to. exynos seems to solve >> this by introducing a virtual dev

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Thierry Reding
the two calls. 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/20121205/2621c3bd/attachment.pgp>

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Daniel Vetter
On Wed, Dec 5, 2012 at 1:22 PM, Thierry Reding wrote: > Maybe something more elaborate could help, though. Suppose we add > functionality to DRM to instantiate a DRM device. We could call such a > function from the host1x driver to add a device which the tegra-drm > driver could bind to. This woul

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-05 Thread Thierry Reding
ould be wrapped into an #ifdef CONFIG_TEGRADRM. This is what I originally proposed. However, since tegra-drm will need to call functions provided by host1x we have a cyclic dependency. Wouldn't that prevent either module from being unloaded? 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/20121205/f31f160d/attachment.pgp>

[PATCH v2] drm/exynos: release fb pended by page flip

2012-12-05 Thread Rob Clark
On Wed, Dec 5, 2012 at 12:55 AM, Inki Dae wrote: > Hi > > 2012/12/5 Prathyush K >> >> Hi, >> >> Please check the reference counts for framebuffers: This is for one >> modetest (without flipping) >> >> Bootup: >> [2.31] KP: drm_framebuffer_init edb86900 - fb0 >> refcount

[Bug 40554] r200 falls back to software when clearing FBOs

2012-12-05 Thread bugzilla-dae...@freedesktop.org
learing. I'll send > a patch for that. Hmm yes that sounds wrong. -- 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/20121205/cd2e1040/attachment.html>

  1   2   >