[Intel-gfx] [PATCH v2 1/2] drm: Create new structure for HDMI info

2016-12-21 Thread kbuild test robot
-HDMI-info/20161221-065128 base: git://people.freedesktop.org/~airlied/linux.git drm-next config: x86_64-randconfig-i0-201651 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new

[Intel-gfx] [PATCH v2 1/2] drm: Create new structure for HDMI info

2016-12-21 Thread kbuild test robot
-HDMI-info/20161221-065128 base: git://people.freedesktop.org/~airlied/linux.git drm-next config: i386-randconfig-s1-201651 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new

[Bug 99078] Desktop icons oversaturated with red after December 11 2016 update

2016-12-21 Thread bugzilla-dae...@freedesktop.org
archives/dri-devel/attachments/20161221/f338f967/attachment.html>

[PATCH] drm/cma: Fix compile fail due to fomat->format typo

2016-12-21 Thread Fengguang Wu
Hi Ville, >Fengguang, assuming 0day has bandwidth for it adding my repo [1] to your >list might be nice. I tend to push most non-trivial patch series there >when I post the patches. > >[1] git://github.com/vsyrjala/linux.git Sure, bandwidth will never be a limitation. I just added your tree to th

[PATCH v2 1/2] drm: Create new structure for HDMI info

2016-12-21 Thread Sharma, Shashank
Thanks for the review Jose. My comments, inline. Regards Shashank On 12/20/2016 7:49 PM, Jose Abreu wrote: > Hi Shashank, > > > On 20-12-2016 13:47, Shashank Sharma wrote: >> This patch creates a new structure drm_hdmi_info (inspired from >> drm_display_info). Driver will parse HDMI sink's advanc

[PATCH v2 2/2] drm: parse hf-vsdb

2016-12-21 Thread Sharma, Shashank
Regards Shashank On 12/20/2016 8:05 PM, Jose Abreu wrote: > Hi Shashank, > > > On 20-12-2016 13:47, Shashank Sharma wrote: >> HDMI 2.0 / CEA-861-F specs define a new CEA extension data block, >> called hdmi-forum vendor specific data block (HF-VSDB). This block >> contains information about sink

[RFC 8/9] HACK: drm/msm/mdp5: Add support for legacy cursor updates

2016-12-21 Thread Archit Taneja
On 12/20/2016 07:10 PM, Maarten Lankhorst wrote: > Op 20-12-16 om 07:23 schreef Archit Taneja: >> >> >> On 12/19/2016 06:20 PM, Maarten Lankhorst wrote: >>> Op 19-12-16 om 13:08 schreef Archit Taneja: This code has been more or less picked up from the vc4 and intel implementations of up

[Bug 99078] Desktop icons oversaturated with red after December 11 2016 update

2016-12-21 Thread bugzilla-dae...@freedesktop.org
was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/2f179cfa/attachment.html>

[Bug 99078] Desktop icons oversaturated with red after December 11 2016 update

2016-12-21 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/59ff8eab/attachment.html>

[Bug 98520] System randomly crashes / freezes while playing certain games

2016-12-21 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/eee83d84/attachment.html>

[Bug 99163] Radeon HDMI audio lost after resuming from suspend on kernel >4.2

2016-12-21 Thread bugzilla-dae...@freedesktop.org
receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/ab15f0a6/attachment.html>

[PATCH 1/2] drm: Wrap the check for atomic_commit implementation

2016-12-21 Thread Daniel Vetter
On Tue, Dec 20, 2016 at 05:03:02PM -0800, Dhinakaran Pandiyan wrote: > This check is useful for drivers that do not have DRIVER_ATOMIC set but > have atomic modesetting internally implemented. Wrap the check into a > function since this is used in many places and as a bonus, the function > name hel

[PATCH 2/2] drm: Get atomic property value even if DRIVER_ATOMIC is not set

2016-12-21 Thread Daniel Vetter
On Tue, Dec 20, 2016 at 05:03:03PM -0800, Dhinakaran Pandiyan wrote: > i915 does not set DRIVER_ATOMIC by default yet but uses atomic_check and > atomic_commit. drm_object_property_get_value() does not read the correct > value of atomic properties if DRIVER_ATOMIC is not set. Checking whether > the

[PATCH] drm: remove immutable flag from suggested X/Y connector properties

2016-12-21 Thread Daniel Vetter
On Tue, Dec 20, 2016 at 11:38:52AM +0100, Michael Thayer wrote: > The suggested X and Y connector properties are intended as a way for drivers > for virtual machine GPUs to provide information about the layout of the > host system windows (or whatever) corresponding to given guest connectors. > The

[PATCH 1/2] drm: Add new DRM_IOCTL_MODE_GETPLANE2

2016-12-21 Thread Daniel Vetter
On Tue, Dec 20, 2016 at 07:46:12PM -0500, Rob Clark wrote: > On Tue, Dec 20, 2016 at 7:12 PM, Kristian H. Kristensen > wrote: > > diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h > > index ce7efe2..cea3de3 100644 > > --- a/include/uapi/drm/drm_mode.h > > +++ b/include/uapi/dr

[PATCH 1/2] drm: Add new DRM_IOCTL_MODE_GETPLANE2

2016-12-21 Thread Ville Syrjälä
On Wed, Dec 21, 2016 at 10:15:15AM +0100, Daniel Vetter wrote: > On Tue, Dec 20, 2016 at 07:46:12PM -0500, Rob Clark wrote: > > On Tue, Dec 20, 2016 at 7:12 PM, Kristian H. Kristensen > > wrote: > > > diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h > > > index ce7efe2..cea3d

[PATCH] drm/cma: Fix compile fail due to fomat->format typo

2016-12-21 Thread Ville Syrjälä
On Wed, Dec 21, 2016 at 11:38:15AM +0800, Fengguang Wu wrote: > Hi Ville, > > >Fengguang, assuming 0day has bandwidth for it adding my repo [1] to your > >list might be nice. I tend to push most non-trivial patch series there > >when I post the patches. > > > >[1] git://github.com/vsyrjala/linux.g

[PATCH 1/2] drm: Wrap the check for atomic_commit implementation

2016-12-21 Thread Ville Syrjälä
On Tue, Dec 20, 2016 at 05:03:02PM -0800, Dhinakaran Pandiyan wrote: > This check is useful for drivers that do not have DRIVER_ATOMIC set but > have atomic modesetting internally implemented. Wrap the check into a > function since this is used in many places and as a bonus, the function > name hel

[PATCH libdrm] modetest: Allow the user to specify the plane ID

2016-12-21 Thread Ville Syrjälä
On Wed, Sep 28, 2016 at 05:27:25PM +0300, ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > Devices can have multiple planes, so allow the user to choose between > them. > > Signed-off-by: Ville Syrjälä Didn't get any objectioms, so I pushed this to master. > --- > tests

[PATCH 1/2] drm: refernce count event->completion

2016-12-21 Thread Daniel Vetter
When writing the generic nonblocking commit code I assumed that through clever lifetime management I can assure that the completion (stored in drm_crtc_commit) only gets freed after it is completed. And that worked. I also wanted to make nonblocking helpers resilient against driver bugs, by having

[PATCH 2/2] drm: Add kernel-doc for drm_crtc_commit_get/put

2016-12-21 Thread Daniel Vetter
I was lazy, rectify that! Also align with drm_atomic_state_get/put for ocd. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_atomic.c | 9 ++--- include/drm/drm_atomic.h | 21 - 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/drm_a

[PATCH v2 1/2] drm: Create new structure for HDMI info

2016-12-21 Thread Sharma, Shashank
Regards Shashank On 12/21/2016 3:02 PM, Jose Abreu wrote: > Hi Shashank, > > > On 21-12-2016 03:49, Sharma, Shashank wrote: >> Thanks for the review Jose. >> >> My comments, inline. >> >> Regards >> Shashank >> On 12/20/2016 7:49 PM, Jose Abreu wrote: >>> Hi Shashank, >>> >>> >>> On 20-12-2016 1

[PATCH 1/2] drm: refernce count event->completion

2016-12-21 Thread Chris Wilson
On Wed, Dec 21, 2016 at 11:23:30AM +0100, Daniel Vetter wrote: > When writing the generic nonblocking commit code I assumed that > through clever lifetime management I can assure that the completion > (stored in drm_crtc_commit) only gets freed after it is completed. And > that worked. > > I also

[Bug 99078] Desktop icons oversaturated with red after December 11 2016 update

2016-12-21 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/ae8550ae/attachment-0001.html>

[PATCH 1/2] drm: refernce count event->completion

2016-12-21 Thread Maarten Lankhorst
Op 21-12-16 om 11:36 schreef Chris Wilson: > On Wed, Dec 21, 2016 at 11:23:30AM +0100, Daniel Vetter wrote: >> When writing the generic nonblocking commit code I assumed that >> through clever lifetime management I can assure that the completion >> (stored in drm_crtc_commit) only gets freed after

[PATCH 1/2] drm: refernce count event->completion

2016-12-21 Thread Daniel Vetter
On Wed, Dec 21, 2016 at 10:36:41AM +, Chris Wilson wrote: > On Wed, Dec 21, 2016 at 11:23:30AM +0100, Daniel Vetter wrote: > > When writing the generic nonblocking commit code I assumed that > > through clever lifetime management I can assure that the completion > > (stored in drm_crtc_commit)

[PATCH] drm: Add kernel-doc for drm_crtc_commit_get/put

2016-12-21 Thread Daniel Vetter
I was lazy, rectify that! Also align with drm_atomic_state_get/put for ocd. v2: Git add helps. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_atomic.c | 9 ++--- include/drm/drm_atomic.h | 21 - 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/d

[Bug 99130] [IVB] CONFIG_PROVE_LOCKING=y causes igt/gem_exec/basic-wait-all (and possibly others) to fail

2016-12-21 Thread bugzilla-dae...@freedesktop.org
<https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/52a9b7d2/attachment.html>

[Bug 99130] [IVB] CONFIG_PROVE_LOCKING=y causes igt/gem_exec/basic-wait-all (and possibly others) to fail

2016-12-21 Thread bugzilla-dae...@freedesktop.org
org/archives/dri-devel/attachments/20161221/403a2164/attachment.html>

[Bug 99130] [IVB] CONFIG_PROVE_LOCKING=y causes igt/gem_exec/basic-wait-all (and possibly others) to fail

2016-12-21 Thread bugzilla-dae...@freedesktop.org
: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/526bd0a5/attachment.html>

[PATCH] MAINTAINERS: add myself as maintainer of fbdev

2016-12-21 Thread Sudip Mukherjee
On Thu, Dec 15, 2016 at 03:45:47PM +0100, Bartlomiej Zolnierkiewicz wrote: > I would like to help with fbdev maintenance. I can dedicate some time > for reviewing and handling patches but won't have time for much more. > I thought usually someone takes over the maintainer role after proving that

[PATCH 1/5] drm/ttm: add evict parameter to ttm_bo_driver::move_notify

2016-12-21 Thread Nicolai Hähnle
On 16.12.2016 03:49, zhoucm1 wrote: > On 2016年12月16日 01:10, Nicolai Hähnle wrote: >> From: Nicolai Hähnle >> >> Ensure that the driver can listen to evictions even when they don't >> take the >> path through ttm_bo_driver::move. >> >> This is crucial for amdgpu, which relies on an eviction

[PATCH v3 1/3] drm: Create new structure for HDMI info

2016-12-21 Thread Shashank Sharma
This patch creates a new structure drm_hdmi_info (inspired from drm_display_info). Driver will parse HDMI sink's advance capabilities from HF-VSDB and populate this structure. This structure will be kept and used as a sub-class within drm_display_info. We are adding parsing of HF-VSDB In the next

[PATCH v3 2/3] drm: parse hf-vsdb

2016-12-21 Thread Shashank Sharma
HDMI 2.0 / CEA-861-F specs define a new CEA extension data block, called hdmi-forum vendor specific data block (HF-VSDB). This block contains information about sink's support for HDMI 2.0 compliant features. These features are: - Deep color YUV 420 support and BPC - 3D flags for - O

[PATCH v3 3/3] drm: clean cached display info

2016-12-21 Thread Shashank Sharma
This patch adds a small helper function, which clears the cached information about a hot-pluggable display, from connector. On event This will run on event of a hot-unplug, keeping the connector's display info up-to-date, avoiding any errors due to invalid cached data. Cc: Jose Abreu Suggested-b

[PATCH 1/2] drm: Add new DRM_IOCTL_MODE_GETPLANE2

2016-12-21 Thread Rob Clark
On Wed, Dec 21, 2016 at 4:15 AM, Daniel Vetter wrote: >> Also I guess it limits you to modifiers only with the first 64 >> formats.. maybe not a problem right away, but a quick look and drm/msm >> is already at 23 formats (and there are probably some more it could >> do.. without even starting to

[PATCH 1/2] drm: Add new DRM_IOCTL_MODE_GETPLANE2

2016-12-21 Thread Rob Clark
On Wed, Dec 21, 2016 at 4:19 AM, Ville Syrjälä wrote: > On Wed, Dec 21, 2016 at 10:15:15AM +0100, Daniel Vetter wrote: >> On Tue, Dec 20, 2016 at 07:46:12PM -0500, Rob Clark wrote: >> > On Tue, Dec 20, 2016 at 7:12 PM, Kristian H. Kristensen >> > wrote: >> > > diff --git a/include/uapi/drm/drm_

[Bug 99130] [IVB] CONFIG_PROVE_LOCKING=y causes igt/gem_exec/basic-wait-all (and possibly others) to fail

2016-12-21 Thread bugzilla-dae...@freedesktop.org
geblit. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/186fef40/attachment-0001.html>

[Bug 99130] [IVB] CONFIG_PROVE_LOCKING=y causes igt/gem_exec/basic-wait-all (and possibly others) to fail

2016-12-21 Thread bugzilla-dae...@freedesktop.org
u are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/d2b6766f/attachment.html>

[Bug 99130] [IVB] CONFIG_PROVE_LOCKING=y causes igt/gem_exec/basic-wait-all (and possibly others) to fail

2016-12-21 Thread bugzilla-dae...@freedesktop.org
(pinned x 1) (display) (ggtt offset: 0008, size: 0030, type: 0) -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161

[Bug 99130] [IVB] CONFIG_PROVE_LOCKING=y causes igt/gem_exec/basic-wait-all (and possibly others) to fail

2016-12-21 Thread bugzilla-dae...@freedesktop.org
mand_str); print_version(); -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/b4552579/attachment.html>

[Bug 99163] Radeon HDMI audio lost after resuming from suspend on kernel >4.2

2016-12-21 Thread bugzilla-dae...@freedesktop.org
, Dieter -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/7bb2e2a6/attachment.html>

[Bug 99163] Radeon HDMI audio lost after resuming from suspend on kernel >4.2

2016-12-21 Thread bugzilla-dae...@freedesktop.org
ives/dri-devel/attachments/20161221/adf22ace/attachment.html>

[Bug 99163] Radeon HDMI audio lost after resuming from suspend on kernel >4.2

2016-12-21 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/15c34162/attachment-0001.html>

[Bug 99163] Radeon HDMI audio lost after resuming from suspend on kernel >4.2

2016-12-21 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/ff472abc/attachment.html>

[Bug 99163] Radeon HDMI audio lost after resuming from suspend on kernel >4.2

2016-12-21 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/0c8284b4/attachment.html>

[PATCH 1/2] drm: Add new DRM_IOCTL_MODE_GETPLANE2

2016-12-21 Thread Kristian Høgsberg
t; > u64 modifiers[] > > bool (*format_mod_supported)(u32 format, u64 modifier); > > > > The driver provides those, and the core will then just go through the > > combinations and build up the masks. We could then also reuse that stuff > > for addfb2 so that the core will call that same hook to check whether > > the format+modifier is supported. That way the driver .fb_create() will > > never see any unsupported combinations and we avoid having to duplicate > > any logic there to see which hardware supports which formats. > > > > I do like this for internal API better, rather than driver building up > tables itself. > Yeah, I like Ville's suggestion too, I'll give it a try. Kristian > BR, > -R > -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/88a862d8/attachment.html>

[Bug 99130] [IVB] CONFIG_PROVE_LOCKING=y causes igt/gem_exec/basic-wait-all (and possibly others) to fail

2016-12-21 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/d3b45f69/attachment.html>

[PATCH 1/2] drm: Add new DRM_IOCTL_MODE_GETPLANE2

2016-12-21 Thread Kristian H. Kristensen
Rob Clark writes: > On Tue, Dec 20, 2016 at 7:12 PM, Kristian H. Kristensen > wrote: >> diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h >> index ce7efe2..cea3de3 100644 >> --- a/include/uapi/drm/drm_mode.h >> +++ b/include/uapi/drm/drm_mode.h >> @@ -209,6 +209,33 @@ struct

[PATCH v3 01/12] drm/vgem: Use ww_mutex_(un)lock even with a NULL context

2016-12-21 Thread Nicolai Hähnle
From: Nicolai Hähnle v2: use resv->lock instead of resv->lock.base (Christian König) Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Maarten Lankhorst Cc: Daniel Vetter Cc: Chris Wilson Cc: dri-devel at lists.freedesktop.org Signed-off-by: Nicolai Hähnle --- drivers/gpu/drm/vgem/vgem_fence.c |

[PATCH v3 03/12] locking/ww_mutex: Extract stamp comparison to __ww_mutex_stamp_after

2016-12-21 Thread Nicolai Hähnle
From: Nicolai Hähnle The function will be re-used in subsequent patches. v3: rename to __ww_ctx_stamp_after (Chris Wilson) Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Maarten Lankhorst Cc: Daniel Vetter Cc: Chris Wilson Cc: dri-devel at lists.freedesktop.org Signed-off-by: Nicolai Hähnle Rev

[PATCH v3 02/12] locking/mutex: Fix a race with handoffs and interruptible waits

2016-12-21 Thread Nicolai Hähnle
From: Nicolai Hähnle There's a possible race where the waiter in front of us leaves the wait list due to a signal, and the current owner subsequently hands the lock off to us even though we never observed ourselves at the front of the list. Set the task state before checking our position in the

[PATCH v3 09/12] locking/ww_mutex: Re-check ww->ctx in the inner optimistic spin loop

2016-12-21 Thread Nicolai Hähnle
From: Nicolai Hähnle In the following scenario, thread #1 should back off its attempt to lock ww1 and unlock ww2 (assuming the acquire context stamps are ordered accordingly). Thread #0 Thread #1 - - successfully lo

[PATCH v3 06/12] locking/ww_mutex: Add waiters in stamp order

2016-12-21 Thread Nicolai Hähnle
From: Nicolai Hähnle Add regular waiters in stamp order. Keep adding waiters that have no context in FIFO order and take care not to starve them. While adding our task as a waiter, back off if we detect that there is a waiter with a lower stamp in front of us. Make sure to call lock_contended

[PATCH v3 05/12] locking/ww_mutex: Remove the __ww_mutex_lock inline wrappers

2016-12-21 Thread Nicolai Hähnle
From: Nicolai Hähnle Keep the documentation in the header file since there is no good place for it in mutex.c: there are two rather different implementations with different EXPORT_SYMBOLs for each function. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Maarten Lankhorst Cc: Daniel Vetter Cc: Chris

[PATCH v3 07/12] locking/ww_mutex: Notify waiters that have to back off while adding tasks to wait list

2016-12-21 Thread Nicolai Hähnle
From: Nicolai Hähnle While adding our task as a waiter, detect if another task should back off because of us. With this patch, we establish the invariant that the wait list contains at most one (sleeping) waiter with ww_ctx->acquired > 0, and this waiter will be the first waiter with a context.

[PATCH v3 11/12] locking/mutex: Initialize mutex_waiter::ww_ctx with poison when debugging

2016-12-21 Thread Nicolai Hähnle
From: Nicolai Hähnle Help catch cases where mutex_lock is used directly on w/w mutexes, which otherwise result in the w/w tasks reading uninitialized data. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Maarten Lankhorst Cc: Daniel Vetter Cc: Chris Wilson Cc: dri-devel at lists.freedesktop.org Sig

[PATCH v3 10/12] locking/ww_mutex: Yield to other waiters from optimistic spin

2016-12-21 Thread Nicolai Hähnle
From: Nicolai Hähnle Lock stealing is less beneficial for w/w mutexes since we may just end up backing off if we stole from a thread with an earlier acquire stamp that already holds another w/w mutex that we also need. So don't spin optimistically unless we are sure that there is no other waiter

[PATCH v3 04/12] locking/ww_mutex: Set use_ww_ctx even when locking without a context

2016-12-21 Thread Nicolai Hähnle
From: Nicolai Hähnle We will add a new field to struct mutex_waiter. This field must be initialized for all waiters if any waiter uses the ww_use_ctx path. So there is a trade-off: Keep ww_mutex locking without a context on the faster non-use_ww_ctx path, at the cost of adding the initializati

[PATCH v3 12/12] Documentation/locking/ww_mutex: Update the design document

2016-12-21 Thread Nicolai Hähnle
From: Nicolai Hähnle Document the invariants we maintain for the wait list of ww_mutexes. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Maarten Lankhorst Cc: Daniel Vetter Cc: Chris Wilson Cc: dri-devel at lists.freedesktop.org Signed-off-by: Nicolai Hähnle --- Documentation/locking/ww-mutex-d

[PATCH v3 08/12] locking/ww_mutex: Wake at most one waiter for back off when acquiring the lock

2016-12-21 Thread Nicolai Hähnle
From: Nicolai Hähnle The wait list is sorted by stamp order, and the only waiting task that may have to back off is the first waiter with a context. The regular slow path does not have to wake any other tasks at all, since all other waiters that would have to back off were either woken up when

[PATCH 2/2] drm/dp: add DPCD/AUX logging

2016-12-21 Thread Imre Deak
On Thu, 2016-02-25 at 16:15 -0500, Rob Clark wrote: > Add a new drm_debug bit for turning on DPCD logging, to aid debugging > with troublesome monitors. > > v2: don't try to hexdump the universe if driver returns -errno, and > change the "too many retries" traces to DRM_ERROR() > v3: rename to mor

[PATCH] MAINTAINERS: add myself as maintainer of fbdev

2016-12-21 Thread Sudip Mukherjee
On Wed, Dec 21, 2016 at 05:50:05PM +0100, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Wednesday, December 21, 2016 03:06:55 PM Sudip Mukherjee wrote: > > On Thu, Dec 15, 2016 at 03:45:47PM +0100, Bartlomiej Zolnierkiewicz wrote: > > > I would like to help with fbdev maintenance. I can dedica

[PATCH 2/2] drm/dp: add DPCD/AUX logging

2016-12-21 Thread Rob Clark
On Wed, Dec 21, 2016 at 3:41 PM, Imre Deak wrote: > On Thu, 2016-02-25 at 16:15 -0500, Rob Clark wrote: >> Add a new drm_debug bit for turning on DPCD logging, to aid debugging >> with troublesome monitors. >> >> v2: don't try to hexdump the universe if driver returns -errno, and >> change the "to

[Bug 99078] Desktop icons oversaturated with red after December 11 2016 update

2016-12-21 Thread bugzilla-dae...@freedesktop.org
achment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/f4d2910a/attachment.html>

[PATCH 02/11] clk: bcm2835: Register the DSI0/DSI1 pixel clocks.

2016-12-21 Thread Stephen Boyd
On 12/14, Eric Anholt wrote: > > /* the gates */ > > @@ -1890,8 +1976,18 @@ static int bcm2835_clk_probe(struct platform_device > *pdev) > if (IS_ERR(cprman->regs)) > return PTR_ERR(cprman->regs); > > - cprman->osc_name = of_clk_get_parent_name(dev->of_node, 0);

[PATCH 02/11] clk: bcm2835: Register the DSI0/DSI1 pixel clocks.

2016-12-21 Thread Eric Anholt
We'll only be missing parents from the end of the array. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 832 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161221/0343dbad/attachment.sig>

[PATCH v2 2/2] drm: Get atomic property value even if DRIVER_ATOMIC is not set

2016-12-21 Thread Dhinakaran Pandiyan
i915 does not set DRIVER_ATOMIC by default yet but uses atomic_check and atomic_commit. drm_object_property_get_value() does not read the correct value of atomic properties if DRIVER_ATOMIC is not set. Checking whether the driver uses atomic modeset is a better check instead as the property values

[PATCH] MAINTAINERS: add myself as maintainer of fbdev

2016-12-21 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, December 21, 2016 03:06:55 PM Sudip Mukherjee wrote: > On Thu, Dec 15, 2016 at 03:45:47PM +0100, Bartlomiej Zolnierkiewicz wrote: > > I would like to help with fbdev maintenance. I can dedicate some time > > for reviewing and handling patches but won't have time for much more.

[PATCH v2 1/2] drm: Wrap the check for atomic_commit implementation

2016-12-21 Thread Dhinakaran Pandiyan
This check is useful for drivers that do not have DRIVER_ATOMIC set but have atomic modesetting internally implemented. Wrap the check into a function since this is used in many places and as a bonus, the function name helps to document what the check is for. v2: Change return type to bool (Ville)

[PATCH] drm: remove immutable flag from suggested X/Y connector properties

2016-12-21 Thread Michael Thayer
21.12.2016 10:05, Daniel Vetter wrote: > On Tue, Dec 20, 2016 at 11:38:52AM +0100, Michael Thayer wrote: >> The suggested X and Y connector properties are intended as a way for drivers >> for virtual machine GPUs to provide information about the layout of the >> host system windows (or whatever) co

[v1] gpu: drm: sti: sti_vtac:- Handle return NULL error from devm_ioremap_nocache

2016-12-21 Thread Arvind Yadav
Here, If devm_ioremap_nocache will fail. It will return NULL. Kernel can run into a NULL-pointer dereference. This error check will avoid NULL pointer dereference. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/sti/sti_vtac.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/gp

[v1] gpu: drm: sti: sti_vtg:- Handle return NULL error from devm_ioremap_nocache

2016-12-21 Thread Arvind Yadav
Here, If devm_ioremap_nocache will fail. It will return NULL. Kernel can run into a NULL-pointer dereference. This error check will avoid NULL pointer dereference. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/sti/sti_vtg.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu

RFC: fb restore on drm master close

2016-12-21 Thread vcap...@pengaru.com
Hello list, I've been playing with an unaccelerated drm program[1] and have been annoyed that whenever this program exits the fbcon isn't restored, with the display left completely off. This seems to happen because Xorg is still running from a different VT. Upon further investigation, it seems l

[PATCH 2/2] drm/i915/psr: program vsc header for psr2

2016-12-21 Thread vathsala nagaraju
Function hsw_psr_setup handles vsc header setup for psr1 and skl_psr_setup_vsc handles vsc header setup for psr2. Setup VSC header in function skl_psr_setup_vsc for psr2 support, as per edp 1.4 spec, table 6-11:VSC SDP HEADER Extension for psr2 operation. Cc: Rodrigo Vivi Cc: Jim Bride Signed-o

[PATCH 1/2] drm : adds Y-coordinate and Colorimetry Format

2016-12-21 Thread vathsala nagaraju
PSR2 vsc revision number hb2( as per table 6-11)is updated to 4 or 5 based on Y cordinate and Colorimetry Format as below 04h = 3D stereo + PSR/PSR2 + Y-coordinate. 05h = -3D stereo- + PSR/PSR2 + Y-coordinate + Pixel Encoding/Colorimetry Format indication. A DP Source device is allowed to indicate

[PATCH v2 1/2] drm: Create new structure for HDMI info

2016-12-21 Thread Jose Abreu
Hi Shashank, On 21-12-2016 03:49, Sharma, Shashank wrote: > Thanks for the review Jose. > > My comments, inline. > > Regards > Shashank > On 12/20/2016 7:49 PM, Jose Abreu wrote: >> Hi Shashank, >> >> >> On 20-12-2016 13:47, Shashank Sharma wrote: >>> This patch creates a new structure drm_hdmi_i