[PATCH v2 -next] drm/komeda: remove set but not used variable 'old'

2019-07-21 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/arm/display/komeda/komeda_plane.c: In function komeda_plane_atomic_duplicate_state: drivers/gpu/drm/arm/display/komeda/komeda_plane.c:161:35: warning: variable old set but not used [-Wunused-but-set-variable It is not used since

[Bug 109955] amdgpu [RX Vega 64] system freeze while gaming

2019-07-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #58 from Mauro Gaspari --- After a long time without crashes on Tumbleweed, I wanted to prepare a test setup for valve mesa built with ACO. So I installed Ubuntu Budgie 18.04 LTS with hardware enablement stack and I noticed the OS

[PATCH 2/3] net/xdp: convert put_page() to put_user_page*()

2019-07-21 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH 0/4] put_user_page: new put_user_page_dirty*() helpers

2019-07-21 Thread john . hubbard
From: John Hubbard Hi, Here is the first small batch of call site conversions for put_page() to put_user_page(). This batch includes some, but not all of the places that benefit from the two new put_user_page_dirty*() helper functions. (The ordering of call site conversion patch submission

[PATCH 3/3] gup: new put_user_page_dirty*() helpers

2019-07-21 Thread john . hubbard
From: John Hubbard While converting call sites to use put_user_page*() [1], quite a few places ended up needing a single-page routine to put and dirty a page. Provide put_user_page_dirty() and put_user_page_dirty_lock(), and use them in a few places: net/xdp, drm/via/, drivers/infiniband. Cc:

[PATCH 1/3] drivers/gpu/drm/via: convert put_page() to put_user_page*()

2019-07-21 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[Bug 84627] (bisected) 32bit corruption with PIPE_USAGE_STREAM reverted

2019-07-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84627 --- Comment #43 from sam zain --- great work. http://www.winmilliongame.com http://www.gtagame100.com http://www.subway-game.com http://www.zumagame100.com -- You are receiving this mail because: You are the assignee for the

RE: [EXT] Re: [v2 1/3] drm/arm/mali-dp: Add display QoS interface configuration for Mali DP500

2019-07-21 Thread Wen He
> -Original Message- > From: Liviu Dudau > Sent: 2019年7月19日 19:46 > To: Wen He > Cc: dri-devel@lists.freedesktop.org; linux-ker...@vger.kernel.org; > brian.star...@arm.com; airl...@linux.ie; dan...@ffwll.ch; Leo Li > > Subject: [EXT] Re: [v2 1/3] drm/arm/mali-dp: Add display QoS

Re: [PATCH -next] drm/komeda: remove set but not used variable 'old'

2019-07-21 Thread Yuehaibing
On 2019/7/19 21:04, Daniel Vetter wrote: > On Thu, Jul 18, 2019 at 08:51:50PM +0200, Daniel Vetter wrote: >> On Tue, Jul 09, 2019 at 09:58:08PM +0800, YueHaibing wrote: >>> Fixes gcc '-Wunused-but-set-variable' warning: >>> >>> drivers/gpu/drm/arm/display/komeda/komeda_plane.c: >>> In function

[PATCH v2] video: radeon.h Fix Shifting signed 32 bit value by 31 bits problem

2019-07-21 Thread Shobhit Kukreti
Fix RB2D_DC_BUSY and HORZ_AUTO_RATIO_INC defines to use "U" cast to avoid shifting signed 32 bit values by 31 bit problem. This is not a problem for gcc built kernel. However, the header file being a public api, other compilers may not handle the condition safely resulting in undefined behavior.

[PATCH] drm/amdkfd/kfd_mqd_manager_v10: Fix missing break in switch statement

2019-07-21 Thread Gustavo A. R. Silva
Add missing break statement in order to prevent the code from falling through to case KFD_MQD_TYPE_COMPUTE. This bug was found thanks to the ongoing efforts to enable -Wimplicit-fallthrough. Fixes: 14328aa58ce5 ("drm/amdkfd: Add navi10 support to amdkfd. (v3)") Cc: sta...@vger.kernel.org

Re: [PATCH] Enable backlight when trigger is activated

2019-07-21 Thread Ezequiel Garcia
Hi Pavel, The commit log is lacking the proper "leds: triggers: ". Also... On Thu, 2019-07-18 at 21:08 +0200, Pavel Machek wrote: > Configuring backlight trigger from dts results in backlight off during > boot. Machine looks dead upon boot, which is not good. > > Fix that by enabling LED on

[PATCH] drm/amdgpu/gfx10: Fix missing break in switch statement

2019-07-21 Thread Gustavo A. R. Silva
Add missing break statement in order to prevent the code from falling through to case AMDGPU_IRQ_STATE_ENABLE. This bug was found thanks to the ongoing efforts to enable -Wimplicit-fallthrough. Fixes: a644d85a5cd4 ("drm/amdgpu: add gfx v10 implementation (v10)") Cc: sta...@vger.kernel.org

[PATCH] drm/amdkfd: Fix missing break in switch statement

2019-07-21 Thread Gustavo A. R. Silva
Add missing break statement in order to prevent the code from falling through to case CHIP_NAVI10. This bug was found thanks to the ongoing efforts to enable -Wimplicit-fallthrough. Fixes: 14328aa58ce5 ("drm/amdkfd: Add navi10 support to amdkfd. (v3)") Cc: sta...@vger.kernel.org Signed-off-by:

Re: [PATCH] drm: Add Grain Media GM12U320 driver v2

2019-07-21 Thread Hans de Goede
Hi all, On 21-07-19 15:25, Hans de Goede wrote: Add a modesetting driver for Grain Media GM12U320 based devices (primarily Acer C120 projector, but there may be compatible devices). This is based on the fb driver from Viacheslav Nurmekhamitov: https://github.com/slavrn/gm12u320 This driver

Re: [PATCH] fbdev: Ditch fb_edid_add_monspecs

2019-07-21 Thread Linus Torvalds
On Sun, Jul 21, 2019 at 1:20 PM Daniel Vetter wrote: > > It's dead code ever since Lovely. Ack. Linus

[PATCH] fbdev: Ditch fb_edid_add_monspecs

2019-07-21 Thread Daniel Vetter
It's dead code ever since commit 34280340b1dc74c521e636f45cd728f9abf56ee2 Author: Geert Uytterhoeven Date: Fri Dec 4 17:01:43 2015 +0100 fbdev: Remove unused SH-Mobile HDMI driver Also with this gone we can remove the cea_modes db. This entire thing is massively incomplete anyway,

[Bug 102955] HyperZ related rendering issue in ARK: Survival Evolved

2019-07-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102955 noel.kuntze+freedesktop@thermi.consulting changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug 94581] [drm:radeon_cs_parser_relocs [radeon]] *ERROR* gem object lookup failed 0xe

2019-07-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94581 --- Comment #6 from sunny yadav --- Download shoebox app https://getshowbox.com no sign up and charges required,just easy to install/ -- You are receiving this mail because: You are the assignee for the

Re: [PATCH v1 1/1] drm/fb: remove unused function: drm_gem_fbdev_fb_create()

2019-07-21 Thread Sam Ravnborg
Hi Noralf. On Sun, Jul 21, 2019 at 06:48:46PM +0200, Noralf Trønnes wrote: > > > Den 21.07.2019 16.06, skrev Sam Ravnborg: > > After migrating several drivers to the generic fbdev there are > > no users left. Delete the function. > > > > Noticed that there was no callers while browsing > >

Re: [PATCH v1 1/1] drm/fb: remove unused function: drm_gem_fbdev_fb_create()

2019-07-21 Thread Noralf Trønnes
Den 21.07.2019 16.06, skrev Sam Ravnborg: > After migrating several drivers to the generic fbdev there are > no users left. Delete the function. > > Noticed that there was no callers while browsing > around in the drm_fb* code. > > Last user was removed with: > commit 13aff184ed9f ("drm/qxl:

Re: [PATCH 0/6] drm/tinydrm: Move mipi_dbi

2019-07-21 Thread Noralf Trønnes
Hi Sam, Den 20.07.2019 22.29, skrev Sam Ravnborg: > Hi Noralf. > > Good to see a long journey end with a very nice result. > I only entered the DRM world for the last parts of the journey, > but nevertheless impressed by all the nice refactoring done. > Thanks, it's taken a while, but now it's

[PATCH] x86/sysfb_efi: Add quirks for some devices with swapped width and height

2019-07-21 Thread Hans de Goede
Some Lenovo 2-in-1s with a detachable keyboard have a portrait screen but advertise a landscape resolution and pitch, resulting in a messed up display if we try to show anything on the efifb (because of the wrong pitch). This commit fixes this by adding a new DMI match table for devices which

[Bug 201847] nouveau 0000:01:00.0: fifo: fault 01 [WRITE] at 000000000a721000 engine 00 [GR] client 0f [GPC0/PROP_0] reason 82 [] on channel 4 [00ff85c000 X[3819]]

2019-07-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201847 Harry Coin (hc...@quietfountain.com) changed: What|Removed |Added CC|

[linux-next] mm/i915: i915_gemfs_init() NULL dereference

2019-07-21 Thread Sergey Senozhatsky
Hi, My laptop oopses early on with nothing on the screen; after some debugging I managed to obtain a backtrace: BUG: kernel NULL pointer dereference, address: #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 0 P4D 0 Oops: 0010

[PATCH v1 1/1] drm/fb: remove unused function: drm_gem_fbdev_fb_create()

2019-07-21 Thread Sam Ravnborg
After migrating several drivers to the generic fbdev there are no users left. Delete the function. Noticed that there was no callers while browsing around in the drm_fb* code. Last user was removed with: commit 13aff184ed9f ("drm/qxl: remove dead qxl fbdev emulation code") commit 26d4707d445d

[PATCH] drm: Add Grain Media GM12U320 driver v2

2019-07-21 Thread Hans de Goede
Add a modesetting driver for Grain Media GM12U320 based devices (primarily Acer C120 projector, but there may be compatible devices). This is based on the fb driver from Viacheslav Nurmekhamitov: https://github.com/slavrn/gm12u320 This driver uses drm_simple_display_pipe to deal with all the

[Bug 111021] [kernel 5.2.1][amdgpu][CIK] cp queue preemption time out, BUG: kernel NULL pointer dereference, address: 0000000000000038

2019-07-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111021 erhar...@mailbox.org changed: What|Removed |Added Summary|[amdgpu][CIK] cp queue |[kernel 5.2.1][amdgpu][CIK]

[Bug 111021] [amdgpu][CIK] cp queue preemption time out, BUG: kernel NULL pointer dereference, address: 0000000000000038

2019-07-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111021 erhar...@mailbox.org changed: What|Removed |Added Attachment #144679|0 |1 is obsolete|

[Bug 111021] [amdgpu][CIK] cp queue preemption time out, BUG: kernel NULL pointer dereference, address: 0000000000000038

2019-07-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111021 erhar...@mailbox.org changed: What|Removed |Added Attachment #144678|0 |1 is obsolete|

[PATCH] efifb: BGRT: Improve efifb_bgrt_sanity_check

2019-07-21 Thread Hans de Goede
For various reasons, at least with x86 EFI firmwares, the xoffset and yoffset in the BGRT info are not always reliable. Extensive testing has shown that when the info is correct, the BGRT image is always exactly centered horizontally (the yoffset variable is more variable and not always

Re: [PATCH 02/10] drm/mxsfb: Update mxsfb with additional pixel formats

2019-07-21 Thread Guido Günther
Hi, I'm not very familiar with mxsfb, just some things that stood out while looking at the code: On Wed, Jun 26, 2019 at 04:32:10PM +0300, Robert Chiras wrote: > Since version 4 of eLCDIF, there are some registers that can do > transformations on the input data, like re-arranging the pixel >

Re: [PATCH 01/10] drm/mxsfb: Update mxsfb to support a bridge

2019-07-21 Thread Guido Günther
Hi Robert, On Wed, Jun 26, 2019 at 04:32:09PM +0300, Robert Chiras wrote: > Currently, the MXSFB DRM driver only supports a panel. But, its output > display signal can also be redirected to another encoder, like a DSI > controller. In this case, that DSI controller may act like a drm_bridge. > In

Re: [PATCH] drm/panel: simple: Doxygenize 'struct panel_desc'; rename a few functions

2019-07-21 Thread Sam Ravnborg
Hi Doug. On Wed, Jul 17, 2019 at 07:33:17PM +0200, Sam Ravnborg wrote: > Hi Doug. > > On Fri, Jul 12, 2019 at 09:33:33AM -0700, Douglas Anderson wrote: > > This attempts to address outstanding review feedback from commit > > b8a2948fa2b3 ("drm/panel: simple: Add ability to override typical > >

[PATCH] backlight: add include guards to platform_lcd.h and ili9320.h

2019-07-21 Thread Masahiro Yamada
Add header include guards just in case. Signed-off-by: Masahiro Yamada --- include/video/ili9320.h | 4 include/video/platform_lcd.h | 4 2 files changed, 8 insertions(+) diff --git a/include/video/ili9320.h b/include/video/ili9320.h index 62f424f0bc52..b76a0b8f16fc 100644 ---

Re: [PATCH] drm: bridge: DRM_SIL_SII8620 should depend on, not select INPUT

2019-07-21 Thread Life is hard, and then you die
Hi Andrzej, On Mon, Jul 01, 2019 at 11:26:25AM +0200, Andrzej Hajda wrote: > On 01.07.2019 11:23, Andrzej Hajda wrote: > > On 01.07.2019 05:39, Randy Dunlap wrote: > >> From: Randy Dunlap > >> > >> A single driver should not enable (select) an entire subsystem, > >> such as INPUT, so change