Re: [PATCH v6 4/5] dma-buf: heaps: Add CMA heap to dmabuf heaps

2019-07-24 Thread Christoph Hellwig
On Mon, Jul 22, 2019 at 10:04:06PM -0700, John Stultz wrote: > Apologies, I'm not sure I'm understanding your suggestion here. > dma_alloc_contiguous() does have some interesting optimizations > (avoiding allocating single page from cma), though its focus on > default area vs specific device area d

Re: [PATCH] drm: rcar_lvds: Fix dual link mode operations

2019-07-24 Thread Geert Uytterhoeven
Hi Jacopo, On Wed, Jul 24, 2019 at 3:38 AM Jacopo Mondi wrote: > The R-Car LVDS encoder units support dual-link operations by splitting > the pixel output between the primary encoder and the companion one. > > In order for the primary encoder to succesfully control the companion's > operations th

Re: [PATCH v9 04/18] kunit: test: add kunit_stream a std::stream like logger

2019-07-24 Thread Petr Mladek
On Mon 2019-07-22 16:54:10, Stephen Boyd wrote: > Quoting Brendan Higgins (2019-07-22 15:30:49) > > On Mon, Jul 22, 2019 at 1:03 PM Stephen Boyd wrote: > > > > > > > > > What's the calling context of the assertions and expectations? I still > > > don't like the fact that string stream needs to all

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

2019-07-24 Thread Thomas Zimmermann
Am 24.07.19 um 03:46 schrieb YueHaibing: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/gpu/drm/mga/mga_state.c: In function 'mga_dma_iload': > drivers/gpu/drm/mga/mga_state.c:945:22: warning: > variable 'buf_priv' set but not used [-Wunused-but-set-variable] > > It is never used,

Re: [PATCH] drm/syncobj: extend syncobj query ability v2

2019-07-24 Thread Koenig, Christian
Am 24.07.19 um 08:32 schrieb zhoucm1: > > > On 2019年07月24日 03:20, Lionel Landwerlin wrote: >> On 23/07/2019 17:21, Chunming Zhou wrote: >>> user space needs a flexiable query ability. >>> So that umd can get last signaled or submitted point. >>> v2: >>> add sanitizer checking. >>> >>> Change-Id: I6

Re: [PATCH v4 14/23] drm/tilcdc: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Thomas Zimmermann
Hi Am 23.07.19 um 14:44 schrieb Andrzej Pietrasiewicz: > Hi Sam, > > W dniu 23.07.2019 o 11:05, Sam Ravnborg pisze: >> Hi Andrzej >> >> On Thu, Jul 11, 2019 at 01:26:41PM +0200, Andrzej Pietrasiewicz wrote: >>> Use the ddc pointer provided by the generic connector. >>> >>> Signed-off-by: Andrzej

[PATCH libdrm] libdrm: wrap new flexible syncobj query interface

2019-07-24 Thread Chunming Zhou
Signed-off-by: Chunming Zhou Cc: Lionel Landwerlin Cc: Christian König --- amdgpu/amdgpu-symbol-check | 1 + amdgpu/amdgpu.h| 18 ++ amdgpu/amdgpu_cs.c | 10 ++ include/drm/drm.h | 3 ++- xf86drm.c | 19 +++

Re: [PATCH v6 4/5] dma-buf: heaps: Add CMA heap to dmabuf heaps

2019-07-24 Thread Benjamin Gaignard
Le mer. 24 juil. 2019 à 09:00, Christoph Hellwig a écrit : > > On Mon, Jul 22, 2019 at 10:04:06PM -0700, John Stultz wrote: > > Apologies, I'm not sure I'm understanding your suggestion here. > > dma_alloc_contiguous() does have some interesting optimizations > > (avoiding allocating single page f

RE: [PATCH] drm: rcar_lvds: Fix dual link mode operations

2019-07-24 Thread Fabrizio Castro
Hi Jacopo, Thank you for your patch! > From: linux-renesas-soc-ow...@vger.kernel.org > On Behalf Of Jacopo Mondi > Sent: 23 July 2019 17:57 > Subject: [PATCH] drm: rcar_lvds: Fix dual link mode operations > > The R-Car LVDS encoder units support dual-link operations by splitting > the pixel ou

[PATCH v3 3/7] sh: ecovec24: don't set unused fields in platform data

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Platform data fields other than fbdev are no longer used by the backlight driver. Remove them. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andy Shevchenko --- arch/sh/boards/mach-ecovec24/setup.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/sh/board

[PATCH v3 2/7] backlight: gpio: simplify the platform data handling

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Now that the last user of platform data (sh ecovec24) defines a proper GPIO lookup and sets the 'default-on' device property, we can drop the platform_data-specific GPIO handling and unify a big chunk of code. The only field used from the platform data is now the fbdev

[PATCH v3 6/7] backlight: gpio: remove def_value from struct gpio_backlight

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This field is unused outside of probe(). There's no need to store it. We can make it into a local variable. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andy Shevchenko --- drivers/video/backlight/gpio_backlight.c | 9 - 1 file changed, 4 insertions(+), 5

dri-devel@lists.freedesktop.org

2019-07-24 Thread Bartosz Golaszewski
wt., 23 lip 2019 o 17:34 Andy Shevchenko napisał(a): > > On Tue, Jul 23, 2019 at 08:29:52AM +0200, Bartosz Golaszewski wrote: > > pon., 22 lip 2019 o 18:09 Andy Shevchenko > > napisał(a): > > > > > > On Mon, Jul 22, 2019 at 05:03:02PM +0200, Bartosz Golaszewski wrote: > > > > From: Bartosz Golasz

Re: [PATCH v2 2/7] backlight: gpio: simplify the platform data handling

2019-07-24 Thread Bartosz Golaszewski
wt., 23 lip 2019 o 17:32 Andy Shevchenko napisał(a): > > On Tue, Jul 23, 2019 at 08:28:00AM +0200, Bartosz Golaszewski wrote: > > pon., 22 lip 2019 o 18:06 Andy Shevchenko > > napisał(a): > > > > > > On Mon, Jul 22, 2019 at 05:02:57PM +0200, Bartosz Golaszewski wrote: > > > > From: Bartosz Golasz

Re: [PATCH v3 0/7] backlight: gpio: simplify the driver

2019-07-24 Thread Bartosz Golaszewski
śr., 24 lip 2019 o 10:25 Bartosz Golaszewski napisał(a): > > From: Bartosz Golaszewski > > While working on my other series related to gpio-backlight[1] I noticed > that we could simplify the driver if we made the only user of platform > data use GPIO lookups and device properties. This series tr

Re: [PATCH] Enable backlight when trigger is activated

2019-07-24 Thread Pavel Machek
Hi! > >>> +++ b/drivers/leds/trigger/ledtrig-backlight.c > >>> @@ -114,6 +114,8 @@ static int bl_trig_activate(struct led_classdev *led) > >>> n->old_status = UNBLANK; > >>> n->notifier.notifier_call = fb_notifier_callback; > >>> > >>> + led_set_brightness(led, LED_ON); > >>> + > >> > >> Thi

Re: [PATCH] drm: rcar_lvds: Fix dual link mode operations

2019-07-24 Thread Jacopo Mondi
Hi Geert, On Wed, Jul 24, 2019 at 09:28:58AM +0200, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Wed, Jul 24, 2019 at 3:38 AM Jacopo Mondi > wrote: > > The R-Car LVDS encoder units support dual-link operations by splitting > > the pixel output between the primary encoder and the companion one.

Re: [PATCH v4 14/23] drm/tilcdc: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Hi Thomas, W dniu 24.07.2019 o 10:01, Thomas Zimmermann pisze: Hi I think this echoes my concern about the implicit order of operation. It seems too easy to get this wrong. If you don't want to add an additional interface for setting the ddc field, why not add a dedicated initializer funct

Re: [PATCH v6 11/22] clk: sunxi-ng: a64: Add minimum rate for PLL_MIPI

2019-07-24 Thread Maxime Ripard
On Mon, Jul 22, 2019 at 03:51:04PM +0530, Jagan Teki wrote: > Hi Maxime, > > On Sat, Jul 20, 2019 at 3:02 PM Maxime Ripard > wrote: > > > > On Sat, Jul 20, 2019 at 12:46:27PM +0530, Jagan Teki wrote: > > > On Sat, Jul 20, 2019 at 12:28 PM Maxime Ripard > > > wrote: > > > > > > > > On Thu, Jul 11

Re: [PATCH v3] drm/tegra: sor: Enable HDA interrupts at plug-in

2019-07-24 Thread Dmitry Osipenko
23.07.2019 15:40, Viswanath L пишет: > HDMI plugout calls runtime suspend, which clears interrupt registers > and causes audio functionality to break on subsequent plug-in; setting > interrupt registers in sor_audio_prepare() solves the issue. > > Signed-off-by: Viswanath L Yours signed-off-by a

Re: memory leak in dma_buf_ioctl

2019-07-24 Thread Dmitry Vyukov
On Wed, Jul 24, 2019 at 11:48 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:abdfd52a Merge tag 'armsoc-defconfig' of git://git.kernel... > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=131441d060 > kernel config:

Re: [PATCH v1] backlight: lm3630a: Switch to use fwnode_property_count_uXX()

2019-07-24 Thread Daniel Thompson
On Tue, Jul 23, 2019 at 10:34:00PM +0300, Andy Shevchenko wrote: > Use use fwnode_property_count_uXX() directly, that makes code neater. > > Signed-off-by: Andy Shevchenko Reviewed-by: Daniel Thompson > --- > drivers/video/backlight/lm3630a_bl.c | 3 +-- > 1 file changed, 1 insertion(+), 2 d

Re: [PATCH 1/2] drm/etnaviv: fix etnaviv_cmdbuf_suballoc_new return value

2019-07-24 Thread Philipp Zabel
On Fri, 2019-07-05 at 19:15 +0200, Lucas Stach wrote: > The call site expects to get either a valid suballoc or an error > pointer, so a NULL return will not be treated as an error. Make > sure to always return a proper error pointer in case something goes > wrong. > > Signed-off-by: Lucas Stach

Re: [PATCH 2/2] drm/etnaviv: remove unused function etnaviv_gem_mapping_reference

2019-07-24 Thread Philipp Zabel
On Fri, 2019-07-05 at 19:15 +0200, Lucas Stach wrote: > Hasn't been used for quite a while. There is no point in keeping > unused code around. > > Signed-off-by: Lucas Stach Reviewed-by: Philipp Zabel regards Philipp > --- > drivers/gpu/drm/etnaviv/etnaviv_gem.c | 12 > drivers/

[PATCH] drm/panfrost: Export all GPU feature registers

2019-07-24 Thread Steven Price
Midgard/Bifrost GPUs have a bunch of feature registers providing details of what the hardware supports. Panfrost already reads these, this patch exports them all to user space so that the jobs created by the user space driver can be tuned for the particular hardware implementation. Signed-off-by:

RE: [PATCH v3] drm/tegra: sor: Enable HDA interrupts at plug-in

2019-07-24 Thread Viswanath L
Thanks very much for the review, Dmitry! -Original Message- From: Dmitry Osipenko Sent: Wednesday, July 24, 2019 2:58 PM To: Viswanath L ; thierry.red...@gmail.com; Jonathan Hunter Cc: airl...@linux.ie; dan...@ffwll.ch; dri-devel@lists.freedesktop.org; linux-te...@vger.kernel.org; lin

Re: [PATCH v3] drm/tegra: sor: Enable HDA interrupts at plug-in

2019-07-24 Thread Jon Hunter
On 24/07/2019 10:27, Dmitry Osipenko wrote: > 23.07.2019 15:40, Viswanath L пишет: >> HDMI plugout calls runtime suspend, which clears interrupt registers >> and causes audio functionality to break on subsequent plug-in; setting >> interrupt registers in sor_audio_prepare() solves the issue. >> >

Re: [PATCH v3 2/7] backlight: gpio: simplify the platform data handling

2019-07-24 Thread Daniel Thompson
On Wed, Jul 24, 2019 at 10:25:03AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Now that the last user of platform data (sh ecovec24) defines a proper > GPIO lookup and sets the 'default-on' device property, we can drop the > platform_data-specific GPIO handling and unify a b

Re: [PATCH v3 5/7] backlight: gpio: remove dev from struct gpio_backlight

2019-07-24 Thread Daniel Thompson
On Wed, Jul 24, 2019 at 10:25:06AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This field is unused. Remove it. > > Signed-off-by: Bartosz Golaszewski > Reviewed-by: Andy Shevchenko Reviewed-by: Daniel Thompson > --- > drivers/video/backlight/gpio_backlight.c | 4

Re: [PATCH v3 4/7] backlight: gpio: remove unused fields from platform data

2019-07-24 Thread Daniel Thompson
On Wed, Jul 24, 2019 at 10:25:05AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Remove the platform data fields that nobody uses. > > Signed-off-by: Bartosz Golaszewski > Reviewed-by: Andy Shevchenko Reviewed-by: Daniel Thompson > --- > include/linux/platform_data/gpi

Re: [PATCH v3 6/7] backlight: gpio: remove def_value from struct gpio_backlight

2019-07-24 Thread Daniel Thompson
On Wed, Jul 24, 2019 at 10:25:07AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This field is unused outside of probe(). There's no need to store it. > We can make it into a local variable. > > Signed-off-by: Bartosz Golaszewski > Reviewed-by: Andy Shevchenko Reviewed-by:

dri-devel@lists.freedesktop.org

2019-07-24 Thread Daniel Thompson
On Wed, Jul 24, 2019 at 10:25:08AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Instead of dereferencing pdev each time, use a helper variable for > the associated device pointer. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Daniel Thompson > --- > drivers/video/

Re: [PATCH 0/3] Fixes for mgag200 cursors

2019-07-24 Thread Thomas Zimmermann
Am 23.07.19 um 10:40 schrieb Sam Ravnborg: > Hi Thomas. > > On Tue, Jul 23, 2019 at 09:54:22AM +0200, Thomas Zimmermann wrote: >> This patch set fixes a number of bugs that where introduced by the >> recent changes to mgag200's handling of cursor BOs. >> >> Thomas Zimmermann (3): >> drm/mgag200:

Re: [PATCH v3] drm/tegra: sor: Enable HDA interrupts at plug-in

2019-07-24 Thread Dmitry Osipenko
24.07.2019 14:11, Jon Hunter пишет: > > On 24/07/2019 10:27, Dmitry Osipenko wrote: >> 23.07.2019 15:40, Viswanath L пишет: >>> HDMI plugout calls runtime suspend, which clears interrupt registers >>> and causes audio functionality to break on subsequent plug-in; setting >>> interrupt registers in

[PATCH 1/3] drm/vram: Provide vmap and vunmap operations for GEM VRAM objects

2019-07-24 Thread Thomas Zimmermann
The pattern of temporarily pinning and kmap-ing the BO's memory is common enough to justify helper functions that do and undo these operations. The implementation of vmap and vunmap for GEM VRAM helpers is already in PRIME helpers. The patch moves the operations to separate functions and exports t

[PATCH 2/3] drm/ast: Use drm_gem_vram_{vmap, vunmap}() to map cursor source BO

2019-07-24 Thread Thomas Zimmermann
The VRAM helper's vmap interfaces provide pinning and mapping of BO memory. This patch replaces the respective code in ast cursor handling. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/ast/ast_mode.c | 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git

[PATCH 0/3] Provide vmap/vunmap for VRAM helpers

2019-07-24 Thread Thomas Zimmermann
The vmap operation is pin+kmap, as already implemented for PRIME support. The vunmap operation is the inverse. This patch set makes both available for drivers that use VRAM helpers, and replaces the respective code in ast and mgag200. Thomas Zimmermann (3): drm/vram: Provide vmap and vunmap oper

[PATCH 3/3] drm/mgag200: Use drm_gem_vram_{vmap, vunmap}() to map cursor source BO

2019-07-24 Thread Thomas Zimmermann
The VRAM helper's vmap interfaces provide pinning and mapping of BO memory. This patch replaces the respective code in mgag200 cursor handling. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/mgag200/mgag200_cursor.c | 22 +++--- 1 file changed, 7 insertions(+), 15 deletions

Re: [RFC PATCH] fbcon: fix ypos over boundary issue

2019-07-24 Thread Daniel Vetter
On Fri, Jul 12, 2019 at 03:13:36AM +, Zenghui Yu wrote: > From: Feng Tiantian > > While using "top" on a CentOS guest's VNC-client, then continuously press > "Shift+PgUp", the guest kernel will get panic! Backtrace is attached below. > We tested it on 5.2.0, and the issue remains. > > [ 66

Re: [PATCH v6 4/5] dma-buf: heaps: Add CMA heap to dmabuf heaps

2019-07-24 Thread Laura Abbott
On 7/24/19 2:59 AM, Christoph Hellwig wrote: On Mon, Jul 22, 2019 at 10:04:06PM -0700, John Stultz wrote: Apologies, I'm not sure I'm understanding your suggestion here. dma_alloc_contiguous() does have some interesting optimizations (avoiding allocating single page from cma), though its focus o

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

2019-07-24 Thread Daniel Vetter
On Tue, Jul 23, 2019 at 03:41:11PM +0200, Noralf Trønnes wrote: > Den 23.07.2019 09.10, skrev Daniel Vetter: > > On Mon, Jul 22, 2019 at 11:06:15AM -0700, Eric Anholt wrote: > >> Noralf Trønnes writes: > >> > >>> This series ticks off the last tinydrm todo entry and moves out mipi_dbi > >>> to be

Re: [PATCH v3 2/7] backlight: gpio: simplify the platform data handling

2019-07-24 Thread Andy Shevchenko
On Wed, Jul 24, 2019 at 10:25:03AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Now that the last user of platform data (sh ecovec24) defines a proper > GPIO lookup and sets the 'default-on' device property, we can drop the > platform_data-specific GPIO handling and unify a b

Re: OLED panel brightness support

2019-07-24 Thread Daniel Vetter
On Tue, Jul 23, 2019 at 06:46:55PM +0800, Kai-Heng Feng wrote: > Hi, > > Currently, OLED panel brightness [1] is not supported. > We have a similar Dell system that also affect by lack of OLED brightness > support. > > I’ve investigated both kernel and user space but I haven’t found a good > gene

Re: [PATCH] MAINTAINERS: handle fbdev changes through drm-misc tree

2019-07-24 Thread Daniel Vetter
On Tue, Jul 23, 2019 at 04:33:27PM +0200, Bartlomiej Zolnierkiewicz wrote: > fbdev patches will now go to upstream through drm-misc tree (IOW > starting with v5.4 merge window fbdev changes will be included in > DRM pull request) for improved maintainership and better integration > testing. Update

[Bug 111077] link_shader and deserialize_glsl_program suddenly consume huge amount of RAM

2019-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111077 --- Comment #13 from rol...@rptd.ch --- I checked out the 18.2 branch which I assume should work (if the theory is correct). Modifying files won't work with bisecting, right? -- You are receiving this mail because: You are the assignee for th

Re: [PATCH 1/3] drm/vram: Provide vmap and vunmap operations for GEM VRAM objects

2019-07-24 Thread Daniel Vetter
On Wed, Jul 24, 2019 at 1:30 PM Thomas Zimmermann wrote: > > The pattern of temporarily pinning and kmap-ing the BO's memory is > common enough to justify helper functions that do and undo these > operations. > > The implementation of vmap and vunmap for GEM VRAM helpers is > already in PRIME help

Re: [PATCH v2 1/8] drm/etnaviv: simplify unbind checks

2019-07-24 Thread Philipp Zabel
On Fri, 2019-07-05 at 19:17 +0200, Lucas Stach wrote: > Remember if the GPU has been sucessfully initialized. Only in that case > do we need to clean up various structures in the unbind path. If the > GPU hasn't been sucessfully initialized all the cleanups should happen > in the failure paths of t

[PATCH v3 5/7] backlight: gpio: remove dev from struct gpio_backlight

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This field is unused. Remove it. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andy Shevchenko --- drivers/video/backlight/gpio_backlight.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/video/backlight/gpio_backlight.c b/drivers/video/backlight/gp

[PATCH v3 0/7] backlight: gpio: simplify the driver

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski While working on my other series related to gpio-backlight[1] I noticed that we could simplify the driver if we made the only user of platform data use GPIO lookups and device properties. This series tries to do that. The first patch adds all necessary data structures t

[PATCH v3 4/7] backlight: gpio: remove unused fields from platform data

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Remove the platform data fields that nobody uses. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andy Shevchenko --- include/linux/platform_data/gpio_backlight.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/platform_data/gpio_backlight.h b/in

Re: [PATCH libdrm 2/2] modetest: Add a new "-r" option to set a default mode

2019-07-24 Thread Rohan Garg
On Monday, 22 July 2019 18:08:23 CEST Ezequiel Garcia wrote: > This option finds the first connected connector and then > sets its preferred mode on it. > > Set this option to be set when no mode or plane is set > explicitily. This allows to quickly test, in cases where > one just needs something

dri-devel@lists.freedesktop.org

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Instead of dereferencing pdev each time, use a helper variable for the associated device pointer. Signed-off-by: Bartosz Golaszewski --- drivers/video/backlight/gpio_backlight.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/d

[PATCH v3 1/7] sh: ecovec24: add additional properties to the backlight device

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add a GPIO lookup entry and a device property for GPIO backlight to the board file. Tie them to the platform device which is now registered using platform_device_register_full() because of the properties. These changes are inactive now but will be used once the gpio back

Re: kernel panic: stack is corrupted in pointer

2019-07-24 Thread Dmitry Vyukov
On Tue, Jul 23, 2019 at 7:26 PM John Fastabend wrote: > > Dmitry Vyukov wrote: > > On Wed, Jul 17, 2019 at 10:58 AM syzbot > > wrote: > > > > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:1438cde7 Add linux-next specific files for 20190716 > > > git tree:

dri-devel@lists.freedesktop.org

2019-07-24 Thread Andy Shevchenko
On Wed, Jul 24, 2019 at 10:25:08AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Instead of dereferencing pdev each time, use a helper variable for > the associated device pointer. Reviewed-by: Andy Shevchenko > > Signed-off-by: Bartosz Golaszewski > --- > drivers/video/

Re: [PATCH 0/3] RFT: PL111 DRM conversion of nspire

2019-07-24 Thread Linus Walleij
On Tue, Jul 23, 2019 at 8:10 PM Sam Ravnborg wrote: > On Tue, Jul 23, 2019 at 03:37:52PM +0200, Linus Walleij wrote: > > So this is a cold-coded attempt to move the TI nspire over to > > using DRM. It is more or less the last user of the old fbdev > > driver so it is a noble cause and interesting

Re: [PATCH 1/3] RFT: drm/pl111: Support grayscale

2019-07-24 Thread Linus Walleij
On Tue, Jul 23, 2019 at 5:19 PM Fabian Vogt wrote: > I gave the series a try (virtual CX and TP so far, will do on a real CX > later): > OOPS with a nullptr deref during probe. > This diff which just moves some lines around fixes that and the LCD appears to > work properly. OK I folded this int

Re: [PATCH 1/3] RFT: drm/pl111: Support grayscale

2019-07-24 Thread Linus Walleij
On Tue, Jul 23, 2019 at 11:07 PM Daniel Vetter wrote: > On Tue, Jul 23, 2019 at 7:25 PM Adam Jackson wrote: > > > > On Tue, 2019-07-23 at 15:37 +0200, Linus Walleij wrote: > > > Migrating the TI nspire calculators to use the PL111 driver for > > > framebuffer requires grayscale support for the el

Re: [PATCH 0/3] RFT: PL111 DRM conversion of nspire

2019-07-24 Thread Linus Walleij
On Wed, Jul 24, 2019 at 2:47 PM Pawel Moll wrote: > On Wed, 2019-07-24 at 13:28 +0100, Linus Walleij wrote: > > On Tue, Jul 23, 2019 at 8:10 PM Sam Ravnborg wrote: > > > On Tue, Jul 23, 2019 at 03:37:52PM +0200, Linus Walleij wrote: > > > Do we need to support arm,pl11x,tft-r0g0b0-pads before > >

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

2019-07-24 Thread sylvain . bertrand
> I cannot speak for others. In my case,U would say no. I installed windows10 in > a separate ssd, just to check there was no hardware issue of any kind. > On windows10 with latest amd drivers, I have no freezes or any other issue > running same games. Native gnu/linux game or going through wine/

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

2019-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #64 from Sylvain BERTRAND --- > I cannot speak for others. In my case,U would say no. I installed windows10 in > a separate ssd, just to check there was no hardware issue of any kind. > On windows10 with latest amd drivers, I have n

[PATCH] video: fbdev: aty: Use dev_get_drvdata

2019-07-24 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- drivers/video/fbdev/aty/radeon_base.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/video/fbdev/aty/radeon_base.c b/drivers/video/fbdev/at

[PATCH 1/2] drm/pl111: Deprecate the pads from the DT binding

2019-07-24 Thread Linus Walleij
The pads were an earlier workaround for the internal image pipeline in the Linux fbdev subsystem. As we move to generic definition of display properties and drivers that no longer need this to work, deprecate this property. Cc: Sam Ravnborg Cc: Pawel Moll Cc: Liviu Dudau Cc: devicet...@vger.ker

[PATCH 2/2] drm/pl111: Drop special pads config check

2019-07-24 Thread Linus Walleij
This drops the check of the surplus "pads" configuration from the device tree that is completely unused in the DRM driver. This was only used to work around limitations in the earlier fbdev driver. Cc: Sam Ravnborg Cc: Pawel Moll Cc: Liviu Dudau Signed-off-by: Linus Walleij --- drivers/gpu/d

Re: [PATCH v2 2/8] drm/etnaviv: split out cmdbuf mapping into address space

2019-07-24 Thread Philipp Zabel
On Fri, 2019-07-05 at 19:17 +0200, Lucas Stach wrote: > This allows to decouple the cmdbuf suballocator create and mapping > the region into the GPU address space. Allowing multiple AS to share > a single cmdbuf suballoc. > > Signed-off-by: Lucas Stach > --- > drivers/gpu/drm/etnaviv/etnaviv_buf

Re: [PATCH v2 7/7] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-07-24 Thread Maxime Ripard
On Mon, Jul 15, 2019 at 05:28:53PM -0700, Vasily Khoruzhick wrote: > On Fri, Jul 12, 2019 at 1:15 PM Maxime Ripard > wrote: > > > > On Wed, Jul 10, 2019 at 03:11:04PM -0700, Vasily Khoruzhick wrote: > > > On Wed, Jul 10, 2019 at 4:40 AM Maxime Ripard > > > wrote: > > > > > > > There's another i

Re: [PATCH 2/3] RTF: drm/panel: simple: Add TI nspire panels

2019-07-24 Thread Linus Walleij
Hi Sam, fixed most things, one question remain: On Tue, Jul 23, 2019 at 7:54 PM Sam Ravnborg wrote: > Furthermore I did not see any bindings for the panels. > If they indeed are missing, then please provide bindings in the yaml > format. IIUC we do not create binding documents for the simple p

[PATCH v5 00/24] Associate ddc adapters with connectors

2019-07-24 Thread Andrzej Pietrasiewicz
It is difficult for a user to know which of the i2c adapters is for which drm connector. This series addresses this problem. The idea is to have a symbolic link in connector's sysfs directory, e.g.: ls -l /sys/class/drm/card0-HDMI-A-1/ddc lrwxrwxrwx 1 root root 0 Jun 24 10:42 /sys/class/drm/card0

[PATCH v5 01/24] drm: Include ddc adapter pointer in struct drm_connector

2019-07-24 Thread Andrzej Pietrasiewicz
Add generic code which creates symbolic links in sysfs, pointing to ddc interface used by a particular video output. For example: ls -l /sys/class/drm/card0-HDMI-A-1/ddc lrwxrwxrwx 1 root root 0 Jun 24 10:42 /sys/class/drm/card0-HDMI-A-1/ddc \ -> ../../../../soc/1388.i2c/i2c-2 This ma

[PATCH v5 02/24] drm: Add drm_connector_init() variant with ddc

2019-07-24 Thread Andrzej Pietrasiewicz
Allow passing ddc adapter pointer to the init function. Even if drm_connector_init() sometime in the future decides to e.g. memset() all connector fields to zeros, the newly added function ensures that at its completion the ddc member of connector is correctly set. Signed-off-by: Andrzej Pietrasie

[PATCH v5 03/24] drm/exynos: Provide ddc symlink in connector's sysfs

2019-07-24 Thread Andrzej Pietrasiewicz
Switch to using the ddc provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/exynos/exynos_hdmi.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdm

[PATCH v5 05/24] drm: rockchip: Provide ddc symlink in inno_hdmi sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/rockchip/inno_hdmi.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/rockchip/inno_hdmi.c b/drivers/gpu/drm/rockchip/inno

[PATCH v5 04/24] drm: rockchip: Provide ddc symlink in rk3066_hdmi sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/rockchip/rk3066_hdmi.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rk3066_hdmi.c b/drivers/gpu/drm/rockchip

[PATCH v5 07/24] drm/sun4i: hdmi: Provide ddc symlink in sun4i hdmi connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/sun4i/sun4i_hdmi.h | 1 - drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 21 +++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/sun4i

[PATCH v5 08/24] drm/mediatek: Provide ddc symlink in hdmi connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c inde

[PATCH v5 06/24] drm/msm/hdmi: Provide ddc symlink in hdmi connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_connector.c b/drivers/gpu/drm/msm/hdmi/hdmi_connector

[PATCH v5 10/24] drm/imx: imx-ldb: Provide ddc symlink in connector's sysfs

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/imx/imx-ldb.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/imx/imx-ldb.c b/drivers/gpu/drm/imx/imx-ldb.c index de62a4cd482

[PATCH v5 11/24] drm/imx: imx-tve: Provide ddc symlink in connector's sysfs

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/imx/imx-tve.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/imx/imx-tve.c b/drivers/gpu/drm/imx/imx-tve.c index 649515868f86..e25df

[PATCH v5 09/24] drm/tegra: Provide ddc symlink in output connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/tegra/drm.h| 1 - drivers/gpu/drm/tegra/hdmi.c | 7 --- drivers/gpu/drm/tegra/output.c | 12 ++-- drivers/gpu/drm/tegra/sor.c| 13 +++-- 4 files changed

Re: [PATCH v19 00/15] arm64: untag user pointers passed to the kernel

2019-07-24 Thread Will Deacon
Hi Andrey, On Tue, Jul 23, 2019 at 08:03:29PM +0200, Andrey Konovalov wrote: > On Tue, Jul 23, 2019 at 7:59 PM Andrey Konovalov > wrote: > > > > === Overview > > > > arm64 has a feature called Top Byte Ignore, which allows to embed pointer > > tags into the top byte of each pointer. Userspace pr

[PATCH v5 13/24] drm: zte: Provide ddc symlink in hdmi connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/zte/zx_hdmi.c | 31 +-- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/drivers/gpu/drm/zte/zx_hdmi.c b/drivers/gpu/drm/zte/zx_hdmi.c index

[PATCH v5 12/24] drm/vc4: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/vc4/vc4_hdmi.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c index ee

[PATCH v5 14/24] drm: zte: Provide ddc symlink in vga connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/zte/zx_vga.c | 31 +-- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/drivers/gpu/drm/zte/zx_vga.c b/drivers/gpu/drm/zte/zx_vga.c index 9b6

[PATCH v5 15/24] drm/tilcdc: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c b/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c index

[PATCH v5 16/24] drm: sti: Provide ddc symlink in hdmi connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/sti/sti_hdmi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c index f03d617edc4c..33d06e0a916

[PATCH v5 18/24] drm/ast: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/ast/ast_mode.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c index c792362024a5..1c8

[PATCH v5 17/24] drm/mgag200: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/mgag200/mgag200_mode.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/mgag200/mgag200_mode.c b/drivers/gpu/drm/mgag200/mgag200_mode.

[PATCH v5 19/24] drm/bridge: dumb-vga-dac: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/bridge/dumb-vga-dac.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/bridge/dumb-vga-dac.c b/drivers/gpu/drm/bridge/du

[PATCH v5 20/24] drm/bridge: dw-hdmi: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 46 --- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bri

[PATCH v5 21/24] drm/bridge: ti-tfp410: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/bridge/ti-tfp410.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp41

[PATCH v5 22/24] drm/amdgpu: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- .../gpu/drm/amd/amdgpu/amdgpu_connectors.c| 95 ++- 1 file changed, 69 insertions(+), 26 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c b/drivers/gpu/dr

[PATCH v5 23/24] drm/radeon: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/radeon/radeon_connectors.c | 141 +++-- 1 file changed, 105 insertions(+), 36 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/r

Re: [PATCH 1/3] RFT: drm/pl111: Support grayscale

2019-07-24 Thread Daniel Vetter
On Wed, Jul 24, 2019 at 2:52 PM Linus Walleij wrote: > > On Tue, Jul 23, 2019 at 11:07 PM Daniel Vetter wrote: > > On Tue, Jul 23, 2019 at 7:25 PM Adam Jackson wrote: > > > > > > On Tue, 2019-07-23 at 15:37 +0200, Linus Walleij wrote: > > > > Migrating the TI nspire calculators to use the PL111

[PATCH v5 24/24] drm/i915: Provide ddc symlink in hdmi connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/i915/display/intel_hdmi.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c b/drivers/gpu/drm/i915/display/inte

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

2019-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #65 from weden...@yandex.ru --- (In reply to Sylvain BERTRAND from comment #62) > unstable power supply lines to the gpu if overheating is excluded? It's not overheating in my case, but my PSU is pretty old (I'm waiting for component

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

2019-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #66 from Hadet --- I don't think it's faulty hardware in any of our cases to be perfectly honest, it's a bad instruction set, this didn't happen with older kernels or firmware and the issue now is there are so few of us with Vega car

Re: [RFC] Expanding drm_mode_modeinfo flags

2019-07-24 Thread Sean Paul
On Mon, Jul 22, 2019 at 04:50:43PM -0700, Jeykumar Sankaran wrote: > On 2019-07-19 07:29, Sean Paul wrote: > > On Fri, Jul 19, 2019 at 05:15:28PM +0300, Ville Syrjälä wrote: > > > On Fri, Jul 19, 2019 at 09:55:58AM -0400, Sean Paul wrote: > > > > On Fri, Jul 19, 2019 at 11:05:53AM +0200, Daniel Vet

[PATCH] drm/panel: check failure cases in the probe func

2019-07-24 Thread Navid Emamdoost
The following function calls may fail and return NULL, so the null check is added. of_graph_get_next_endpoint of_graph_get_remote_port_parent of_graph_get_remote_port Signed-off-by: Navid Emamdoost --- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 9 + 1 file changed, 9 inserti

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

2019-07-24 Thread sylvain . bertrand
> ... > Vulkan/DXVK The bugs may be in wine/DXVK then. You should report to a bug to them and link this bug to theirs. ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

2019-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #67 from Sylvain BERTRAND --- > ... > Vulkan/DXVK The bugs may be in wine/DXVK then. You should report to a bug to them and link this bug to theirs. -- You are receiving this mail because: You are the assignee for the bug.

  1   2   >