Re: [PATCH v3] drm/bridge/synopsys: dsi: add optional pixel clock

2018-01-24 Thread Brian Norris
On Wed, Jan 24, 2018 at 09:24:06AM +, Philippe CORNU wrote: > On 01/23/2018 09:49 PM, Brian Norris wrote: > > On Tue, Jan 23, 2018 at 06:08:06PM +0100, Philippe Cornu wrote: > >> --- a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c > >> +++ b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c > >>

Re: [PATCH v19 10/10] drm/omapdrm: Use of_find_backlight helper

2018-01-24 Thread Noralf Trønnes
Den 24.01.2018 17.41, skrev Meghana Madhyastha: Replace of_find_backlight_by_node and of the code around it with of_find_backlight helper to avoid repetition of code. Signed-off-by: Meghana Madhyastha --- Reviewed-by: Noralf Trønnes

Re: [PATCH 5/5] drm: Don't pass clip to drm_atomic_helper_check_plane_state()

2018-01-24 Thread Sinclair Yeh
vmwgfx part: Reviewed-by: Sinclair Yeh On Tue, Jan 23, 2018 at 07:08:57PM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > Move the plane clip rectangle handling into > drm_atomic_helper_check_plane_state(). Drivers no longer > have to worry

Re: [PATCH v1 1/2] drm/bridge/synopsys: dsi: Fix dsi_host_transfer() return value

2018-01-24 Thread Brian Norris
Hi Philippe, On Wed, Jan 24, 2018 at 01:33:54PM +, Philippe CORNU wrote: > On 01/23/2018 10:38 PM, Brian Norris wrote: > > Hi Philippe, > > > > On Tue, Jan 23, 2018 at 6:26 AM, Philippe Cornu > > wrote: > >> The dw_mipi_dsi_host_transfer() must return the number of >

[PATCH] drm: Warn if plane/crtc/encoder/connector index exceeds our 32bit bitmasks

2018-01-24 Thread Ville Syrjala
From: Ville Syrjälä We use 32bit bitmasks to track planes/crtcs/encoders/connectors. Naturally we can only do that if the index of those objects stays below 32. Issue a warning whenever we exceed that limit, hopefully prompting someone to fix the problem. Or

Re: [PATCH 2/5] drm: add ARM flush implementation

2018-01-24 Thread Gurchetan Singh
On Wed, Jan 24, 2018 at 4:45 AM, Russell King - ARM Linux < li...@armlinux.org.uk> wrote: > On Tue, Jan 23, 2018 at 06:56:03PM -0800, Gurchetan Singh wrote: > > The dma_cache_maint_page function is important for cache maintenance on > > ARM32 (this was determined via testing). > > > > Since we

Re: [PATCH v19 10/10] drm/omapdrm: Use of_find_backlight helper

2018-01-24 Thread Sean Paul
On Wed, Jan 24, 2018 at 02:23:46PM -0500, Sean Paul wrote: > On Wed, Jan 24, 2018 at 04:41:38PM +, Meghana Madhyastha wrote: > > Replace of_find_backlight_by_node and of the code around it > > with of_find_backlight helper to avoid repetition of code. > > > > Signed-off-by: Meghana Madhyastha

Re: [RFC][PATCH 4/4 v2] drm_hwcomposer: Try to fallback if GLCompisition fails

2018-01-24 Thread John Stultz
On Wed, Jan 24, 2018 at 7:26 AM, Sean Paul wrote: > On Tue, Jan 23, 2018 at 03:16:39PM -0800, John Stultz wrote: >> When using drm_hwcomposer with the hikey board, the resulting >> display shows lots of tearing. >> >> This seems to be due to EGLcomposition not initializing

Re: [PATCH v2 1/2] dt-bindings: etnaviv: add slave interface clock

2018-01-24 Thread Rob Herring
On Wed, Jan 24, 2018 at 9:37 AM, Lucas Stach wrote: > Newer GPU cores added a new clock input, which allows to gate the slave (AHB) > interface independently from other parts of the GPU. Add it to the supported > clocks. > > Signed-off-by: Lucas Stach

Re: [PATCH v2 2/2] drm/etnaviv: remove the need for a gpu-subsystem DT node

2018-01-24 Thread Rob Herring
On Wed, Jan 24, 2018 at 9:37 AM, Lucas Stach wrote: > The module autoloading can be triggered through the GPU core nodes > and the necessary platform device for the DRM toplevel device will > be instantiated on module init. > > Suggested-by: Rob Herring >

Re: [PATCH] drm: Warn if plane/crtc/encoder/connector index exceeds our 32bit bitmasks

2018-01-24 Thread Harry Wentland
On 2018-01-24 01:37 PM, Ville Syrjala wrote: > From: Ville Syrjälä > > We use 32bit bitmasks to track planes/crtcs/encoders/connectors. > Naturally we can only do that if the index of those objects stays > below 32. Issue a warning whenever we exceed that limit,

[pull] amdgpu drm-next-4.16

2018-01-24 Thread Alex Deucher
Hi Dave, A few more fixes for 4.16. This is on top of the pull request from last week. Most notable change here is a fix to the link order for the now separate from amdgpu GPU scheduler to fix crashes when the modules are build into the kernel rather than as modules. The following changes

[Bug 104738] Radeon HD 6970M/6990M crash on iMac on boot - only nomodeset helps

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104738 --- Comment #9 from Alex Deucher --- (In reply to hansmatros76 from comment #8) > Thanks but how can a do this? You attached a partial dmesg output in comment 0. Can you just remove the grep so we get the full output?

[PULL] drm-misc-fixes for 4.15

2018-01-24 Thread Sean Paul
Hi Dave, I'm sending this since danvet is down under this week. We've collected a couple fixes in drm-misc-fixes this week, and since we're still in the business of 4.15, I figured I'd send them along. drm-misc-fixes-2018-01-24: Two vc4 fixes that were applied in the last day. One fixes a NULL

Re: [PATCH 1/5] drm: rename {drm_clflush_sg, drm_clflush_pages}

2018-01-24 Thread Chris Wilson
Quoting Gurchetan Singh (2018-01-24 18:45:07) > On Wed, Jan 24, 2018 at 1:14 AM, Chris Wilson > wrote: > > Quoting Gurchetan Singh (2018-01-24 02:55:30) > > Since clfush is an x86-only instruction, these function names won't > > make much sense if we start

Re: [PATCH] drm: Warn if plane/crtc/encoder/connector index exceeds our 32bit bitmasks

2018-01-24 Thread Harry Wentland
On 2018-01-24 04:24 PM, Ville Syrjälä wrote: > On Wed, Jan 24, 2018 at 04:01:18PM -0500, Harry Wentland wrote: >> On 2018-01-24 01:37 PM, Ville Syrjala wrote: >>> From: Ville Syrjälä >>> >>> We use 32bit bitmasks to track planes/crtcs/encoders/connectors. >>>

Re: [PATCH v1 2/2] drm/bridge/synopsys: dsi: Add a warning msg on dsi read operations

2018-01-24 Thread Brian Norris
Hi Philippe, On Wed, Jan 24, 2018 at 01:22:04PM +, Philippe CORNU wrote: > On 01/23/2018 10:28 PM, Brian Norris wrote: > > I see you sent this out already today, while I only just responded > > (late) to your questions about it... oh well :) > > > > I got a short period to clean-up and adds

Re: [PATCH 1/5] drm: rename {drm_clflush_sg, drm_clflush_pages}

2018-01-24 Thread Gurchetan Singh
On Wed, Jan 24, 2018 at 1:14 AM, Chris Wilson wrote: > Quoting Gurchetan Singh (2018-01-24 02:55:30) > > Since clfush is an x86-only instruction, these function names won't > > make much sense if we start adding cases for other architectures. > > Whatever your dislike

[Bug 104738] Radeon HD 6970M/6990M crash on iMac on boot - only nomodeset helps

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104738 --- Comment #10 from Alex Deucher --- Is this a regression? Did it work previously? If so, with what kernel? -- You are receiving this mail because: You are the assignee for the

Re: [RFC][PATCH 2/4 v2] drm_hwcomposer: Add platformhisi buffer importer for hikey and hikey960

2018-01-24 Thread John Stultz
On Wed, Jan 24, 2018 at 7:23 AM, Sean Paul wrote: > On Tue, Jan 23, 2018 at 03:16:37PM -0800, John Stultz wrote: >> This allows for importing buffers allocated from the >> hikey and hikey960 gralloc implelementations. >> >> Cc: Marissa Wall >> Cc: Sean

Re: [PATCH] drm: Warn if plane/crtc/encoder/connector index exceeds our 32bit bitmasks

2018-01-24 Thread Ville Syrjälä
On Wed, Jan 24, 2018 at 04:01:18PM -0500, Harry Wentland wrote: > On 2018-01-24 01:37 PM, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > We use 32bit bitmasks to track planes/crtcs/encoders/connectors. > > Naturally we can only do that if the index of those

Re: [PATCH v19 10/10] drm/omapdrm: Use of_find_backlight helper

2018-01-24 Thread Sean Paul
On Wed, Jan 24, 2018 at 04:41:38PM +, Meghana Madhyastha wrote: > Replace of_find_backlight_by_node and of the code around it > with of_find_backlight helper to avoid repetition of code. > > Signed-off-by: Meghana Madhyastha > --- > Changes in v19: > -Changed to

[RFC 4/6] drm: Respect driver set DRM_LOG_NAME in drm_printk

2018-01-24 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Since drm_printk is built inside the DRM core module, it will not respect the potentially overriden by the driver DRM_LOG_NAME. Make it tale the driver prefix and change it's wrappers so it is passed in from the driver code. This makes the driver

Re: [PATCH 2/5] drm: add ARM flush implementation

2018-01-24 Thread Russell King - ARM Linux
On Wed, Jan 24, 2018 at 10:45:28AM -0800, Gurchetan Singh wrote: > On Wed, Jan 24, 2018 at 4:45 AM, Russell King - ARM Linux < > li...@armlinux.org.uk> wrote: > > So no, this is not an acceptable approach. > > > > Secondly, in light of spectre and meltdown, do we _really_ want to > > export cache

[PATCH v2] drm: Warn if plane/crtc/encoder/connector index exceeds our 32bit bitmasks

2018-01-24 Thread Ville Syrjala
From: Ville Syrjälä We use 32bit bitmasks to track planes/crtcs/encoders/connectors. Naturally we can only do that if the index of those objects stays below 32. Issue a warning whenever we exceed that limit, hopefully prompting someone to fix the problem. For

Re: [PATCH 2/2] drm/sun4i: Handle DRM_MODE_FLAG_**SYNC_POSITIVE correctly

2018-01-24 Thread Giulio Benetti
Hi, Il 22/01/2018 21:27, Giulio Benetti ha scritto: Hi, Il 22/01/2018 09:51, Maxime Ripard ha scritto: On Sat, Jan 20, 2018 at 07:50:21PM +0100, Giulio Benetti wrote: On previous handling, if specified DRM_MODE_FLAG_N*SYNC, it was ignored, because only PHSYNC and PVSYNC were taken into

Re: [RFC][PATCH 2/4 v2] drm_hwcomposer: Add platformhisi buffer importer for hikey and hikey960

2018-01-24 Thread Rob Herring
On Wed, Jan 24, 2018 at 1:05 PM, John Stultz wrote: > On Wed, Jan 24, 2018 at 7:23 AM, Sean Paul wrote: >> On Tue, Jan 23, 2018 at 03:16:37PM -0800, John Stultz wrote: >>> This allows for importing buffers allocated from the >>> hikey and hikey960

Re: [PATCH 2/2] drm/sun4i: Handle DRM_MODE_FLAG_**SYNC_POSITIVE correctly

2018-01-24 Thread Giulio Benetti
Hi, Il 24/01/2018 18:38, Giulio Benetti ha scritto: Hi, Il 22/01/2018 21:27, Giulio Benetti ha scritto: Hi, Il 22/01/2018 09:51, Maxime Ripard ha scritto: On Sat, Jan 20, 2018 at 07:50:21PM +0100, Giulio Benetti wrote: On previous handling, if specified DRM_MODE_FLAG_N*SYNC, it was

Re: [PATCH 3/5] drm: add ARM64 flush implementations

2018-01-24 Thread Russell King - ARM Linux
On Wed, Jan 24, 2018 at 12:00:59PM +, Robin Murphy wrote: > On 24/01/18 02:56, Gurchetan Singh wrote: > >This patch uses the __dma_map_area function to flush the cache > >on ARM64. > > > >v2: Don't use DMA API, call functions directly (Daniel) > > > >Signed-off-by: Gurchetan Singh

[RFC 5/6] drm: Respect driver set DRM_LOG_NAME in drm_dev_printk

2018-01-24 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Same as the previous patch did for drm_printk, allow for the logging macros to pass in the driver set DRM_LOG_NAME for drm_dev_printk. Signed-off-by: Tvrtko Ursulin Cc: Daniel Vetter Cc: Gustavo

Re: [PATCH] drm/etnaviv: fix '%x' warning

2018-01-24 Thread Gustavo A. R. Silva
Hello Lucas, Quoting Lucas Stach : Hi Gustavo, Am Dienstag, den 23.01.2018, 11:07 -0600 schrieb Gustavo A. R. Silva: Fix the following warning by using %zx instead of %x for variable of type size_t: warning: format ‘%x’ expects argument of type ‘unsigned int’, but

[RFC 3/6] drm/i915: Give our log messages our name

2018-01-24 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Define DRM_LOG_NAME to i915 so that the log messages we output change from: [drm] RC6 on to: [i915] RC6 on Signed-off-by: Tvrtko Ursulin Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/i915/i915_drv.h | 5

[RFC 6/6] drm: Respect driver set DRM_LOG_NAME in drm_info_printer

2018-01-24 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Same as the previous patch did for drm_printk, allow for the logging macros to pass in the driver set DRM_LOG_NAME for drm_info_printer. Signed-off-by: Tvrtko Ursulin Cc: Daniel Vetter Cc:

Re: DRM: double free in rcar_du_vsp.c

2018-01-24 Thread Volodymyr Babchuk
Looping in DRM maintainer. Hello, I have found issue with double free() in RCAR DU VSP driver. it is caused by rcar_du_vsp_plane_atomic_duplicate_state(), which duplicates struct rcar_du_vsp_plane_state. This struct holds sg_tables which are then freed in rcar_du_vsp_plane_cleanup_fb(). This

[RFC 2/6] drm: Introduce unexported DRM_LOG_NAME define for logging

2018-01-24 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Instead of having DRM_NAME which is defined in the uAPI headers used for kernel log prefix messages, introduct a new DRM_LOG_NAME define defined privately in kernel space. Leave the DRM_NAME around, but mark it as obsolete in case there is some

Re: [RFC 1/6] drm/armada: Simplify drm_dev_init error log

2018-01-24 Thread Russell King - ARM Linux
On Wed, Jan 24, 2018 at 04:18:16PM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > dev_err will log the device in question and since there is a single caller > to drm_dev_init inside this driver, the drm prefix and the function name > can both also be safely

[RFC 1/6] drm/armada: Simplify drm_dev_init error log

2018-01-24 Thread Tvrtko Ursulin
From: Tvrtko Ursulin dev_err will log the device in question and since there is a single caller to drm_dev_init inside this driver, the drm prefix and the function name can both also be safely dropped. Signed-off-by: Tvrtko Ursulin Cc:

Re: [PATCH 2/5] drm: add ARM flush implementation

2018-01-24 Thread Russell King - ARM Linux
On Tue, Jan 23, 2018 at 06:56:03PM -0800, Gurchetan Singh wrote: > The dma_cache_maint_page function is important for cache maintenance on > ARM32 (this was determined via testing). > > Since we desire direct control of the caches in drm_cache.c, let's make > a copy of the function, rename it and

[RFC v2 0/6] DRM logging tidy

2018-01-24 Thread Tvrtko Ursulin
From: Tvrtko Ursulin This series tries to solve a few issues in the current DRM logging code to primarily make it clearer which messages belong to which driver. Main problem is that currently some logging functions allow individual drivers to override the log prefix

Re: [RFC][PATCH 3/4 v2] drm_hwcomposer: Use client compositing if there is only one plane

2018-01-24 Thread Rob Herring
On Tue, Jan 23, 2018 at 5:16 PM, John Stultz wrote: > Originally based on work by Rob Herring, this patch changes > ValidateDisplay() so that if there is only one plane, we modify > Device composited layers to be Client composited. > > Without this, on devices with just

Re: [RFC][PATCH 4/4 v2] drm_hwcomposer: Try to fallback if GLCompisition fails

2018-01-24 Thread Rob Herring
On Wed, Jan 24, 2018 at 1:26 PM, John Stultz wrote: > On Wed, Jan 24, 2018 at 7:26 AM, Sean Paul wrote: >> On Tue, Jan 23, 2018 at 03:16:39PM -0800, John Stultz wrote: >>> When using drm_hwcomposer with the hikey board, the resulting >>> display

Re: [Intel-gfx] [PATCH] drm: Warn if plane/crtc/encoder/connector index exceeds our 32bit bitmasks

2018-01-24 Thread Ville Syrjälä
On Wed, Jan 24, 2018 at 11:24:05PM +0200, Ville Syrjälä wrote: > On Wed, Jan 24, 2018 at 04:01:18PM -0500, Harry Wentland wrote: > > On 2018-01-24 01:37 PM, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > We use 32bit bitmasks to track

Re: [PATCH 0/2] Small fixes for the meson build

2018-01-24 Thread Dylan Baker
ping Quoting Dylan Baker (2018-01-12 11:57:34) > Here's a few things I've caught as I've started trying to add the meson > build to our CI system. > > Dylan Baker (2): > meson: set proper pkg-config version for libdrm_freedreno > meson: set the minimum version correctly > >

Re: [PATCH 2/7] drm/ttm: use an operation ctx for ttm_mem_global_alloc

2018-01-24 Thread Sinclair Yeh
Hi, Sorry, I've been on a leave. Catching up on emails. In case this is still not yet merged, my comment is be consist with the new variable name. In some cases it's "ttm_opt_ctx", in others it's "ctx". I prefer ttm_opt_ctx because it's more descriptive. And yes, some description on why this

Re: [PATCH 2/5] drm: add ARM flush implementation

2018-01-24 Thread Gurchetan Singh
On Wed, Jan 24, 2018 at 11:26 AM, Russell King - ARM Linux wrote: > On Wed, Jan 24, 2018 at 10:45:28AM -0800, Gurchetan Singh wrote: >> On Wed, Jan 24, 2018 at 4:45 AM, Russell King - ARM Linux < >> li...@armlinux.org.uk> wrote: >> > So no, this is not an acceptable

Re: [PULL] drm-misc-fixes for 4.15

2018-01-24 Thread Sean Paul
On Wed, Jan 24, 2018, 8:13 PM Daniel Vetter wrote: > On Wed, Jan 24, 2018 at 7:54 PM, Sean Paul wrote: > > > > Hi Dave, > > I'm sending this since danvet is down under this week. We've collected a > couple > > fixes in drm-misc-fixes this week, and

[Bug 104762] Various segfaults/problems in qt/plasma

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104762 --- Comment #6 from Dieter Nützel --- Tested-by: Dieter Nützel I got it since the commit went in. Deleting both like Mike suggested worked here since that time, too. I ignored it 'cause I thought

[git pull] drm vc4 fixes for 4.15

2018-01-24 Thread Dave Airlie
Hi Linus, Just got two vc4 fixes for a NULL ptr and misrendering issues, don't think I'll have anything else ths week, tomorrow is a public holiday here. Dave. The following changes since commit 0c5b9b5d9adbad4b60491f9ba0d2af38904bb4b9: Linux 4.15-rc9 (2018-01-21 13:51:26 -0800) are

[Bug 104762] Various segfaults/problems in qt/plasma

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104762 --- Comment #5 from Timothy Arceri --- Created attachment 136950 --> https://bugs.freedesktop.org/attachment.cgi?id=136950=edit possible fix I wasn't able to reproduce the issue, but can you give this patch a try? --

Re: [PATCH] drm/pl111: Use max memory bandwidth for resolution

2018-01-24 Thread Eric Anholt
Linus Walleij writes: > We were previously selecting 1024x768 and 32BPP as the default > set-up for the PL111 consumers. > > This does not work on elder systems: the device tree bindings > support a property "max-memory-bandwidth" in bytes/second that > states that if

Re: [PULL] drm-misc-fixes for 4.15

2018-01-24 Thread Daniel Vetter
On Wed, Jan 24, 2018 at 7:54 PM, Sean Paul wrote: > > Hi Dave, > I'm sending this since danvet is down under this week. We've collected a > couple > fixes in drm-misc-fixes this week, and since we're still in the business of > 4.15, I figured I'd send them along. Hah, was

[Bug 103234] KWin crashed when Alt+Tab-ing through open windows

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103234 --- Comment #12 from Emil Velikov --- FYI Mesa 17.2.x is EOL, so it might be better to check if 17.3.3 and master still have the issue. -- You are receiving this mail because: You are the assignee for the

[Bug 104770] GL_ARB_compute_shader advertised but none-functional / piglit tests failing on CAYMAN.

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104770 Bug ID: 104770 Summary: GL_ARB_compute_shader advertised but none-functional / piglit tests failing on CAYMAN. Product: Mesa Version: git Hardware: Other

[Bug 104770] GL_ARB_compute_shader advertised but none-functional / piglit tests failing on CAYMAN.

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104770 --- Comment #1 from Thomas Rohloff --- Maybe this is helpfull, too: OpenGL vendor string: X.Org OpenGL renderer string: AMD CAYMAN (DRM 2.50.0 / 4.14.14, LLVM 5.0.1) OpenGL core profile version string: 4.3 (Core Profile)

Re: [RFC] Per file OOM badness

2018-01-24 Thread Michel Dänzer
On 2018-01-24 12:50 PM, Michal Hocko wrote: > On Wed 24-01-18 12:23:10, Michel Dänzer wrote: >> On 2018-01-24 12:01 PM, Michal Hocko wrote: >>> On Wed 24-01-18 11:27:15, Michel Dänzer wrote: > [...] 2. If the OOM killer kills a process which is sharing BOs with another process, this

[Bug 104762] Various segfaults/problems in qt/plasma

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104762 Christoph Haag changed: What|Removed |Added Attachment #136931|0 |1 is

[PATCH v19 01/10] video: backlight: Add helpers to enable and disable backlight

2018-01-24 Thread Meghana Madhyastha
Add helper functions backlight_enable and backlight_disable to enable/disable a backlight device. These helper functions can then be used by different drm and tinydrm drivers to avoid repetition of code and also to enforce a uniform and consistent way to enable/disable a backlight device.

[PATCH v19 04/10] drm/tinydrm: Replace tinydrm_of_find_backlight with of_find_backlight

2018-01-24 Thread Meghana Madhyastha
Remove tinydrm_of_find_backlight from tinydrm-helpers.c. We now have a generic of_find_backlight defined in backlight.c. Let the callers of tinydrm_of_find_backlight call of_find_backlight. Also, remove select BACKLIGHT_LCD_SUPPORT and select BACKLIGHT_CLASS_DEVICE from tinydrm/Kconfig as it is a

[PATCH v19 06/10] drm/tinydrm: Call devres version of of_find_backlight

2018-01-24 Thread Meghana Madhyastha
Call devm_of_find_backlight (the devres version) instead of of_find_backlight. Reviewed-by: Noralf Trønnes Reviewed-by: Sean Paul Signed-off-by: Meghana Madhyastha --- drivers/gpu/drm/tinydrm/mi0283qt.c | 2 +-

[PATCH v19 08/10] drm/omapdrm: Use backlight_enable/disable helpers

2018-01-24 Thread Meghana Madhyastha
Use backlight_enable/disable helpers instead of changing the property and calling backlight_update_status for cleaner and simpler code and also to avoid repetitions. Reviewed-by: Noralf Trønnes Reviewed-by: Sean Paul Signed-off-by: Meghana Madhyastha

Re: [Intel-gfx] [RFC v2 0/6] DRM logging tidy

2018-01-24 Thread Tvrtko Ursulin
On 24/01/2018 16:23, Chris Wilson wrote: Quoting Tvrtko Ursulin (2018-01-24 16:18:15) From: Tvrtko Ursulin This series tries to solve a few issues in the current DRM logging code to primarily make it clearer which messages belong to which driver. Main problem is

[PATCH v19 00/10] Add backlight helper functions

2018-01-24 Thread Meghana Madhyastha
Move drm helper functions from tinydrm-helpers to linux/backlight for ease of use by callers in other drivers. Changes in v19: -Changed to devm version of of_find_backlight in omapdrm (patch 10) -removed assigning pdev->dev to variable dev in omapdrm (patch 10) Meghana Madhyastha (10): video:

[PATCH v19 03/10] video: backlight: Add of_find_backlight helper in backlight.c

2018-01-24 Thread Meghana Madhyastha
Add of_find_backlight, a helper function which is a generic version of tinydrm_of_find_backlight that can be used by other drivers to avoid repetition of code and simplify things. Acked-by: Daniel Thompson Reviewed-by: Noralf Trønnes Reviewed-by:

[PATCH v19 02/10] drm/tinydrm: Convert tinydrm_enable/disable_backlight to backlight_enable/disable

2018-01-24 Thread Meghana Madhyastha
Remove tinydrm_enable/disable_backlight and let the callers call the more generic backlight_enable/disable helpers Reviewed-by: Noralf Trønnes Reviewed-by: Sean Paul Signed-off-by: Meghana Madhyastha ---

[PATCH v19 05/10] video: backlight: Add devres versions of of_find_backlight

2018-01-24 Thread Meghana Madhyastha
Add devm_of_find_backlight and the corresponding release function because some drivers use devres versions of functions for acquiring device resources. Acked-by: Daniel Thompson Reviewed-by: Noralf Trønnes Reviewed-by: Sean

[PATCH v19 07/10] drm/panel: Use backlight_enable/disable helpers

2018-01-24 Thread Meghana Madhyastha
Use backlight_enable/disable helpers instead of changing the property and calling backlight_update_status for cleaner and simpler code and also to avoid repetitions. Reviewed-by: Noralf Trønnes Reviewed-by: Sean Paul Signed-off-by: Meghana Madhyastha

[PATCH v19 10/10] drm/omapdrm: Use of_find_backlight helper

2018-01-24 Thread Meghana Madhyastha
Replace of_find_backlight_by_node and of the code around it with of_find_backlight helper to avoid repetition of code. Signed-off-by: Meghana Madhyastha --- Changes in v19: -Changed to devm version of of_find_backlight in omapdrm (patch 10) -removed assigning

[PATCH v19 09/10] drm/panel: Use of_find_backlight helper

2018-01-24 Thread Meghana Madhyastha
Replace of_find_backlight_by_node and of the code around it with of_find_backlight helper to avoid repetition of code. Reviewed-by: Noralf Trønnes Reviewed-by: Sean Paul Signed-off-by: Meghana Madhyastha ---

[Bug 104738] Radeon HD 6970M/6990M crash on iMac on boot - only nomodeset helps

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104738 --- Comment #8 from hansmatro...@gmail.com --- Thanks but how can a do this? Without this option in Grub i only see 1 second a few lines, then the monitor switch into a black screen. nothing happens anymore. also am not able to ping the host. i

Re: [PATCH] drm/bridge/synopsys: dsi: Adopt SPDX identifiers

2018-01-24 Thread Benjamin Gaignard
2018-01-24 0:32 GMT+01:00 Laurent Pinchart : > Hi Philippe, > > On Tuesday, 23 January 2018 12:25:51 EET Philippe CORNU wrote: >> On 01/23/2018 12:30 AM, Laurent Pinchart wrote: >> > On Monday, 22 January 2018 12:26:08 EET Philippe Cornu wrote: >> >> Add SPDX

[PATCH] drm/etnaviv: fix '%x' warning

2018-01-24 Thread Gustavo A. R. Silva
Fix the following warning by using %zx instead of %x for variable of type size_t: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Wformat=] Fixes: 50073cf98d16 ("drm/etnaviv: mmu: stop using iommu map/unmap functions")

[PATCH-next] drm/tegra: gem: Use PTR_ERR_OR_ZERO

2018-01-24 Thread Christopher Díaz Riveros
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR This issue was detected by using the Coccinelle software. Signed-off-by: Christopher Díaz Riveros --- drivers/gpu/drm/tegra/gem.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

Re: [PATCH-next] drm/tegra: gem: Use PTR_ERR_OR_ZERO

2018-01-24 Thread Mikko Perttunen
This nas been NAK'd before as harder to read than the current way. Thanks, Mikko On 01/23/2018 10:29 PM, Christopher Díaz Riveros wrote: Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR This issue was detected by using the Coccinelle software. Signed-off-by: Christopher Díaz Riveros

Re: [PATCH 3/5] drm/armada: Construct a temporary crtc state for plane checks

2018-01-24 Thread Russell King - ARM Linux
On Tue, Jan 23, 2018 at 07:08:55PM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > As armada isn't an atomic driver trying to pass a non-populated > crtc->state to drm_atomic_helper_check_plane_state() will end in tears. > Construct a temporary crtc state a

[PATCH] drm/edid: use false for boolean value

2018-01-24 Thread Gustavo A. R. Silva
Assign true or false to boolean variables instead of an integer value. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- drivers/gpu/drm/drm_edid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Bug 104756] [bisected] [kabini] [regression] [drm:amdgpufb_create] *ERROR* failed to create fbcon object -12

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104756 --- Comment #2 from Michel Dänzer --- Please attach the CONFIG_DRM entries of the kernel build configuration file. -- You are receiving this mail because: You are the assignee for the

[Bug 104736] Kernel panic with agd5's drm-next-4.17-wip & GFX8/Polaris10/Ellesmere/Rx-480-8GiB

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104736 --- Comment #4 from Michel Dänzer --- Please attach the CONFIG_DRM entries of the kernel build configuration file. -- You are receiving this mail because: You are the assignee for the

[Bug 104762] Various segfaults/problems in qt/plasma

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104762 Bug ID: 104762 Summary: Various segfaults/problems in qt/plasma Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal

[Bug 104762] Various segfaults/problems in qt/plasma

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104762 Michel Dänzer changed: What|Removed |Added CC|

[Bug 104762] Various segfaults/problems in qt/plasma

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104762 --- Comment #2 from Christoph Haag --- Created attachment 136932 --> https://bugs.freedesktop.org/attachment.cgi?id=136932=edit systemsettings black I think I have tried running with valgrind before. I tried valgrind

Re: [PATCH] drm/bridge/synopsys: dsi: use common mipi_dsi_create_packet()

2018-01-24 Thread Philippe CORNU
Hi Brian, On 01/23/2018 10:15 PM, Brian Norris wrote: > Hi Philippe, > > On Thu, Jan 18, 2018 at 11:40:48AM +, Philippe CORNU wrote: >> On 01/11/2018 12:16 PM, Philippe CORNU wrote: >>> To be honest, I do not really like the memcpy here too and I agree with >>> you regarding the BE issue.

Re: [RFC] Per file OOM badness

2018-01-24 Thread Michal Hocko
On Tue 23-01-18 17:39:19, Michel Dänzer wrote: > On 2018-01-23 04:36 PM, Michal Hocko wrote: > > On Tue 23-01-18 15:27:00, Roman Gushchin wrote: > >> On Thu, Jan 18, 2018 at 06:00:06PM +0100, Michal Hocko wrote: > >>> On Thu 18-01-18 11:47:48, Andrey Grodzovsky wrote: > Hi, this series is a

[Bug 104756] [bisected] [kabini] [regression] [drm:amdgpufb_create] *ERROR* failed to create fbcon object -12

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104756 --- Comment #4 from Mike Lothian --- Sorry pasted from wrong machine: CONFIG_DRM=y CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y CONFIG_DRM_KMS_HELPER=y CONFIG_DRM_KMS_FB_HELPER=y CONFIG_DRM_FBDEV_EMULATION=y

[Bug 104756] [bisected] [kabini] [regression] [drm:amdgpufb_create] *ERROR* failed to create fbcon object -12

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104756 --- Comment #5 from Michel Dänzer --- Maybe drm_sched_fence_slab_init isn't guaranteed to be called before amdgpu_init when both amdgpu and the GPU scheduler are built into the kernel. Lucas, what do you think? -- You are

[Bug 104736] Kernel panic with agd5's drm-next-4.17-wip & GFX8/Polaris10/Ellesmere/Rx-480-8GiB

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104736 Christian König changed: What|Removed |Added CC|

[Bug 104756] [bisected] [kabini] [regression] [drm:amdgpufb_create] *ERROR* failed to create fbcon object -12

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104756 Christian König changed: What|Removed |Added Resolution|---

Re: [PATCH 1/5] drm: rename {drm_clflush_sg, drm_clflush_pages}

2018-01-24 Thread Chris Wilson
Quoting Gurchetan Singh (2018-01-24 02:55:30) > Since clfush is an x86-only instruction, these function names won't > make much sense if we start adding cases for other architectures. Whatever your dislike for the name, it has one clear advantage over the new one: it tells you what it is

Re: [PATCH v3] drm/bridge/synopsys: dsi: add optional pixel clock

2018-01-24 Thread Philippe CORNU
Hi Brian, On 01/23/2018 09:49 PM, Brian Norris wrote: > Hi, > > Philippe asked me to review the last version. I'm not sure I have a lot > to contribute. Maybe Rockchip folks who wrote this stuff in the first > place might. I've CC'd some. > > On Tue, Jan 23, 2018 at 06:08:06PM +0100, Philippe

[Bug 104756] [bisected] [kabini] [regression] [drm:amdgpufb_create] *ERROR* failed to create fbcon object -12

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104756 --- Comment #3 from Mike Lothian --- Hi The CONFIG_DRM entries are as follows: CONFIG_DRM=y CONFIG_DRM_MIPI_DSI=y CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y CONFIG_DRM_KMS_HELPER=y CONFIG_DRM_KMS_FB_HELPER=y

Re: [RFC] Per file OOM badness

2018-01-24 Thread Michel Dänzer
On 2018-01-24 10:28 AM, Michal Hocko wrote: > On Tue 23-01-18 17:39:19, Michel Dänzer wrote: >> On 2018-01-23 04:36 PM, Michal Hocko wrote: >>> On Tue 23-01-18 15:27:00, Roman Gushchin wrote: On Thu, Jan 18, 2018 at 06:00:06PM +0100, Michal Hocko wrote: > On Thu 18-01-18 11:47:48, Andrey

[Bug 102204] GLideN64 very slow on r600/radeonsi

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102204 --- Comment #3 from H4nN1baL --- Created attachment 136936 --> https://bugs.freedesktop.org/attachment.cgi?id=136936=edit glxinfo2 Upgraded Kernel, xserver-xorg, Mesa, etc. The problem disappears with

Re: [PATCH v2] drm/arm/malidp: Disable pixel alpha blending for colors that do not have alpha

2018-01-24 Thread Liviu Dudau
On Tue, Jan 23, 2018 at 04:49:29PM +, Ayan Kumar Halder wrote: > From: Ayan Halder > > Mali dp needs to disable pixel alpha blending (use layer alpha blending) to > display color formats that do not contain alpha bits per pixel > > This patch depends on: > > "[PATCH v2

[Bug 102204] GLideN64 very slow on r600/radeonsi

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102204 H4nN1baL changed: What|Removed |Added Severity|major |enhancement

[Bug 104762] Various segfaults/problems in qt/plasma

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104762 Mike Lothian changed: What|Removed |Added CC||m...@fireburn.co.uk

[Bug 102204] GLideN64 very slow on r600/radeonsi

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102204 H4nN1baL changed: What|Removed |Added URL|

[PATCH] drm: fix gpu scheduler link order

2018-01-24 Thread Christian König
It should initialize before the drivers using it. Signed-off-by: Christian König Bug: https://bugs.freedesktop.org/show_bug.cgi?id=104736 --- drivers/gpu/drm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/Makefile

[Bug 104736] Kernel panic with agd5's drm-next-4.17-wip & GFX8/Polaris10/Ellesmere/Rx-480-8GiB

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104736 --- Comment #6 from Christian König --- Created attachment 136937 --> https://bugs.freedesktop.org/attachment.cgi?id=136937=edit Possible fix I was able to reproduce the problem and the attached patch should

[Bug 104736] Kernel panic with agd5's drm-next-4.17-wip & GFX8/Polaris10/Ellesmere/Rx-480-8GiB

2018-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104736 --- Comment #7 from Mike Lothian --- I can confirm is does fix the issues I was seeing -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel

Re: [RFC] Per file OOM badness

2018-01-24 Thread Michal Hocko
On Wed 24-01-18 11:27:15, Michel Dänzer wrote: > On 2018-01-24 10:28 AM, Michal Hocko wrote: [...] > > So how exactly then helps to kill one of those processes? The memory > > stays pinned behind or do I still misunderstand? > > Fundamentally, the memory is only released once all references to

Re: [PATCH] drm: fix gpu scheduler link order

2018-01-24 Thread Mike Lothian
On 24 January 2018 at 10:46, Christian König wrote: > It should initialize before the drivers using it. > > Signed-off-by: Christian König > Bug: https://bugs.freedesktop.org/show_bug.cgi?id=104736 > --- > drivers/gpu/drm/Makefile | 2

  1   2   >