[PATCH] gpu/drm/ttm: Use mutex_lock_killable() for shrinker functions.

2014-05-24 Thread Tetsuo Handa
Hello. I tried to test whether it is OK (from point of view of reentrant) to use mutex_lock() or mutex_lock_killable() inside shrinker functions when shrinker functions do memory allocation, for drivers/gpu/drm/ttm/ttm_page_alloc_dma.c is doing memory allocation with mutex lock held inside ttm_dma

[Bug 76861] New: radeon: flickering horizontal stripes/lines

2014-05-24 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=76861 Bug ID: 76861 Summary: radeon: flickering horizontal stripes/lines Product: Drivers Version: 2.5 Kernel Version: 3.15-rc6 Hardware: i386 OS: Linux Tree: Mainli

[PATCH linux-next] DRM: Armada: update dma_buf_export use

2014-05-24 Thread Vincent Stehlé
The dma_buf_export function was updated in commit 4bcec44ffaf9 'dma-buf: use reservation objects' to take a reservation object parameter; update Armada export method accordingly. This fixes the following compilation error: drivers/gpu/drm/armada/armada_gem.c: In function ?armada_gem_prime_expor

[Bug 31565] [r300] radeon_texture.c:136: radeon_teximage_map: Assertion `!image->base.Data' failed.

2014-05-24 Thread bugzilla-dae...@freedesktop.org
dri-devel/attachments/20140524/9ffa8502/attachment.html>

[Bug 2018] 3D depth display issues after suspend/resume

2014-05-24 Thread bugzilla-dae...@freedesktop.org
h VIA chipset) in my AMD AthlonXP machine died earlier this year. -- 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/20140524/

[Bug 16687] Desktop corruption when enabling Desktop Effects

2014-05-24 Thread bugzilla-dae...@freedesktop.org
: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140524/0ab309f3/attachment.html>

[Bug 36934] screen corruption after running a game

2014-05-24 Thread bugzilla-dae...@freedesktop.org
chment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140524/8390cd88/attachment.html>

[Bug 54174] fog issue in ut2004

2014-05-24 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20140524/0495a169/attachment.html>

[Bug 51604] and yet it moves: colored sparkling

2014-05-24 Thread bugzilla-dae...@freedesktop.org
se: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140524/beba17c7/attachment.html>

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

2014-05-24 Thread bugzilla-dae...@freedesktop.org
vel/attachments/20140524/52610a7d/attachment.html>

[Bug 58840] [r600g][hd6850] rendering error with MSAA

2014-05-24 Thread bugzilla-dae...@freedesktop.org
: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140524/dae31012/attachment.html>

[Bug 76761] radeon DPM breaks suspend to disk and resume from RAM in 3.14

2014-05-24 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=76761 --- Comment #4 from Vitaliy Filippov --- Do you need any other details about this bug? :) -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 78009] ETQW and TF2 creenshots have alpha=0

2014-05-24 Thread bugzilla-dae...@freedesktop.org
r the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140524/bb2f8097/attachment.html>

[PATCH 17/17] drm: Fix up the atomic legacy paths so they work

2014-05-24 Thread Rob Clark
From: Sean Paul BUG=chromium:336809 TEST=Tested on snow & peppy Change-Id: Icd864ac52da9c973202f3ac4629824ef5eec2ac9 Signed-off-by: Sean Paul Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_atomic.c | 4 drivers/gpu/drm/drm_crtc.c | 12 +--- include/drm/drm_crtc.h | 1

[PATCH 16/17] drm: more conservative locking

2014-05-24 Thread Rob Clark
TODO possibly just squash this back into "convert crtc/plane to atomic".. This reintroduces drm_modeset_lock_all() in a places that had not been converted to more fine grained locking (setcrtc, setplane, etc). This makes the locking equivalent to before. Note that since mode_config.mutex is a dr

[PATCH 15/17] drm: spiff out FB refcnting traces

2014-05-24 Thread Rob Clark
I find myself making this change locally whenever debugging FB reference counting. Which seems a bit silly. Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_crtc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c i

[PATCH 14/17] drm/msm: add atomic support

2014-05-24 Thread Rob Clark
Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/Makefile | 1 + drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c | 57 ++-- drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c | 6 ++ drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h | 1 + drivers/gpu/drm/msm/mdp/mdp4/mdp4_plane.c | 5 --

[PATCH 13/17] drm: push locking down into restore_fbdev_mode

2014-05-24 Thread Rob Clark
All the call-sites save one need locking. By pushing it down and adding a lockless flag, we can use the new spiffy atomic ww_mutex crtc locking and simplify all the call-sites. Signed-off-by: Rob Clark --- drivers/gpu/drm/armada/armada_fbdev.c | 4 +--- drivers/gpu/drm/drm_fb_cma_helper.c

[PATCH 12/17] drm: convert crtc to properties/state

2014-05-24 Thread Rob Clark
Break the mutable state of a crtc out into a separate structure and use atomic properties mechanism to set crtc attributes. This makes it easier to have some helpers for crtc->set_property() and for checking for invalid params. The idea is that individual drivers can wrap the state struct in thei

[PATCH 11/17] drm: convert plane to properties/state

2014-05-24 Thread Rob Clark
Break the mutable state of a plane out into a separate structure and use atomic properties mechanism to set plane attributes. This makes it easier to have some helpers for plane->set_property() and for checking for invalid params. The idea is that individual drivers can wrap the state struct in t

[PATCH 10/17] drm: allow FB's in drm_mode_object_find

2014-05-24 Thread Rob Clark
We do actually want to permit FB's in atomic case, since FB will be looked up like any other object property value in a few code paths (like property value validation). So split out into an internal function without the WARN_ON() which we can use in those special cases. Signed-off-by: Rob Clark

[PATCH 09/17] drm: Refactor object property check code

2014-05-24 Thread Rob Clark
From: Ville Syrj?l? Refactor the code to check whether an object has a specific property to a new function. v1: original v2: rebase on atomic -- Rob Clark v3: EINVAL->ENOENT Signed-off-by: Ville Syrj?l? Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_crtc.c | 25 ++--- 1

[PATCH 08/17] drm: Allow drm_mode_object_find() to look up an object of any type

2014-05-24 Thread Rob Clark
From: Ville Syrj?l? To avoid having to pass object types from userspace for atomic mode setting ioctl, allow drm_mode_object_find() to look up an object of any type. This will only work as long as the all object types share the ID space. Signed-off-by: Ville Syrj?l? Signed-off-by: Rob Clark --

[PATCH 07/17] drm: split propvals out and blob property support

2014-05-24 Thread Rob Clark
Split property values out into a different struct, so we can later move property values into state structs. This will allow the property values to stay in sync w/ the state updates which are either discarded or atomically committed. And since we are touching all the same code, add support for mut

[PATCH 06/17] drm: helpers to find mode objects

2014-05-24 Thread Rob Clark
Add a few more useful helpers to find mode objects. Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_crtc.c | 97 ++ include/drm/drm_crtc.h | 33 2 files changed, 63 insertions(+), 67 deletions(-) diff --git a/drivers/gpu/drm/drm_

[PATCH 05/17] drm: add signed-range property type

2014-05-24 Thread Rob Clark
Like range, but values are signed. Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_crtc.c | 45 + include/drm/drm_crtc.h | 12 include/uapi/drm/drm_mode.h | 1 + 3 files changed, 46 insertions(+), 12 deletions(-) diff --git a/driv

[PATCH 04/17] drm: add object property type

2014-05-24 Thread Rob Clark
An object property is an id (idr) for a drm mode object. This will allow a property to be used set/get a framebuffer, CRTC, etc. Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_crtc.c | 60 +++-- include/drm/drm_crtc.h | 27 in

[PATCH 03/17] drm: convert crtc and mode_config to ww_mutex

2014-05-24 Thread Rob Clark
For atomic, it will be quite convenient to not have to care so much about locking order. And 'state' gives us a convenient place to stash a ww_ctx for any sort of update that needs to grab multiple crtc locks. Because we will want to eventually make locking even more fine grained (giving locks to

[PATCH 02/17] drm: add atomic fxns

2014-05-24 Thread Rob Clark
The 'atomic' mechanism allows for multiple properties to be updated, checked, and commited atomically. This will be the basis of atomic- modeset and nuclear-pageflip. The basic flow is: state = dev->atomic_begin(); for (... one or more ...) obj->set_property(obj, state, prop, value);

[PATCH 01/17] drm: fix typo

2014-05-24 Thread Rob Clark
Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_crtc_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index a8b78e7..54e8fdb 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm

[PATCH 00/17] prepare for atomic/nuclear modeset/pageflip

2014-05-24 Thread Rob Clark
One more time, with feeling.. Previous revision of series: http://lists.freedesktop.org/archives/dri-devel/2014-March/055806.html And if you prefer, in git form: http://cgit.freedesktop.org/~robclark/linux/log/?h=cold-fusion git://people.freedesktop.org/~robclark/linux cold-fusion This series do

[Bug 79154] [Tesseract Game] 4xMSAA Causes Visible Wireframes

2014-05-24 Thread bugzilla-dae...@freedesktop.org
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/20140524/c3659f62/attachment.html>

[Bug 75361] freeze in Mass Effect 3 (wine)

2014-05-24 Thread bugzilla-dae...@freedesktop.org
nee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140524/8f6ef951/attachment.html>

[Bug 75361] freeze in Mass Effect 3 (wine)

2014-05-24 Thread bugzilla-dae...@freedesktop.org
xt part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140524/b060edf7/attachment.html>

[Bug 75361] freeze in Mass Effect 3 (wine)

2014-05-24 Thread bugzilla-dae...@freedesktop.org
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/20140524/9e389dfd/attachment.html>

[Bug 79154] [Tesseract Game] 4xMSAA Causes Visible Wireframes

2014-05-24 Thread bugzilla-dae...@freedesktop.org
without experimental code from that bug. -- 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/20140524/a83dee4a/attachment-0001.html>

[Bug 79154] [Tesseract Game] 4xMSAA Causes Visible Wireframes

2014-05-24 Thread bugzilla-dae...@freedesktop.org
ignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140524/66e2b4bf/attachment.html>

[Bug 79155] [Tesseract Game] Global Illumination: Medium Causes Color Distortion

2014-05-24 Thread bugzilla-dae...@freedesktop.org
iving 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/20140524/4e16778a/attachment.html>

[Bug 79154] [Tesseract Game] 4xMSAA Causes Visible Wireframes

2014-05-24 Thread bugzilla-dae...@freedesktop.org
reedesktop.org/archives/dri-devel/attachments/20140524/d89429d8/attachment.html>

[Bug 79157] [Tesseract Game] Grainy SSAO on RadeonSI

2014-05-24 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20140524/8f22eaa4/attachment.html>

[Bug 79155] [Tesseract Game] Global Illumination: Medium Causes Color Distortion

2014-05-24 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140524/d14a7f08/attachment.html>