RE: [PATCH 3/4] drm/exynos: added userptr feature.

2012-05-15 Thread Inki Dae
> -Original Message- > From: robdcl...@gmail.com [mailto:robdcl...@gmail.com] On Behalf Of Rob > Clark > Sent: Tuesday, May 15, 2012 11:29 PM > To: InKi Dae > Cc: Inki Dae; kyungmin.p...@samsung.com; sw0312@samsung.com; dri- > de...@lists.freedesktop.org > Subject: Re: [PATCH 3/4] drm

[PATCH 3/4] drm/exynos: added userptr feature.

2012-05-15 Thread InKi Dae
2012/5/15 Rob Clark : > On Tue, May 15, 2012 at 2:17 AM, Inki Dae wrote: >> Hi Rob, >> >>> -Original Message- >>> From: robdclark at gmail.com [mailto:robdclark at gmail.com] On Behalf Of >>> Rob >>> Clark >>> Sent: Tuesday, May 15, 2012 4:35 PM >>> To: Inki Dae >>> Cc: airlied at linux.i

[Bug 39832] HDA ATI HDMI: no sound with 3.0 - 2.6.39.3 works

2012-05-15 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=39832 Carlos changed: What|Removed |Added CC||carlos.vedovatti at gmail.com --- Comment #2

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #27 from stefan 2012-05-15 13:18:21 PDT --- Created attachment 61693 --> https://bugs.freedesktop.org/attachment.cgi?id=61693 i915_error_state from 3.3.5 patched, no. 2 error state from 3.3.5 with Chris' patch. -- Configure bugm

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #26 from stefan 2012-05-15 13:16:23 PDT --- (In reply to comment #25) > Hi Chris, > > (In reply to comment #19) > > Always useful to check to see if there is any variation in the error states. > > Can you also try: > > http://cgit.f

No subject

2012-05-15 Thread
> Those two checks could probably be combined into one (< values || > values) > for further simplification. Answer: Fixed. The new function was just copy-paste, but your suggestion is good. diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index d3aaeb6..6014413 100644 --- a/dr

No subject

2012-05-15 Thread
> Please add that to the error message and use printk_once() since we only > really want to annoy the user the first time. For each time we see the message, we need to increase the value by 1, so instead of using printk_once, I just added this information to the message. Anyway, we shouldn't be se

No subject

2012-05-15 Thread
> > Perhaps we could add a debug message here for catch the unhandled types.. > This shouldn't happen. The previous checks should eliminate all objects that don't have properties. The only possibility I can think of is if we add properties to a new kind of object and forget to include it in the s

No subject

2012-05-15 Thread
> How about adding obj->properties.count to avoid having to count every > time? I just blindly followed the connector properties example. But your idea is good, so I implemented it. Fixed, but in a new patch near the end of the series. Putting the in the end of the series should make it easier to r

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #25 from stefan 2012-05-15 13:08:32 PDT --- Hi Chris, (In reply to comment #19) > Always useful to check to see if there is any variation in the error states. > Can you also try: > http://cgit.freedesktop.org/~ickle/linux-2.6/commit

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #24 from stefan 2012-05-15 13:04:55 PDT --- Created attachment 61689 --> https://bugs.freedesktop.org/attachment.cgi?id=61689 i915_error_state from 3.3.5 patched -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?ta

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33309 stefan changed: What|Removed |Added Attachment #61687|application/octet-stream|text/plain mime type|

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33309 stefan changed: What|Removed |Added Attachment #61686|application/octet-stream|text/plain mime type|

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33309 stefan changed: What|Removed |Added Attachment #61685|application/octet-stream|text/plain mime type|

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #23 from stefan 2012-05-15 13:01:58 PDT --- Created attachment 61688 --> https://bugs.freedesktop.org/attachment.cgi?id=61688 i915_error_state from 3.3.5 unpatched, no. 2 -- Configure bugmail: https://bugs.freedesktop.org/userpre

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #22 from stefan 2012-05-15 13:00:21 PDT --- Created attachment 61687 --> https://bugs.freedesktop.org/attachment.cgi?id=61687 i915_error_state from 3.3.5 unpatched -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #21 from stefan 2012-05-15 12:59:34 PDT --- Created attachment 61686 --> https://bugs.freedesktop.org/attachment.cgi?id=61686 i915_error_state from 3.3.4 patched -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?ta

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #20 from stefan 2012-05-15 12:58:42 PDT --- Created attachment 61685 --> https://bugs.freedesktop.org/attachment.cgi?id=61685 i915_error_state from 3.3.4 unpatched -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?

[PATCH libdrm 3/3] tests: add proptest

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni A small program that allows us to see and modify properties. Signed-off-by: Paulo Zanoni --- configure.ac |1 + tests/Makefile.am |2 +- tests/proptest/Makefile.am | 11 ++ tests/proptest/proptest.c | 317 +++

[PATCH libdrm 2/3] modetest: print CRTC properties

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni Reviewed-by: Eugeni Dodonov Signed-off-by: Paulo Zanoni --- tests/modetest/modetest.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 8012ecc..ce57e65 100644 --- a/tests/modetest/modetest.c ++

[PATCH libdrm 1/3] Add support for generic object properties IOCTLs

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni New library calls: - drmModeObjectGetProperties - drmModeFreeObjectProperties - drmModeObjectSetProperties Reviewed-by: Eugeni Dodonov Signed-off-by: Paulo Zanoni --- include/drm/drm.h |2 ++ include/drm/drm_mode.h | 24 ++ xf86drmMode.c |

[PATCH] drm: add CRTC properties

2012-05-15 Thread Paulo Zanoni
2012/5/15 Paulo Zanoni : > Patches 0 to 6 are not completely useless: they change the code that's > executed > when someone changes the Connector properties, and they allow the > implementation > of other object properties. This patch (0007) is an example of "how to add > properties to other obje

[PATCH] drm: add CRTC properties

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni The i915 driver needs this for the rotation and overscan compensation properties. Other drivers might need this too. Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/drm_crtc.c | 20 include/drm/drm_crtc.h |9 - 2 files changed, 28 inser

[PATCH] drm: add 'count' to struct drm_object_properties

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni This way, we don't need to count every time, so we're a little bit faster and code is a little bit smaller. Change suggested by Ville Syrj?l?. Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/drm_crtc.c | 64 +++- include/drm/drm_crt

[PATCH] drm: make the connector properties code use the object properties code

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni In the future, we may want to kill the internal functions: - drm_connector_attach_property - drm_connector_property_set_value - drm_connector_property_get_value It seems the IOCTL drm_mode_connector_property_set_ioctl will have to live, but we may change libdrm to not use it a

[PATCH] drm: add generic ioctls to get/set properties on any object

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni Useless for connector properties (since they already have their own ioctls), but useful when we add properties to CRTCs, planes and other objects. Reviewed-by: Eugeni Dodonov Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/drm_crtc.c | 182 +

[PATCH] drm: create struct drm_object_properties and use it

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni For now, only connectors have it. In the future, all objects that need properties should use it. Since the structure is referenced inside struct drm_mode_object, we will be able to deal with object properties without knowing the real type of the object. Reviewed-by: Eugeni Dod

[PATCH] drm: WARN() when drm_connector_attach_property fails

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni Also return void instead of int. We have more than 100 callers and no one checks for the return value. If this function fails the property won't be exposed by the get/set ioctls, but we should probably survive. If this starts happening, the solution will be to increase DRM_CON

[PATCH 1/8] drm: add drm_property_change_is_valid

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni Move code from drm_mode_connector_property_set_ioctl to a new function, so we can reuse this code when we add crtc properties. Reviewed-by: Eugeni Dodonov Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/drm_crtc.c | 39 +++ 1 file chang

[PATCH v2] drm/radeon: Also reset BCI on SI GPU reset.

2012-05-15 Thread Michel Dänzer
From: Michel D?nzer Without this, e.g. egltri_screen looks scrambled after a GPU reset. Signed-off-by: Michel D?nzer --- v2: Mention SI in title. drivers/gpu/drm/radeon/si.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c index

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

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49981 Erdem U. Altinyurt changed: What|Removed |Added AssignedTo|xorg-driver-...@lists.x.org |dri-devel@lists.freedesktop

[Bug 38465] Display flickers when setting power_profile

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38465 --- Comment #2 from Erdem U. Altinyurt 2012-05-15 17:25:36 PDT --- I have this flickering issue too on my HD8650. But not only moving to high to low profile. It flickers low to high profile too! This doesn't let us use "dynpm"... Using Kernel 3

[PATCH] drm/exynos: fixed blending for hdmi graphic layer

2012-05-15 Thread Seung-Woo Kim
Blending for graphic layer 0 of hdmi mixer was not set so video layer cannot be showed if graphic layer 0 is enabled. This patch fixes blending values to support blending between graphic layer 0 and video layer. Signed-off-by: Seung-Woo Kim Signed-off-by: Kyungmin Park --- This patch is based on

[PATCH 3/4] drm/exynos: added userptr feature.

2012-05-15 Thread Inki Dae
Hi Rob, > -Original Message- > From: robdclark at gmail.com [mailto:robdclark at gmail.com] On Behalf Of Rob > Clark > Sent: Tuesday, May 15, 2012 4:35 PM > To: Inki Dae > Cc: airlied at linux.ie; dri-devel at lists.freedesktop.org; > kyungmin.park at samsung.com; sw0312.kim at samsung.com

[PATCH] drm/radeon: Also reset BCI on GPU reset.

2012-05-15 Thread Michel Dänzer
From: Michel D?nzer Without this, e.g. egltri_screen looks scrambled after a GPU reset. Signed-off-by: Michel D?nzer --- drivers/gpu/drm/radeon/si.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c index eb5489f..c9ab939 100644 --

[PATCH] drm: track dev_mapping in more robust and flexible way

2012-05-15 Thread Ilija Hadzic
Setting dev_mapping (pointer to the address_space structure used for memory mappings) to the address_space of the first opener's inode and then failing if other openers come in through a different inode has a few restrictions that are eliminated by this patch. If we already have valid dev_mapping

[patch] drm/radeon: check kmalloc() for failures

2012-05-15 Thread Michel Dänzer
On Die, 2012-05-15 at 11:56 +0300, Dan Carpenter wrote: > We can just return -ENOMEM here if the allocation fails. > > Signed-off-by: Dan Carpenter Reviewed-by: Michel D?nzer -- Earthling Michel D?nzer | http://www.amd.com Libre software enthusiast |

[PATCH 05/19] drm: move dev_mapping to the minor node

2012-05-15 Thread Ilija Hadzic
On Mon, 30 Apr 2012, Dave Airlie wrote: > On Mon, Apr 30, 2012 at 6:53 PM, Dave Airlie wrote: >>> >>> Do you have pointers to that discussion (assuming it was on sime mailing >>> list)? The least I can do, while I am at it, is try to understand it and >>> see if I can incorporate some ideas fro

[PATCH libdrm 3/3] tests: add proptest

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni A small program that allows us to see and modify properties. Signed-off-by: Paulo Zanoni --- configure.ac |1 + tests/Makefile.am |2 +- tests/proptest/Makefile.am | 11 ++ tests/proptest/proptest.c | 317 +++

[PATCH libdrm 2/3] modetest: print CRTC properties

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni Reviewed-by: Eugeni Dodonov Signed-off-by: Paulo Zanoni --- tests/modetest/modetest.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 8012ecc..ce57e65 100644 --- a/tests/modetest/modetest.c ++

[PATCH libdrm 1/3] Add support for generic object properties IOCTLs

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni New library calls: - drmModeObjectGetProperties - drmModeFreeObjectProperties - drmModeObjectSetProperties Reviewed-by: Eugeni Dodonov Signed-off-by: Paulo Zanoni --- include/drm/drm.h |2 ++ include/drm/drm_mode.h | 24 ++ xf86drmMode.c |

Re: [PATCH] drm: add CRTC properties

2012-05-15 Thread Paulo Zanoni
2012/5/15 Paulo Zanoni : > Patches 0 to 6 are not completely useless: they change the code that's > executed > when someone changes the Connector properties, and they allow the > implementation > of other object properties. This patch (0007) is an example of "how to add > properties to other obje

[PATCH] drm: add CRTC properties

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni The i915 driver needs this for the rotation and overscan compensation properties. Other drivers might need this too. Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/drm_crtc.c | 20 include/drm/drm_crtc.h |9 - 2 files changed, 28 inser

[PATCH] drm: add 'count' to struct drm_object_properties

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni This way, we don't need to count every time, so we're a little bit faster and code is a little bit smaller. Change suggested by Ville Syrjälä. Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/drm_crtc.c | 64 +++- include/drm/drm_crt

[PATCH] drm: make the connector properties code use the object properties code

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni In the future, we may want to kill the internal functions: - drm_connector_attach_property - drm_connector_property_set_value - drm_connector_property_get_value It seems the IOCTL drm_mode_connector_property_set_ioctl will have to live, but we may change libdrm to not use it a

[PATCH] drm: add generic ioctls to get/set properties on any object

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni Useless for connector properties (since they already have their own ioctls), but useful when we add properties to CRTCs, planes and other objects. Reviewed-by: Eugeni Dodonov Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/drm_crtc.c | 182 +

[PATCH] drm: create struct drm_object_properties and use it

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni For now, only connectors have it. In the future, all objects that need properties should use it. Since the structure is referenced inside struct drm_mode_object, we will be able to deal with object properties without knowing the real type of the object. Reviewed-by: Eugeni Dod

[PATCH] drm: WARN() when drm_connector_attach_property fails

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni Also return void instead of int. We have more than 100 callers and no one checks for the return value. If this function fails the property won't be exposed by the get/set ioctls, but we should probably survive. If this starts happening, the solution will be to increase DRM_CON

[PATCH 1/8] drm: add drm_property_change_is_valid

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni Move code from drm_mode_connector_property_set_ioctl to a new function, so we can reuse this code when we add crtc properties. Reviewed-by: Eugeni Dodonov Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/drm_crtc.c | 39 +++ 1 file chang

[Bug 39832] HDA ATI HDMI: no sound with 3.0 - 2.6.39.3 works

2012-05-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=39832 Carlos changed: What|Removed |Added CC||carlos.vedova...@gmail.com --- Comment #20 f

Re: [PATCH 05/19] drm: move dev_mapping to the minor node

2012-05-15 Thread Ilija Hadzic
On Mon, 30 Apr 2012, Dave Airlie wrote: On Mon, Apr 30, 2012 at 6:53 PM, Dave Airlie wrote: Do you have pointers to that discussion (assuming it was on sime mailing list)? The least I can do, while I am at it, is try to understand it and see if I can incorporate some ideas from there in the

[PATCH] drm: track dev_mapping in more robust and flexible way

2012-05-15 Thread Ilija Hadzic
Setting dev_mapping (pointer to the address_space structure used for memory mappings) to the address_space of the first opener's inode and then failing if other openers come in through a different inode has a few restrictions that are eliminated by this patch. If we already have valid dev_mapping

[PATCH 2/2 v4] drm/exynos: added userptr feature.

2012-05-15 Thread Inki Dae
Hi Jerome, > -Original Message- > From: Jerome Glisse [mailto:j.glisse at gmail.com] > Sent: Tuesday, May 15, 2012 4:27 AM > To: Inki Dae > Cc: airlied at linux.ie; dri-devel at lists.freedesktop.org; minchan at > kernel.org; > kosaki.motohiro at gmail.com; kyungmin.park at samsung.com; >

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #27 from stefan 2012-05-15 13:18:21 PDT --- Created attachment 61693 --> https://bugs.freedesktop.org/attachment.cgi?id=61693 i915_error_state from 3.3.5 patched, no. 2 error state from 3.3.5 with Chris' patch. -- Configure bugma

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #26 from stefan 2012-05-15 13:16:23 PDT --- (In reply to comment #25) > Hi Chris, > > (In reply to comment #19) > > Always useful to check to see if there is any variation in the error states. > > Can you also try: > > http://cgit.fr

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #25 from stefan 2012-05-15 13:08:32 PDT --- Hi Chris, (In reply to comment #19) > Always useful to check to see if there is any variation in the error states. > Can you also try: > http://cgit.freedesktop.org/~ickle/linux-2.6/commit/

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #24 from stefan 2012-05-15 13:04:55 PDT --- Created attachment 61689 --> https://bugs.freedesktop.org/attachment.cgi?id=61689 i915_error_state from 3.3.5 patched -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33309 stefan changed: What|Removed |Added Attachment #61687|application/octet-stream|text/plain mime type|

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33309 stefan changed: What|Removed |Added Attachment #61686|application/octet-stream|text/plain mime type|

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33309 stefan changed: What|Removed |Added Attachment #61685|application/octet-stream|text/plain mime type|

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #23 from stefan 2012-05-15 13:01:58 PDT --- Created attachment 61688 --> https://bugs.freedesktop.org/attachment.cgi?id=61688 i915_error_state from 3.3.5 unpatched, no. 2 -- Configure bugmail: https://bugs.freedesktop.org/userpref

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #22 from stefan 2012-05-15 13:00:21 PDT --- Created attachment 61687 --> https://bugs.freedesktop.org/attachment.cgi?id=61687 i915_error_state from 3.3.5 unpatched -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?t

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #21 from stefan 2012-05-15 12:59:34 PDT --- Created attachment 61686 --> https://bugs.freedesktop.org/attachment.cgi?id=61686 i915_error_state from 3.3.4 patched -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab

[Bug 33309] [855GM] GPU freeze due to overlay hang

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33309 --- Comment #20 from stefan 2012-05-15 12:58:42 PDT --- Created attachment 61685 --> https://bugs.freedesktop.org/attachment.cgi?id=61685 i915_error_state from 3.3.4 unpatched -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?t

[Bug 43236] A8-3870K graphics is broken

2012-05-15 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=43236 Artyom Kunyov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[PATCH v2] drm/radeon: Also reset BCI on SI GPU reset.

2012-05-15 Thread Alex Deucher
On Tue, May 15, 2012 at 11:31 AM, Michel D?nzer wrote: > From: Michel D?nzer > > Without this, e.g. egltri_screen looks scrambled after a GPU reset. > > Signed-off-by: Michel D?nzer > --- > > v2: Mention SI in title. v2 as well: Reviewed-by: Alex Deucher > > ?drivers/gpu/drm/radeon/si.c | ?

[PATCH] drm/radeon: Also reset BCI on GPU reset.

2012-05-15 Thread Alex Deucher
On Tue, May 15, 2012 at 11:07 AM, Michel D?nzer wrote: > From: Michel D?nzer > > Without this, e.g. egltri_screen looks scrambled after a GPU reset. > > Signed-off-by: Michel D?nzer Reviewed-by: Alex Deucher > --- > ?drivers/gpu/drm/radeon/si.c | ? ?1 + > ?1 file changed, 1 insertion(+) > > d

[patch] drm/radeon: check kmalloc() for failures

2012-05-15 Thread Dan Carpenter
We can just return -ENOMEM here if the allocation fails. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c index 0874a6d..fb44e7e 100644 --- a/drivers/gpu/drm/radeon/r100.c +++ b/drivers/gpu/drm/radeon/r100.c @@ -2008,6 +2008,8 @@ int r100_cs

[PATCH 1/2] drm/edid: adjust double-clocked cea modes

2012-05-15 Thread Adam Jackson
On 5/14/12 3:43 PM, Paulo Zanoni wrote: > Also, I think flag DRM_MODE_FLAG_DBLCLK does not sound correct for > them, so we would need to create flags: > - DRM_MODE_FLAG_PR_1_to_10 > - DRM_MODE_FLAG_PR_1_or_2 > - DRM_MODE_FLAG_PR_1_or_2_or_4 > > Or any other more creative names. And then we should

[PATCH 2/2 v4] drm/exynos: added userptr feature.

2012-05-15 Thread Jerome Glisse
On Tue, May 15, 2012 at 12:33 AM, Inki Dae wrote: > Hi Jerome, > >> -Original Message- >> From: Jerome Glisse [mailto:j.glisse at gmail.com] >> Sent: Tuesday, May 15, 2012 4:27 AM >> To: Inki Dae >> Cc: airlied at linux.ie; dri-devel at lists.freedesktop.org; minchan at >> kernel.org; >>

Re: [PATCH v2] drm/radeon: Also reset BCI on SI GPU reset.

2012-05-15 Thread Alex Deucher
On Tue, May 15, 2012 at 11:31 AM, Michel Dänzer wrote: > From: Michel Dänzer > > Without this, e.g. egltri_screen looks scrambled after a GPU reset. > > Signed-off-by: Michel Dänzer > --- > > v2: Mention SI in title. v2 as well: Reviewed-by: Alex Deucher > >  drivers/gpu/drm/radeon/si.c |  

Re: [PATCH] drm/radeon: Also reset BCI on GPU reset.

2012-05-15 Thread Alex Deucher
On Tue, May 15, 2012 at 11:07 AM, Michel Dänzer wrote: > From: Michel Dänzer > > Without this, e.g. egltri_screen looks scrambled after a GPU reset. > > Signed-off-by: Michel Dänzer Reviewed-by: Alex Deucher > --- >  drivers/gpu/drm/radeon/si.c |    1 + >  1 file changed, 1 insertion(+) > > d

[Bug 49789] External monitor flickers on xrandr or cat /sys/class/drm/card0-VGA-1/status

2012-05-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=49789 --- Comment #5 from Harald Judt 2012-05-15 02:01:59 PDT --- (In reply to comment #4) > (In reply to comment #3) > > Can I somehow find out (log files, whatever), whether the monitor has an > > EDID > > or not, after it has been connected? Becaus

[Bug 49943] New: radeon/drm: Hotplug udev events stop working

2012-05-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=49943 Bug #: 49943 Summary: radeon/drm: Hotplug udev events stop working Classification: Unclassified Product: DRI Version: XOrg CVS Platform: All OS/Version: Linux (All) St

drm framebuffer/scanout buffer transform

2012-05-15 Thread Michel Dänzer
On Mon, 2012-05-14 at 12:56 -0600, Dan Walkes wrote: > > I?m working on a project to implement a color transformation of all > pixels in the framebuffer. That sounds like the per CRTC colour lookup table might fit the bill. Grep for crtc_lut in drivers/gpu/drm/drm_crtc.c. > I?ve found drm_mode

Re: [PATCH 1/2] drm/edid: adjust double-clocked cea modes

2012-05-15 Thread Adam Jackson
On 5/14/12 3:43 PM, Paulo Zanoni wrote: Also, I think flag DRM_MODE_FLAG_DBLCLK does not sound correct for them, so we would need to create flags: - DRM_MODE_FLAG_PR_1_to_10 - DRM_MODE_FLAG_PR_1_or_2 - DRM_MODE_FLAG_PR_1_or_2_or_4 Or any other more creative names. And then we should cross our f

[PATCH v2] drm/radeon: Also reset BCI on SI GPU reset.

2012-05-15 Thread Michel Dänzer
From: Michel Dänzer Without this, e.g. egltri_screen looks scrambled after a GPU reset. Signed-off-by: Michel Dänzer --- v2: Mention SI in title. drivers/gpu/drm/radeon/si.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c index

[PATCH 3/4] drm/exynos: added userptr feature.

2012-05-15 Thread Rob Clark
On Tue, May 15, 2012 at 7:40 AM, InKi Dae wrote: > 2012/5/15 Rob Clark : >> On Tue, May 15, 2012 at 2:17 AM, Inki Dae wrote: >>> Hi Rob, >>> -Original Message- From: robdclark at gmail.com [mailto:robdclark at gmail.com] On Behalf Of Rob Clark Sent: Tuesday, May

[PATCH] drm/radeon: Also reset BCI on GPU reset.

2012-05-15 Thread Michel Dänzer
From: Michel Dänzer Without this, e.g. egltri_screen looks scrambled after a GPU reset. Signed-off-by: Michel Dänzer --- drivers/gpu/drm/radeon/si.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c index eb5489f..c9ab939 100644 --

[Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes

2012-05-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44772 --- Comment #7 from Harald Judt 2012-05-15 00:47:26 PDT --- Still reproducible on linux-3.4.0-rc7. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assig

Re: [patch] drm/radeon: check kmalloc() for failures

2012-05-15 Thread Michel Dänzer
On Die, 2012-05-15 at 11:56 +0300, Dan Carpenter wrote: > We can just return -ENOMEM here if the allocation fails. > > Signed-off-by: Dan Carpenter Reviewed-by: Michel Dänzer -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast |

Re: [PATCH 2/2 v4] drm/exynos: added userptr feature.

2012-05-15 Thread Jerome Glisse
On Tue, May 15, 2012 at 12:33 AM, Inki Dae wrote: > Hi Jerome, > >> -Original Message- >> From: Jerome Glisse [mailto:j.gli...@gmail.com] >> Sent: Tuesday, May 15, 2012 4:27 AM >> To: Inki Dae >> Cc: airl...@linux.ie; dri-devel@lists.freedesktop.org; minc...@kernel.org; >> kosaki.motoh...@

Re: [PATCH 3/4] drm/exynos: added userptr feature.

2012-05-15 Thread Rob Clark
On Tue, May 15, 2012 at 7:40 AM, InKi Dae wrote: > 2012/5/15 Rob Clark : >> On Tue, May 15, 2012 at 2:17 AM, Inki Dae wrote: >>> Hi Rob, >>> -Original Message- From: robdcl...@gmail.com [mailto:robdcl...@gmail.com] On Behalf Of Rob Clark Sent: Tuesday, May 15, 2012 4:3

[PATCH 1/1] drivers/gpu/drm/i915: Fixed uninitialized variables (warnings).

2012-05-15 Thread Chris Wilson
On Mon, 14 May 2012 20:57:07 -0300, Raphael Carvalho wrote: > From 1e77059e8f3158fd4844e3f6a5466a063d2f407e Mon Sep 17 00:00:00 2001 > From: "Raphael S.Carvalho" > Date: Mon, 14 May 2012 20:19:24 -0300 > Subject: [PATCH 1/1] drivers/gpu/drm/i915: Fixed uninitialized > variables (warnings).

Re: [PATCH 3/4] drm/exynos: added userptr feature.

2012-05-15 Thread InKi Dae
2012/5/15 Rob Clark : > On Tue, May 15, 2012 at 2:17 AM, Inki Dae wrote: >> Hi Rob, >> >>> -Original Message- >>> From: robdcl...@gmail.com [mailto:robdcl...@gmail.com] On Behalf Of Rob >>> Clark >>> Sent: Tuesday, May 15, 2012 4:35 PM >>> To: Inki Dae >>> Cc: airl...@linux.ie; dri-devel@l

[Bug 43236] A8-3870K graphics is broken

2012-05-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=43236 Artyom Kunyov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

No subject

2012-05-15 Thread
> Subject: [PATCH 1/1] =A0=A0=A0 drivers/gpu/drm/i915: Fixed uninitialized=A0variables (warnings).MIME-Version: 1.0Content-Type: text/plain;= charset=3DUTF-8Content-Transfer-Encoding: 8bitAs you see, this= modifications were really very important because if the remain variable re= ceives a value

[PATCH 3/4] drm/exynos: added userptr feature.

2012-05-15 Thread Rob Clark
On Tue, May 15, 2012 at 2:17 AM, Inki Dae wrote: > Hi Rob, > >> -Original Message- >> From: robdclark at gmail.com [mailto:robdclark at gmail.com] On Behalf Of Rob >> Clark >> Sent: Tuesday, May 15, 2012 4:35 PM >> To: Inki Dae >> Cc: airlied at linux.ie; dri-devel at lists.freedesktop.org

[patch] drm/radeon: check kmalloc() for failures

2012-05-15 Thread Dan Carpenter
We can just return -ENOMEM here if the allocation fails. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c index 0874a6d..fb44e7e 100644 --- a/drivers/gpu/drm/radeon/r100.c +++ b/drivers/gpu/drm/radeon/r100.c @@ -2008,6 +2008,8 @@ int r100_cs

Re: [PATCH 3/4] drm/exynos: added userptr feature.

2012-05-15 Thread Rob Clark
On Tue, May 15, 2012 at 2:17 AM, Inki Dae wrote: > Hi Rob, > >> -Original Message- >> From: robdcl...@gmail.com [mailto:robdcl...@gmail.com] On Behalf Of Rob >> Clark >> Sent: Tuesday, May 15, 2012 4:35 PM >> To: Inki Dae >> Cc: airl...@linux.ie; dri-devel@lists.freedesktop.org; >> kyungmi

[Bug 49789] External monitor flickers on xrandr or cat /sys/class/drm/card0-VGA-1/status

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49789 --- Comment #5 from Harald Judt 2012-05-15 02:01:59 PDT --- (In reply to comment #4) > (In reply to comment #3) > > Can I somehow find out (log files, whatever), whether the monitor has an > > EDID > > or not, after it has been connected? Becaus

[Bug 49943] New: radeon/drm: Hotplug udev events stop working

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49943 Bug #: 49943 Summary: radeon/drm: Hotplug udev events stop working Classification: Unclassified Product: DRI Version: XOrg CVS Platform: All OS/Version: Linux (All) St

[Bug 35988] Power management not working on ATI M92 LP [Mobility Radeon HD 4300]

2012-05-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=35988 --- Comment #10 from sashker 2012-05-14 18:59:05 PDT --- I have same problem with my Acer 4810TG notebook. The average temperature - is 70 degrees C. With proprietary driver - the temperature is 35-40 degrees C. #lspci -nn| grep VGA 01:00.0 VGA

[PATCH 3/4] drm/exynos: added userptr feature.

2012-05-15 Thread Rob Clark
On Mon, Apr 23, 2012 at 7:43 AM, Inki Dae wrote: > this feature could be used to use memory region allocated by malloc() in user > mode and mmaped memory region allocated by other memory allocators. userptr > interface can identify memory type through vm_flags value and would get > pages or page f

[PATCH] drm/exynos: fixed blending for hdmi graphic layer

2012-05-15 Thread Seung-Woo Kim
Blending for graphic layer 0 of hdmi mixer was not set so video layer cannot be showed if graphic layer 0 is enabled. This patch fixes blending values to support blending between graphic layer 0 and video layer. Signed-off-by: Seung-Woo Kim Signed-off-by: Kyungmin Park --- This patch is based on

RE: [PATCH 3/4] drm/exynos: added userptr feature.

2012-05-15 Thread Inki Dae
Hi Rob, > -Original Message- > From: robdcl...@gmail.com [mailto:robdcl...@gmail.com] On Behalf Of Rob > Clark > Sent: Tuesday, May 15, 2012 4:35 PM > To: Inki Dae > Cc: airl...@linux.ie; dri-devel@lists.freedesktop.org; > kyungmin.p...@samsung.com; sw0312@samsung.com > Subject: Re: [P

[Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes

2012-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44772 --- Comment #7 from Harald Judt 2012-05-15 00:47:26 PDT --- Still reproducible on linux-3.4.0-rc7. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assig

Re: [PATCH 3/4] drm/exynos: added userptr feature.

2012-05-15 Thread Rob Clark
On Mon, Apr 23, 2012 at 7:43 AM, Inki Dae wrote: > this feature could be used to use memory region allocated by malloc() in user > mode and mmaped memory region allocated by other memory allocators. userptr > interface can identify memory type through vm_flags value and would get > pages or page f