[PATCH 2/2] drm/amdgpu: stop disabling irqs when it isn't neccessary

2016-06-13 Thread Daniel Vetter
On Mon, Jun 13, 2016 at 7:37 PM, Christian König wrote: > Am 13.06.2016 um 18:33 schrieb Daniel Vetter: >> >> On Mon, Jun 13, 2016 at 04:12:43PM +0200, Christian König wrote: >>> >>> From: Christian König >>> >>> A regular spin_lock/unlock should do here as well. >>> >>> Signed-off-by: Christi

[PATCH 2/3] dma-buf/sync_file: add sync_file_get_fence()

2016-06-13 Thread Gustavo Padovan
2016-06-10 Chris Wilson : > On Thu, Jun 09, 2016 at 12:05:29PM -0300, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Creates a function that given an sync file descriptor returns a > > fence_collection containing all fences in the sync_file. > > > > If there is only one fence in the s

Looking for pointers on diagnosing ring test failure in amdgpu

2016-06-13 Thread Matthew Macy
On Mon, 13 Jun 2016 01:35:34 -0700 Christian König wrote > Hi Matthew, > > sounds like the UVD block doesn't want to initialize. No idea off hand > why, could be anything. I would need the hardware here for a closer > inspection. > > For a workaround you can try to disab

linux-4.7-rc3/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:4836: wierd condition ?

2016-06-13 Thread Deucher, Alexander
ite (i.e., a read back of the register to make sure the write has completed). Thanks! Alex > Regards > > David Binderman -- next part -- A non-text attachment was scrubbed... Name: 0001-drm-amdgpu-gfx7-fix-broken-condition-check.patch Type: application/octet-stream Siz

linux-4.7-rc3/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:4836: wierd condition ?

2016-06-13 Thread David Binderman
Hello there, linux-4.7-rc3/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:4836]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. Source code is if ((ring->me == me_id) & (ring->pipe == pipe_id)) Maybe better code if ((ring->me == me_id)

[PATCH v2 6/7] iommu/rockchip: use DMA API to map, to flush cache

2016-06-13 Thread Shunqian Zheng
Hi On 2016年06月10日 17:10, Tomasz Figa wrote: > Hi, > > On Wed, Jun 8, 2016 at 10:26 PM, Shunqian Zheng > wrote: >> Use DMA API instead of architecture internal functions like >> __cpuc_flush_dcache_area() etc. >> >> To support the virtual device like DRM the virtual slave iommu >> added in

[PATCH v2 6/7] iommu/rockchip: use DMA API to map, to flush cache

2016-06-13 Thread Tomasz Figa
On Mon, Jun 13, 2016 at 6:56 PM, Shunqian Zheng wrote: > Hi > > On 2016年06月10日 17:10, Tomasz Figa wrote: >> >> Hi, >> >> On Wed, Jun 8, 2016 at 10:26 PM, Shunqian Zheng >> wrote: >>> >>> Use DMA API instead of architecture internal functions like >>> __cpuc_flush_dcache_area() etc. >>> >>>

[PATCH v2 1/2] drm/dsi: Implement dcs set/get display brightness

2016-06-13 Thread Vinay Simha BN
Provide a small convenience wrapper that set/get the display brightness value Cc: John Stultz Cc: Sumit Semwal Cc: Archit Taneja Cc: Rob Clark Cc: Jani Nikula Signed-off-by: Vinay Simha BN -- v1: *tested in nexus7 2nd gen. v2: * implemented jani review comments -functions name mapped

[PATCH v4 2/2] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

2016-06-13 Thread Vinay Simha BN
Add support for the JDI lt070me05000 WUXGA DSI panel used in Nexus 7 2013 devices. Programming sequence for the panel is was originally found in the android-msm-flo-3.4-lollipop-release branch from: https://android.googlesource.com/kernel/msm.git And video mode setting is from dsi-panel-jdi-d

[PATCH v2 6/7] iommu/rockchip: use DMA API to map, to flush cache

2016-06-13 Thread Shunqian Zheng
HI, On 2016年06月13日 18:21, Tomasz Figa wrote: > On Mon, Jun 13, 2016 at 6:56 PM, Shunqian Zheng > wrote: >> Hi >> >> On 2016年06月10日 17:10, Tomasz Figa wrote: >>> Hi, >>> >>> On Wed, Jun 8, 2016 at 10:26 PM, Shunqian Zheng >>> wrote: Use DMA API instead of architecture internal fu

[patch] drm/i915/mocs: || vs | typo in get_mocs_settings()

2016-06-13 Thread Mika Kuoppala
Dan Carpenter writes: > It seems pretty clear that bitwise OR was intended here and not logical > OR. > > Fixes: 6fc29133eafb ('drm/i915/gen9: Add WaDisableSkipCaching') > Signed-off-by: Dan Carpenter Reviewed-by: Mika Kuoppala > > diff --git a/drivers/gpu/drm/i915/intel_mocs.c > b/drivers/g

[PATCH v2 6/7] iommu/rockchip: use DMA API to map, to flush cache

2016-06-13 Thread Tomasz Figa
On Mon, Jun 13, 2016 at 7:31 PM, Shunqian Zheng wrote: > HI, > > > On 2016年06月13日 18:21, Tomasz Figa wrote: >> >> On Mon, Jun 13, 2016 at 6:56 PM, Shunqian Zheng >> wrote: >>> >>> Hi >>> >>> On 2016年06月10日 17:10, Tomasz Figa wrote: Hi, On Wed, Jun 8, 2016 at 10:26

[drm:intel_set_cpu_fifo_underrun_reporting]

2016-06-13 Thread Petko Manolov
Hello guys, Running xorg on my Lenovo Yoga 2 Pro (MY2013) on recent kernels turn into a major PITA. After a couple of minutes the screen starts to flicker and only killing xorg or reboot fixes the problem. This is what i typically see in dmesg: [0.00] microcode: microcode up

[drm:intel_set_cpu_fifo_underrun_reporting]

2016-06-13 Thread Petko Manolov
On 16-06-13 13:29:46, Petko Manolov wrote: > Hello guys, > > Running xorg on my Lenovo Yoga 2 Pro (MY2013) on recent kernels turn into a > major PITA. After a couple of minutes the screen starts to flicker and only > killing xorg or reboot fixes the problem. This is what i typically see

[PATCH 1/3 v2] drm/arcpgu: Make ARC PGU usable on simulation platforms

2016-06-13 Thread Alexey Brodkin
Hi Daniel, On Fri, 2016-06-10 at 17:29 +0300, Alexey Brodkin wrote: > From: Ruud Derwig > > In case of simulation there's no real encoder/transmitter device > because in the model's virtual LCD  we're rendering whatever > appears in frame-buffer memory. > > Signed-off-by: Ruud Derwig > Signe

[PATCH v6v3 02/12] mm: migrate: support non-lru movable page migration

2016-06-13 Thread Anshuman Khandual
On 05/31/2016 05:31 AM, Minchan Kim wrote: > @@ -791,6 +921,7 @@ static int __unmap_and_move(struct page *page, struct > page *newpage, > int rc = -EAGAIN; > int page_was_mapped = 0; > struct anon_vma *anon_vma = NULL; > + bool is_lru = !__PageMovable(page); > > if (!

[patch] drm/i915/mocs: || vs | typo in get_mocs_settings()

2016-06-13 Thread Mika Kuoppala
Dan Carpenter writes: > It seems pretty clear that bitwise OR was intended here and not logical > OR. > > Fixes: 6fc29133eafb ('drm/i915/gen9: Add WaDisableSkipCaching') > Signed-off-by: Dan Carpenter Pushed to drm-intel-next-queued. Thanks for patch. -Mika > > diff --git a/drivers/gpu/drm/i9

linux-4.7-rc3/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c: 2 * pointless tests ?

2016-06-13 Thread David Binderman
Hello there, 1. linux-4.7-rc3/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c:545]: (style) Checking if unsigned variable 'pipe' is less than zero. Source code is if (pipe < 0 || pipe >= priv->num_crtcs) { 2. linux-4.7-rc3/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c:567]: (style) Checking if unsigned

[PATCH] drm: bridge/dw-hdmi: Add support for DWC Phy

2016-06-13 Thread Jose Abreu
This patch adds support for the Synopsys HDMI TX Phy in bridge dw-hdmi. The init flow is the same as the Rockchip Phy so we only need to add one define and one if statement. Signed-off-by: Jose Abreu Cc: Carlos Palminha Cc: David Airlie Cc: dri-devel at lists.freedesktop.org Cc: linux-kernel a

[GIT PULL] drm/arcpgu: Make ARC PGU usable on sim platforms

2016-06-13 Thread Alexey Brodkin
Hi Dave, Please pull this mini-series that allows ARC PGU to be used on simulation platforms like nSIM OSCI (AKA Linux Virtual Platform) or ARC VDK. The series was published for review here https://lists.freedesktop.org/archives/dri-devel/2016-June/110647.html It is based on today's "drm-next" b

[PATCH] drm/i915: Fix missing unlock on error in i915_ppgtt_info()

2016-06-13 Thread weiyj...@163.com
From: Wei Yongjun Add the missing unlock before return from function i915_ppgtt_info() in the error handling case. Fixes: 1d2ac403ae3b(drm: Protect dev->filelist with its own mutex) Signed-off-by: Wei Yongjun --- drivers/gpu/drm/i915/i915_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2

<    1   2