[Bug 96908] [radeonsi] MSAA causes graphical artifacts

2016-07-16 Thread bugzilla-dae...@freedesktop.org
HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160716/824f4bc5/attachment.html>

[PATCH v3 1/2] dt-bindings: tc358767: add DT documentation

2016-07-16 Thread Rob Herring
On Wed, Jul 13, 2016 at 09:07:10AM +0200, Philipp Zabel wrote: > Add DT binding documentation for the Toshiba TC358767 eDP bridge. > > Signed-off-by: Philipp Zabel > --- > .../bindings/display/bridge/toshiba,tc358767.txt | 51 > ++ > 1 file changed, 51 insertions(+) > cre

[PATCH 8/8] drm/amd/powerplay: Delete an unnecessary variable initialisation in phm_dispatch_table()

2016-07-16 Thread SF Markus Elfring
>From 0bf6f3c40786e12d3d42672f1d56296b30e17ac9 Mon Sep 17 00:00:00 2001 From: Markus Elfring Date: Sat, 16 Jul 2016 15:50:18 +0200 Subject: [PATCH 8/8] drm/amd/powerplay: Delete an unnecessary variable initialisation in phm_dispatch_table() The variable "result" will be set to an appropriate val

[PATCH 7/8] drm/amd/powerplay: Change assignment for a buffer variable in phm_dispatch_table()

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 15:36:36 +0200 The variable "temp_storage" was eventually reassigned with a pointer. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/gpu/drm/amd/powerplay/hwmgr/functiontables.c | 5 +++-- 1 file chan

[PATCH 6/8] drm/amdgpu: Change assignment for a variable in amdgpu_cgs_acpi_eval_object()

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 15:05:45 +0200 Indicate successful function execution only at the end. Thus omit initialisation for the variable "result" at the beginning. Signed-off-by: Markus Elfring --- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 3 ++- 1 file changed, 2 insertion

[PATCH 5/8] drm/amdgpu: Delete an unnecessary variable initialisation in amdgpu_cgs_acpi_eval_object()

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 14:54:12 +0200 The variable "argument" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 2 +- 1 file changed, 1 insert

[PATCH v2] drm/radeon: Remove deprecated create_singlethread_workqueue

2016-07-16 Thread Bhaktipriya Shridhar
alloc_workqueue replaces deprecated create_singlethread_workqueue(). Each hardware CRTC has a single flip work queue. When a radeon_flip_work_func item is queued, it needs to be executed ASAP because even a slight delay may cause the flip to be delayed by one refresh cycle. Hence, a dedicated wo

[PATCH 5/8] drm/amdgpu: Delete an unnecessary variable initialisation in amdgpu_cgs_acpi_eval_object()

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 14:54:12 +0200 The variable "argument" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 2 +- 1 file changed, 1 insert

[PATCH 4/8] drm/amdgpu: Delete a variable in amdgpu_cgs_acpi_eval_object()

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 14:00:28 +0200 The local variable "func_no" was assigned a value at two places. But it was not read within this function. Thus delete it. Signed-off-by: Markus Elfring --- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 2 -- 1 file changed, 2 deletions(-)

[PATCH 3/8] drm/amdgpu: One function call less in amdgpu_cgs_acpi_eval_object() after error detection

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 13:43:44 +0200 The kfree() function was called in one case by the amdgpu_cgs_acpi_eval_object() function during error handling even if the passed variable "obj" contained a null pointer. * Adjust jump targets according to the Linux coding style convent

[PATCH 2/8] drm/amdgpu/powerplay: Delete unnecessary checks before the function call "kfree"

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 12:38:12 +0200 The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/gp

[PATCH 1/8] drm/amdgpu: Delete an unnecessary check before drm_gem_object_unreference_unlocked()

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 11:28:36 +0200 The drm_gem_object_unreference_unlocked() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Ma

[PATCH 0/8] drm/amdgpu: Fine-tuning for three function implementations

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 16:23:21 +0200 Further update suggestions were taken into account after patches were applied from static source code analysis. Markus Elfring (8): Delete an unnecessary check before drm_gem_object_unreference_unlocked() Delete unnecessary checks be

[Bug 94900] HD6950 GPU lockup loop with various steam games (octodad[always], saints row 4[always], dead island[always], grid autosport[sometimes])

2016-07-16 Thread bugzilla-dae...@freedesktop.org
||autosport[sometimes]) -- 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/20160716/71710748/attachment.html>

[Bug 94900] HD6950 GPU lockup loop with various steam games (octodad, saints row 4, dead island, grid autosport)

2016-07-16 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160716/b36da7cd/attachment.html>

[Bug 94900] HD6950 GPU lockup loop with various steam games (octodad, saints row 4, dead island, grid autosport)

2016-07-16 Thread bugzilla-dae...@freedesktop.org
for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160716/46af1c14/attachment.html>

[Nouveau] [PATCH v3] drm/nouveau/fb/nv50: set DMA mask before mapping scratch page

2016-07-16 Thread Alexandre Courbot
On Sat, Jul 16, 2016 at 4:45 AM, Ard Biesheuvel wrote: > On 15 July 2016 at 07:52, Alexandre Courbot wrote: >> On Fri, Jul 8, 2016 at 1:59 AM, Ard Biesheuvel >> wrote: >>> The 100c08 scratch page is mapped using dma_map_page() before the TTM >>> layer has had a chance to set the DMA mask. This m

[pull] drm/msm: msm-next for 4.8

2016-07-16 Thread Rob Clark
Hi Dave, This time, a bunch of cleanups and refactoring work so that we can get dt bindings upstream. In general, we keep compatibility with existing downstream bindings as much as possible, to make backports to device kernels easier, but now we have cleaner upstream bindings so that we can start

[Bug 92936] Tonga powerplay isssues

2016-07-16 Thread bugzilla-dae...@freedesktop.org
atest tonga vce firmware + current agd5f drm-next kernels I can't reproduce this anymore. -- 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/20160716/d2f1ab6d/attachment.html>

[Bug 94900] HD6950 GPU lockup loop with various steam games (octodad, saints row 4, dead island, grid autosport)

2016-07-16 Thread bugzilla-dae...@freedesktop.org
are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160716/3100ce7b/attachment.html>

[Bug 115321] radeon runpm falsely disabled on Clevo P170EM

2016-07-16 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=115321 --- Comment #14 from Peter Wu --- Ah... vga_switcheroo_ready() actually checks for clients.. makes sense. As documented[1], the init handler is called when there is a dependence on vga[_switcheroo] clients. Radeon however does not seem to need t

[Bug 115321] radeon runpm falsely disabled on Clevo P170EM

2016-07-16 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=115321 --- Comment #13 from Christoph Haag --- This seems like a circular dependency. if ((rdev->flags & RADEON_IS_PX) && radeon_has_atpx_dgpu_power_cntl()) runtime = true; vga_switcheroo_register_client(rdev->pdev, &radeon_switcheroo_

[Bug 115321] radeon runpm falsely disabled on Clevo P170EM

2016-07-16 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=115321 --- Comment #12 from Christoph Haag --- First is the one radeon_atpx_init(); call that I added manually to radeon_device_init in order to make it work: [6.083965] CPU: 5 PID: 295 Comm: systemd-udevd Not tainted 4.6.0-mainline #1 [6.083966

[Bug 94900] HD6950 GPU lockup loop with various steam games (octodad, saints row 4, grid autosport)

2016-07-16 Thread bugzilla-dae...@freedesktop.org
ou 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/20160716/486bc039/attachment.html>

[PATCH] drm/ttm: Remove create_singlethread_workqueue

2016-07-16 Thread Bhaktipriya Shridhar
swap_queue was created to handle shrinking in low memory situations. A separate workqueue was used in order to avoid other workqueue tasks from being blocked since work items on swap_queue spend a lot of time waiting for the GPU. Since these long-running work items aren't involved in memory reclai

[Bug 115321] radeon runpm falsely disabled on Clevo P170EM

2016-07-16 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=115321 --- Comment #11 from Peter Wu --- Can you put a dump_stack() in the atpx_init function and radeon_has_atpx_dgpu_power_cntl functions such that we can see how it is called? -- You are receiving this mail because: You are watching the assignee of

[PATCH 12/16] gpu: ipu-v3: Fix CSI0 blur in NTSC format

2016-07-16 Thread Steve Longerbeam
On 07/15/2016 04:09 PM, Steve Longerbeam wrote: > > > On 07/15/2016 05:58 AM, Philipp Zabel wrote: >> Am Mittwoch, den 13.07.2016, 16:02 -0700 schrieb Steve Longerbeam: >>> On 07/10/2016 09:33 AM, Steve Longerbeam wrote: On 07/08/2016 10:34 AM, Philipp Zabel wrote: > Am Donnerstag,

[Bug 115321] radeon runpm falsely disabled on Clevo P170EM

2016-07-16 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=115321 --- Comment #10 from Christoph Haag --- Well, it does not help. I wanted to get you some more info, so I inserted some printks: in radeon_atpx_handler.c static void radeon_atpx_parse_functions(struct radeon_atpx_functions *f, u32 mask) {

[Bug 96860] Aliasing when using vdpau with mpv

2016-07-16 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160716/cea09f16/attachment.html>

[Bug 96956] amdgpu disables fan by default and burns HW

2016-07-16 Thread bugzilla-dae...@freedesktop.org
ee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160716/3dc93cc3/attachment.html>

[Bug 94900] HD6950 GPU lockup loop with various steam games (octodad, saints row 4, grid autosport)

2016-07-16 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160716/abc19a7c/attachment-0001.html>

[PATCH v4.1 3/4] drm/bridge: analogix_dp: add the PSR function support

2016-07-16 Thread Yakir Yang
Sean, On 07/15/2016 09:13 PM, Sean Paul wrote: > On Fri, Jul 15, 2016 at 06:55:17PM +0800, Yakir Yang wrote: >> The full name of PSR is Panel Self Refresh, panel device could refresh >> itself with the hardware framebuffer in panel, this would make lots of >> sense to save the power consumption. >

[PATCH v4.1 1/4] drm/rockchip: vop: export line flag function

2016-07-16 Thread Yakir Yang
Sean, On 07/15/2016 09:04 PM, Sean Paul wrote: > On Fri, Jul 15, 2016 at 6:55 AM, Yakir Yang wrote: >> VOP have integrated a hardware counter which indicate the exact display >> line that vop is scanning. And if we're interested in a specific line, >> we can set the line number to vop line_flag r

[PATCH] drm/ast: Delete an unnecessary check before drm_gem_object_unreference_unlocked()

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 09:54:22 +0200 The drm_gem_object_unreference_unlocked() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Ma

[PATCH] drm/hdlcd: Delete an unnecessary check before drm_fbdev_cma_hotplug_event()

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 09:10:40 +0200 The drm_fbdev_cma_hotplug_event() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elf

[PATCH v1 4/6] drm/rockchip: dw_hdmi: add RK3399 HDMI support

2016-07-16 Thread Rob Herring
On Mon, Jul 11, 2016 at 07:05:46PM +0800, Yakir Yang wrote: > RK3399 and RK3288 shared the same HDMI IP controller, only some light > difference with GRF configure. > > Signed-off-by: Yakir Yang > --- > .../devicetree/bindings/display/bridge/dw_hdmi.txt | 1 + > .../bindings/display/rockchip/dw

[PATCH] drm/cirrus: Delete an unnecessary check before drm_gem_object_unreference_unlocked()

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 08:28:13 +0200 The drm_gem_object_unreference_unlocked() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Ma

[PATCH] drm/tegra: Delete an unnecessary check before the function call "vunmap"

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 07:23:42 +0200 The vunmap() function performs also input parameter validation. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/gpu/drm/tegra/fb.c | 2 +-

[PATCH 2/2] drm/amd/powerplay: Delete unused functions in ppevvmath.h

2016-07-16 Thread Nils Wallménius
> >>> > -static int GetRoundedValue(fInt A) /*For now, round the 3rd decimal > >>> > place */ > >>> > -{ > >>> > - /* ROUNDING TEMPORARLY DISABLED > >>> > - int temp = A.full; > >>> > - int decimal_cutoff, decimal_mask = 0x01FF; > >>> > - decimal_cutoff = temp & decimal_mask; > >>> > - if (decimal_cutoff > 0x147) { > >>> > - temp += 673; > >>> > - }*/ > >>> > - > >>> > - return ConvertBackToInteger(A)/1; /*Temporary - in case > >>> > this was used somewhere else */ > >>> > -} > >>> > - > >>> > -static fInt Multiply (int X, int Y) > >>> > -{ > >>> > - fInt A, B, Product; > >>> > - > >>> > - A.full = X << SHIFT_AMOUNT; > >>> > - B.full = Y << SHIFT_AMOUNT; > >>> > - > >>> > - Product = fMultiply(A, B); > >>> > - > >>> > - return Product; > >>> > -} > >>> > - > >>> > static fInt Divide (int X, int Y) > >>> > { > >>> > fInt A, B, Quotient; > >>> > @@ -578,14 +529,6 @@ static int uPow(int base, int power) > >>> > return (base)*uPow(base, power - 1); > >>> > } > >>> > > >>> > -static fInt fAbs(fInt A) > >>> > -{ > >>> > - if (A.partial.real < 0) > >>> > - return (fMultiply(A, ConvertToFraction(-1))); > >>> > - else > >>> > - return A; > >>> > -} > >>> > - > >>> > static int uAbs(int X) > >>> > { > >>> > if (X < 0) > >>> > -- > >>> > 2.8.0.rc3 > >>> > > >>> > ___ > >>> > dri-devel mailing list > >>> > dri-devel at lists.freedesktop.org > >>> > https://lists.freedesktop.org/mailman/listinfo/dri-devel > >> > >> > > > -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160716/bf3ea088/attachment-0001.html>

[Bug 94900] HD6950 GPU lockup loop with various steam games (octodad, saints row 4, grid autosport)

2016-07-16 Thread bugzilla-dae...@freedesktop.org
il because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160716/ae255e14/attachment.html>

[Nouveau] [PATCH v3 0/4] nouveau RPM fixes for Optimus (final)

2016-07-16 Thread Peter Wu
lain # .dsl{,.gz,.bz2}, .txt and .dat files. p && /+files\/.*\.tar\.gz"/ { url = $2 split(url, parts, "/") name = parts[10] id = parts[8] #print url; # Overwrite older names with newer submissions. entries[name] = url ids[id] = name } END { # Sort by attachment ID asorti(ids, ids_sorted) # Print attachments in reverse (newest first) for (i = length(ids_sorted); i > 0; i--) { id = ids_sorted[i] name = ids[id] if (entries[name]) { url = entries[name] print url # Do not print duplicates delete entries[name] } } } -- next part -- A non-text attachment was scrubbed... Name: has-audio-problem.sh Type: application/x-sh Size: 1994 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160716/55b1e1fa/attachment-0001.sh>

[Bug 90595] [drm:si_dpm_set_power_state [radeon]] *ERROR* si_set_sw_state failed

2016-07-16 Thread bugzilla-dae...@freedesktop.org
ssignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160716/79c5c2ce/attachment.html>

[Bug 90595] [drm:si_dpm_set_power_state [radeon]] *ERROR* si_set_sw_state failed

2016-07-16 Thread bugzilla-dae...@freedesktop.org
attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160716/d44e8878/attachment.html>