[Bug 106258] AMD Xorg start failes with non-4K page sizes

2018-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106258 --- Comment #29 from fox...@ruin.net --- (In reply to Ben Crocker from comment #28) Hi Ben, Please see the dmesg output at https://pastebin.com/i7sZhUKr I reproduced the graphics "crash" at around 950. However, one thing I did find out is I

Re: [Freedreno] [DPU PATCH] drm/msm/dsi: add only dsi nodes with a valid device to list

2018-06-18 Thread abhinavk
Hi Jordan Thanks for the review. Comments inline. Abhinav On 2018-06-18 07:23, Jordan Crouse wrote: On Fri, Jun 15, 2018 at 11:05:57PM -0700, Abhinav Kumar wrote: Before adding a DSI node to the private list check if the node has a valid device connected to it through an endpoint. This is

[Bug 106957] GPU runtime suspend broken since 4.17

2018-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106957 --- Comment #1 from Lukas Wunner --- Hm, what does the following show? cat /sys/bus/pci/devices/:02:00.0/power/control # GPU cat /sys/bus/pci/devices/:02:00.0/power/runtime_status# GPU cat

[Bug 106957] GPU runtime suspend broken since 4.17

2018-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106957 Bug ID: 106957 Summary: GPU runtime suspend broken since 4.17 Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

Re: [PULL] drm-intel-next

2018-06-18 Thread Rodrigo Vivi
On Mon, Jun 18, 2018 at 09:12:55AM +0200, Daniel Vetter wrote: > On Tue, Jun 12, 2018 at 9:59 AM, Jani Nikula > wrote: > > On Tue, 12 Jun 2018, Dave Airlie wrote: > >> On 12 June 2018 at 02:27, Rodrigo Vivi wrote: > >>> Hi Dave, > >>> > >>> This is the first round targeting 4.19. > >>> > >>

[Bug 197327] radeon 0000:01:00.0: failed VCE resume (-110).

2018-06-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=197327 Vinzenz Vietzke (v...@vinzv.de) changed: What|Removed |Added CC||v...@vinzv.de ---

Re: [linux-sunxi] [PATCH v2 00/27] Add support for R40 HDMI pipeline

2018-06-18 Thread Jernej Škrabec
Dne ponedeljek, 18. junij 2018 ob 14:58:02 CEST je Jagan Teki napisal(a): > On Thu, Jun 14, 2018 at 10:59 PM, Jernej Škrabec > > wrote: > > Dne četrtek, 14. junij 2018 ob 19:16:46 CEST je Jagan Teki napisal(a): > >> On Thu, Jun 14, 2018 at 8:04 PM, Jernej Škrabec > > > > wrote: > >> > Dne

Re: [PATCH v2] drm: Replace NULL with error value in drm_prime_pages_to_sg

2018-06-18 Thread Oleksandr Andrushchenko
On 06/18/2018 03:29 PM, Dan Carpenter wrote: On Mon, Jun 18, 2018 at 09:07:09AM +0300, Oleksandr Andrushchenko wrote: drivers/gpu/drm/drm_gem_cma_helper.c| 2 +- drivers/gpu/drm/xen/xen_drm_front_gem.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [linux-sunxi] [PATCH v2 00/27] Add support for R40 HDMI pipeline

2018-06-18 Thread Jagan Teki
On Thu, Jun 14, 2018 at 10:59 PM, Jernej Škrabec wrote: > Dne četrtek, 14. junij 2018 ob 19:16:46 CEST je Jagan Teki napisal(a): >> On Thu, Jun 14, 2018 at 8:04 PM, Jernej Škrabec > wrote: >> > Dne četrtek, 14. junij 2018 ob 09:12:41 CEST je Jagan Teki napisal(a): >> >> On Wed, Jun 13, 2018 at

Re: [Intel-gfx] [PATCH 12/14] drm/i915: Clean up encoder->crtc_mask setup

2018-06-18 Thread Jani Nikula
On Fri, 15 Jun 2018, Ville Syrjala wrote: > From: Ville Syrjälä > > Use BIT(pipe) for better legibility when populating the crtc_mask > for encoders. > > Also remove the redundant possible_crtcs setup for the TV encoder. > > Signed-off-by: Ville Syrjälä Reviewed-by: Jani Nikula > --- >

[Bug 106258] AMD Xorg start failes with non-4K page sizes

2018-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106258 --- Comment #28 from Ben Crocker --- Created attachment 140208 --> https://bugs.freedesktop.org/attachment.cgi?id=140208=edit Patches for additional debug info foxbat, could you please apply the three attached patches and provide dmesg

[PATCH] drm/mali-dp: Improve writeback handling for DP500.

2018-06-18 Thread Liviu Dudau
Mali DP500 operates in continuous writeback mode (writes frame content until stopped) and it needs special handling in order to behave like a one-shot writeback engine. The original state machine added for DP500 was a bit fragile, as it did not handle correctly cases where a new atomic commit was

Re: [PATCH] drm/i915/gvt: Use ARRAY_SIZE macro

2018-06-18 Thread Joe Perches
On Mon, 2018-06-18 at 13:18 +0530, rajan.v...@gmail.com wrote: > Use ARRAY_SIZE instead of dividing sizeof array with sizeof > an element. This fixes below warning reported by Coccinelle: > drivers/gpu/drm//i915/gvt/vgpu.c:122:30-31: WARNING: Use ARRAY_SIZE [] > diff --git

Re: [PATCH 1/2] amdgpu: display: use modern ktime accessors

2018-06-18 Thread Harry Wentland
On 2018-06-18 11:35 AM, Arnd Bergmann wrote: > getrawmonotonic64() is deprecated because of the nonstandard naming. > > The replacement functions ktime_get_raw_ns() also simplifies the callers. > > Signed-off-by: Arnd Bergmann Reviewed-by: Harry Wentland Harry > --- >

Re: [PATCH v1 6/7] drm: sti: make encoders use atomic_print_state instead of debugfs

2018-06-18 Thread Philippe CORNU
Hi Benjamin, On 06/05/2018 03:54 PM, Benjamin Gaignard wrote: > Convert all sti encoders to atomic_print usage rather than use a > debugfs entry. > > Signed-off-by: Benjamin Gaignard > --- > drivers/gpu/drm/sti/sti_tvout.c | 162 > > 1 file

Re: [PATCH v1 7/7] drm: sti: remove the last call to debugfs

2018-06-18 Thread Philippe CORNU
Hi Benjamin, On 06/05/2018 03:54 PM, Benjamin Gaignard wrote: > Thanks to all the hooks in drm structure, custom debugfs could be > removed of sti driver. > > Signed-off-by: Benjamin Gaignard > --- > drivers/gpu/drm/sti/sti_drv.c | 50 > --- > 1 file

Re: [PATCH v1 5/7] drm: sti: make crtc use atomic_print_state instead of debugfs

2018-06-18 Thread Philippe CORNU
Hi Benjamin, On 06/05/2018 03:54 PM, Benjamin Gaignard wrote: > Convert sti crtc to atomic_print_state usage rather than use a > debugfs entry. > > Signed-off-by: Benjamin Gaignard > --- > drivers/gpu/drm/sti/sti_compositor.c | 16 --- > drivers/gpu/drm/sti/sti_compositor.h | 3 -- >

Re: [PATCH v1 4/7] drm: sti: make connectors use atomic_print_state instead of debugfs

2018-06-18 Thread Philippe CORNU
Hi Benjamin, Reviewed-by: Philippe Cornu Many thanks Philippe On 06/05/2018 03:54 PM, Benjamin Gaignard wrote: > Convert all sti connectors to atomic_print_state usage rather than > use a debugfs entry. > > Signed-off-by: Benjamin Gaignard > --- > drivers/gpu/drm/sti/sti_dvo.c | 60

Re: [Intel-gfx] [PATCH] i915: remove timespec_to_jiffies_timeout

2018-06-18 Thread Daniel Vetter
On Mon, Jun 18, 2018 at 05:38:43PM +0200, Arnd Bergmann wrote: > This function has been unused since commit 5ed0bdf21a85 ("drm: i915: > Use nsec based interfaces"). Let's remove the definition as well now > to help get rid of all uses of 'timespec'. > > Signed-off-by: Arnd Bergmann Applied,

Re: [PATCH v1 3/7] drm: sti: make planes use atomic_print_state instead of debugfs

2018-06-18 Thread Philippe CORNU
Hi Benjamin, Nice to see all these lines removed :-) Reviewed-by: Philippe Cornu Many thanks Philippe :-) On 06/05/2018 03:54 PM, Benjamin Gaignard wrote: > Convert all sti planes to atomic_print_state usage rather than use a debugfs > entry. > > Signed-off-by: Benjamin Gaignard > --- >

Re: [Intel-gfx] [PATCH 3/3] drm/i915: Print prop name/id when rejecting it

2018-06-18 Thread Daniel Vetter
On Mon, Jun 18, 2018 at 03:03:39PM +0300, Ville Syrjälä wrote: > On Mon, Jun 18, 2018 at 10:53:13AM +0200, Daniel Vetter wrote: > > On Mon, Jun 11, 2018 at 10:34:03PM +0300, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > Use the '[PROP:id:name]' format I introduced for the core in

Re: [PATCH 2/2] i2c: algos: bit: mention our experience about initial states

2018-06-18 Thread Alex Deucher
On Sat, Jun 16, 2018 at 9:37 AM, Wolfram Sang wrote: > So, if somebody wants to re-implement this in the future, we pinpoint to > a problem case. > > Signed-off-by: Wolfram Sang Series is: Acked-by: Alex Deucher > --- > drivers/i2c/algos/i2c-algo-bit.c | 5 + > 1 file changed, 5

Re: [PATCH] gpu: drm: vgem: Change return type to vm_fault_t

2018-06-18 Thread Daniel Vetter
On Mon, Jun 18, 2018 at 1:26 PM, Souptick Joarder wrote: > On Thu, May 24, 2018 at 6:27 PM, Daniel Vetter wrote: >> On Wed, May 23, 2018 at 03:05:35PM +0530, Souptick Joarder wrote: >>> On Mon, May 14, 2018 at 9:56 PM, Daniel Vetter wrote: >>> > On Thu, May 10, 2018 at 02:51:38PM -0400, Sean

Re: [PATCH v1 2/7] drm: add hook to print encoder status

2018-06-18 Thread Philippe CORNU
Hi Benjamin, On 06/05/2018 03:54 PM, Benjamin Gaignard wrote: > Even if encoders don't have state it could be useful to get information > from them when dumping of the other elements state. > Add an optional hook in drm_encoder_funcs structure and call it after crtc > print state. > >

[PATCH] drm/msm: avoid using 'timespec'

2018-06-18 Thread Arnd Bergmann
The timespec structure and associated interfaces are deprecated and will be removed in the future because of the y2038 overflow. The use of ktime_to_timespec() in timeout_to_jiffies() does not suffer from that overflow, but is easy to avoid by just converting the ktime_t into jiffies directly.

[PATCH] i915: remove timespec_to_jiffies_timeout

2018-06-18 Thread Arnd Bergmann
This function has been unused since commit 5ed0bdf21a85 ("drm: i915: Use nsec based interfaces"). Let's remove the definition as well now to help get rid of all uses of 'timespec'. Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/i915/i915_drv.h | 8 1 file changed, 8 deletions(-)

[PATCH 1/2] amdgpu: display: use modern ktime accessors

2018-06-18 Thread Arnd Bergmann
getrawmonotonic64() is deprecated because of the nonstandard naming. The replacement functions ktime_get_raw_ns() also simplifies the callers. Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c | 8 drivers/gpu/drm/amd/display/dc/dm_services.h

[PATCH 2/2] amdgpu: kfd: use modern ktime accessors

2018-06-18 Thread Arnd Bergmann
getrawmonotonic64() and get_monotonic_boottime64() are deprecated because of the nonstandard naming. The replacement functions ktime_get_raw_ns() and ktime_get_boot_ns() also simplify the callers. Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 8 ++-- 1 file

[Bug 106940] Black screen on KMS with 4.18.0-rc1 with Kaveri+Topaz, amdgpu, dc=1

2018-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106940 --- Comment #12 from Felix Schwarz --- use "gi(In reply to SET from comment #11) > I could bisect incompletely, until this error happens: > > ../lib/str_error_r.c:25:3: error: passing argument 1 to restrict-qualified > parameter aliases with

[PATCH] tests/nouveau/threaded: adapt ioctl signature

2018-06-18 Thread Ross Burton
POSIX says ioctl() has the signature (int, int, ...) but glibc has decided to use (int, unsigned long int, ...) instead. Use a #ifdef to adapt the replacement function as appropriate. --- tests/nouveau/threaded.c | 4 1 file changed, 4 insertions(+) diff --git a/tests/nouveau/threaded.c

[PATCH v2 2/2] efifb: Copy the ACPI BGRT boot graphics to the framebuffer

2018-06-18 Thread Hans de Goede
On systems where fbcon is configured for deferred console takeover, the intend is for the framebuffer to show the boot graphics (e.g a vendor logo) until some message (e.g. an error) is printed or a graphical session takes over. Some firmware relies on the OS to show the boot graphics. This

[PATCH v2 1/2] efi/bgrt: Drop __initdata from bgrt_image_size

2018-06-18 Thread Hans de Goede
bgrt_image_size is necessary to (optionally) show the boot graphics from the efifb code. The efifb driver is a platform driver, using a normal driver probe() driver callback. So even though it is always builtin it cannot reference __initdata. Acked-by: Ard Biesheuvel Signed-off-by: Hans de Goede

Re: [PATCH 6/7] drm: Replace drm_dev_unref with drm_dev_put

2018-06-18 Thread Philippe CORNU
On 06/09/2018 03:18 PM, Thomas Zimmermann wrote: > This patch unifies the naming of DRM functions for reference counting > of struct drm_device. The resulting code is more aligned with the rest > of the Linux kernel interfaces. > > The patch also deletes the old function and removes it from the

Re: [PATCH] drm/amdgpu: use first uvd instance to avoid clang build error

2018-06-18 Thread Alex Deucher
On Sun, Jun 17, 2018 at 10:03 PM, James Zhu wrote: > > > On 2018-06-17 04:52 AM, Stefan Agner wrote: >> >> Explicitly use the first uvd instance to avoid a build error when >> using clang 6: >> drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1148:52: error: expected ')' >>

Re: [PATCH v2 1/3] video: fbdev: Fix checkpatch warnings in goldfishfb.c

2018-06-18 Thread Bartlomiej Zolnierkiewicz
On Friday, June 15, 2018 04:47:03 PM Roman Kiryanov wrote: > Hi, > > could you please confirm you received our patches? Thank you. Hi, Yes, they are in my inbox waiting for their turn (I'll start queuing patches for v4.19 later this week). Best regards, -- Bartlomiej Zolnierkiewicz Samsung R

[PATCH v2 11/12] drm/tinydrm: Use drm_fbdev_generic_setup()

2018-06-18 Thread Noralf Trønnes
Make full use of the generic fbdev client. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/tinydrm/core/tinydrm-core.c | 3 +-- drivers/gpu/drm/tinydrm/ili9225.c | 1 - drivers/gpu/drm/tinydrm/mi0283qt.c | 1 - drivers/gpu/drm/tinydrm/st7586.c| 1 -

[PATCH v2 12/12] drm/cma-helper: Remove drm_fb_cma_fbdev_init_with_funcs()

2018-06-18 Thread Noralf Trønnes
Remove drm_fb_cma_fbdev_init_with_funcs(), its only user tinydrm has moved to drm_fbdev_generic_setup(). Cc: Laurent Pinchart Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_fb_cma_helper.c | 21 - include/drm/drm_fb_cma_helper.h | 3 --- 2 files changed, 24

Re: [PATCH 2/3] drm/msm: Replace drm_gem_object_{un/reference} with put, get functions

2018-06-18 Thread Jordan Crouse
On Mon, Jun 18, 2018 at 03:02:19PM +0200, Thomas Zimmermann wrote: > This patch unifies the naming of DRM functions for reference counting > of struct drm_gem_object. The resulting code is more aligned with the > rest of the Linux kernel interfaces. Thanks for doing this. > Signed-off-by: Thomas

[Bug 106940] Black screen on KMS with 4.18.0-rc1 with Kaveri+Topaz, amdgpu, dc=1

2018-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106940 --- Comment #11 from SET --- I could bisect incompletely, until this error happens: ../lib/str_error_r.c:25:3: error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict] So far : bad :

Re: [Freedreno] [DPU PATCH] drm/msm/dsi: add only dsi nodes with a valid device to list

2018-06-18 Thread Jordan Crouse
On Fri, Jun 15, 2018 at 11:05:57PM -0700, Abhinav Kumar wrote: > Before adding a DSI node to the private list check if the > node has a valid device connected to it through an endpoint. > > This is required in cases where the chipset supports multiple > DSI hosts but only one of them is being

[PATCH v2 10/12] drm/fb-helper: Finish the generic fbdev emulation

2018-06-18 Thread Noralf Trønnes
This adds a drm_fbdev_generic_setup() function that sets up generic fbdev emulation with client callbacks for lastclose, hotplug and remove/unregister. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_fb_helper.c | 123 +++- include/drm/drm_fb_helper.h

[PATCH v2 04/12] drm: Begin an API for in-kernel clients

2018-06-18 Thread Noralf Trønnes
This the beginning of an API for in-kernel clients. First out is a way to get a framebuffer backed by a dumb buffer. Only GEM drivers are supported. The original idea of using an exported dma-buf was dropped because it also creates an anonomous file descriptor which doesn't work when the buffer

[PATCH v2 08/12] drm/client: Add client callbacks

2018-06-18 Thread Noralf Trønnes
Add client callbacks and hook them up. Add a list of clients per drm_device. Signed-off-by: Noralf Trønnes --- Changes since version 1: - Remove unused functions - Change name drm_client_funcs.lastclose -> .restore - Change name drm_client_funcs.remove -> .unregister - Rework unregister code

[PATCH v2 07/12] drm/cma-helper: Use the generic fbdev emulation

2018-06-18 Thread Noralf Trønnes
This switches the CMA helper drivers that use its fbdev emulation over to the generic fbdev emulation. It's the first phase of using generic fbdev. A later phase will use DRM client callbacks for the lastclose/hotplug/remove callbacks. There are currently 2 fbdev init/fini functions: -

[PATCH v2 06/12] drm/pl111: Set .gem_prime_vmap and .gem_prime_mmap

2018-06-18 Thread Noralf Trønnes
These are needed for pl111 to use the generic fbdev emulation. Cc: Eric Anholt Signed-off-by: Noralf Trønnes Reviewed-by: Eric Anholt --- drivers/gpu/drm/pl111/pl111_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/pl111/pl111_drv.c

[PATCH v2 03/12] drm: Make ioctls available for in-kernel clients

2018-06-18 Thread Noralf Trønnes
Make ioctl wrappers for functions that will be used by the in-kernel API. The following functions are touched: - drm_mode_create_dumb_ioctl() - drm_mode_destroy_dumb_ioctl() - drm_mode_addfb() - drm_mode_rmfb() Signed-off-by: Noralf Trønnes Reviewed-by: Daniel Vetter ---

[PATCH v2 05/12] drm/fb-helper: Add generic fbdev emulation .fb_probe function

2018-06-18 Thread Noralf Trønnes
This is the first step in getting generic fbdev emulation. A drm_fb_helper_funcs.fb_probe function is added which uses the DRM client API to get a framebuffer backed by a dumb buffer. A transitional hack for tinydrm is needed in order to switch over all CMA helper drivers in a later patch. This

[PATCH v2 09/12] drm/debugfs: Add internal client debugfs file

2018-06-18 Thread Noralf Trønnes
Print the names of the internal clients currently attached. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_client.c | 28 drivers/gpu/drm/drm_debugfs.c | 7 +++ include/drm/drm_client.h | 2 ++ 3 files changed, 37 insertions(+) diff --git

[PATCH v2 02/12] drm/file: Don't set master on in-kernel clients

2018-06-18 Thread Noralf Trønnes
It only makes sense for userspace clients. Signed-off-by: Noralf Trønnes Reviewed-by: Daniel Vetter --- drivers/gpu/drm/drm_file.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/drm_file.c b/drivers/gpu/drm/drm_file.c index

[PATCH v2 00/12] drm: Add generic fbdev emulation

2018-06-18 Thread Noralf Trønnes
This patchset adds generic fbdev emulation for drivers that supports GEM based dumb buffers which support .gem_prime_vmap and gem_prime_mmap. An API is begun to support in-kernel clients in general. Notable changes since version 1: - Rework client unregister code. I've used reference counting to

[PATCH v2 01/12] drm: provide management functions for drm_file

2018-06-18 Thread Noralf Trønnes
From: David Herrmann Rather than doing drm_file allocation/destruction right in the fops, lets provide separate helpers. This decouples drm_file management from the still-mandatory drm-fops. It prepares for use of drm_file without the fops, both by possible separate fops implementations and APIs

[Bug 106949] Mandatory amdgpu DC on Polaris

2018-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106949 Dmitry changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[DPU PATCH v2 14/14] drm/msm/dpu: use private obj to track hw resources

2018-06-18 Thread Sravanthi Kollukuduru
From: Jeykumar Sankaran Switch to state based resource management. This patch overhauls the resource manager and HW allocation methods by maintaining the global resource pool and allocated hw blocks in respective drm component states. Global resource manager(RM) is tracked in private object.

[DPU PATCH v2 12/14] drm/msm/dpu: remove display H_TILE from encoder

2018-06-18 Thread Sravanthi Kollukuduru
From: Jeykumar Sankaran Encoder H_TILE values are not used for allocating the hw blocks. no. of hw_intf blocks provides the info. changes in v2: - none Signed-off-by: Jeykumar Sankaran Signed-off-by: Sravanthi Kollukuduru --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 5 -

[DPU PATCH v2 13/14] drm/msm/dpu: add atomic private object to dpu kms

2018-06-18 Thread Sravanthi Kollukuduru
From: Jeykumar Sankaran Subclass drm private state for DPU for handling driver specific data. Adds atomic private object and private object lock to dpu kms. Provides helper function to retrieve DPU private data from current atomic state. changes in v2: - fix return value while retrieving

[DPU PATCH v2 11/14] drm/msm/dpu: remove topology name

2018-06-18 Thread Sravanthi Kollukuduru
From: Jeykumar Sankaran Strip down the support for topology enums. It can be replaced with simple hw count checks. changes in v2: - none Signed-off-by: Jeykumar Sankaran Signed-off-by: Sravanthi Kollukuduru --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 3 ---

[DPU PATCH v2 10/14] drm/msm/dpu: rename hw_ctl to lm_ctl

2018-06-18 Thread Sravanthi Kollukuduru
From: Jeykumar Sankaran Prep change for state based resource management. Rename hw_ctl to lm_ctl to mean the ctl associated with the hw layer mixer block. changes in v2: - none Signed-off-by: Jeykumar Sankaran Signed-off-by: Sravanthi Kollukuduru ---

[DPU PATCH v2 05/14] drm/msm/dpu: use kms stored hw mdp block

2018-06-18 Thread Sravanthi Kollukuduru
From: Jeykumar Sankaran Avoid querying RM for hw mdp block. Use the one stored in KMS during initialization. changes in v2: - none Signed-off-by: Jeykumar Sankaran Signed-off-by: Sravanthi Kollukuduru --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 12 +---

[DPU PATCH v2 06/14] drm/msm/dpu: remove stale encoder code

2018-06-18 Thread Sravanthi Kollukuduru
From: Jeykumar Sankaran Remove helper function used only by writeback connectors to trigger final flush before disabling. Now that write back connectors are stripped down, the helper is not used. changes in v2: - none Signed-off-by: Jeykumar Sankaran Signed-off-by: Sravanthi Kollukuduru

[DPU PATCH v2 09/14] drm/msm/dpu: move hw resource tracking to crtc state

2018-06-18 Thread Sravanthi Kollukuduru
From: Jeykumar Sankaran Prep changes for state based resource management. Moves all the hw block tracking for the crtc to the state object. changes in v2: - none Signed-off-by: Jeykumar Sankaran Signed-off-by: Sravanthi Kollukuduru --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 76

[DPU PATCH v2 07/14] drm/msm/dpu: iterate for assigned hw ctl in virtual encoder

2018-06-18 Thread Sravanthi Kollukuduru
From: Jeykumar Sankaran Instead of iterating for hw ctrl per physical encoder, this patch moves the iterations and assignment to the virtual encoder. changes in v2: - none Signed-off-by: Jeykumar Sankaran Signed-off-by: Sravanthi Kollukuduru ---

[DPU PATCH v2 08/14] drm/msm/dpu: avoid querying for hw intf before assignment

2018-06-18 Thread Sravanthi Kollukuduru
From: Jeykumar Sankaran hw intf blocks are needed only during encoder enable to program timing engines(for video panels). encoder->enable is triggered only after atomic_modeset at which point we assign the resources for the display pipeline. This patch defers the hw_intf look-up until encoder

[DPU PATCH v2 04/14] drm/msm/dpu: program master-slave encoders explicitly

2018-06-18 Thread Sravanthi Kollukuduru
From: Jeykumar Sankaran Identify slave-master encoders and program them explicitly. changes in v2: - none Signed-off-by: Jeykumar Sankaran Signed-off-by: Sravanthi Kollukuduru --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 41 - 1 file changed, 23

[DPU PATCH v2 03/14] drm/msm/dpu: remove ping pong split topology variables

2018-06-18 Thread Sravanthi Kollukuduru
From: Jeykumar Sankaran Remove left out variables of previous ping pong split topology cleanup. changes in v2: - none Signed-off-by: Jeykumar Sankaran Signed-off-by: Sravanthi Kollukuduru --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 2 -- 1 file changed, 2 deletions(-) diff --git

[DPU PATCH v2 02/14] drm/msm/dpu: remove resource pool manager

2018-06-18 Thread Sravanthi Kollukuduru
From: Jeykumar Sankaran resource pool manager utility was introduced to manage rotator sessions. Removing the support as the rotator feature doesn't exist. changes in v2: - none Signed-off-by: Jeykumar Sankaran Signed-off-by: Sravanthi Kollukuduru ---

[DPU PATCH v2 01/14] drm/msm/dpu: remove scalar config definitions

2018-06-18 Thread Sravanthi Kollukuduru
From: Jeykumar Sankaran cleans up left out scalar config definitions from headers changes in v2: - none Signed-off-by: Jeykumar Sankaran Signed-off-by: Sravanthi Kollukuduru --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h| 2 -- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.h | 10

[DPU PATCH v2 00/14] Atomic resource management

2018-06-18 Thread Sravanthi Kollukuduru
This patchset introduces drm private object in KMS to manage HW resource management. It modifies the resource manager by introducing API's to do per DRM object resource allocation/cleanups. The patchset is based on: https://patchwork.kernel.org/patch/10461375/ major changes in v2: - Fix

[RFC PATCHv2 5/9] drm/tidss: Add dispc7 for DSS7 support

2018-06-18 Thread Tomi Valkeinen
From: Jyri Sarha This patch adds support for DSS7 to tidss driver. The DSS7 is a new DSS version found Texas Instruments Keystone AM65x SoC. DSS7 has many similarities to DSS6, but it is different enough to warrant a separate backend driver to keep the code simpler. The DSS7 on AM65x SoC has

[RFC PATCHv2 9/9] ARM: dts: keystone-k2g-evm: add LCD and HDMI displays

2018-06-18 Thread Tomi Valkeinen
K2G EVM has an SiI902x HDMI encoder on the board, and a separately purchasable LCD which can be attached to the board. Only one of these displays can be used at a time, and two dip-switches need to be changed when switching to another display. The HDMI support is added to the base k2g-evm.dts

[RFC PATCHv2 7/9] drm/panel: simple: add newhaven, nhd-4.3-480272ef-atxl LCD

2018-06-18 Thread Tomi Valkeinen
Add support for newhaven,nhd-4.3-480272ef-atxl to panel-simple. Signed-off-by: Tomi Valkeinen Cc: Thierry Reding --- .../panel/newhaven,nhd-4.3-480272ef-atxl.txt | 7 + drivers/gpu/drm/panel/panel-simple.c | 29 +++ 2 files changed, 36 insertions(+) create mode

[RFC PATCHv2 8/9] ARM: dts: keystone-k2g: add DSS node

2018-06-18 Thread Tomi Valkeinen
Add DSS node to k2g.dtsi. Signed-off-by: Tomi Valkeinen Cc: devicet...@vger.kernel.org --- arch/arm/boot/dts/keystone-k2g.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi index

[RFC PATCHv2 0/9] drm/tidss: new display driver for TI's DSS6 & DSS7

2018-06-18 Thread Tomi Valkeinen
Hi, This is a new DRM driver for Texas Instruments' Keystone K2G and AM6 SoCs. K2G has DSS6 IP, which is related to the OMAP DSS IPs handled by the omapdrm driver. While on higher level the DSS6

[RFC PATCHv2 3/9] dt-bindings: display/ti: add am65x-dss bindings

2018-06-18 Thread Tomi Valkeinen
Add DT bindings for Texas Instruments AM65x SoC Display Subsystem. The DSS7 on AM65x SoC has two video ports (DPI and OLDI) and two video pipelines. Signed-off-by: Jyri Sarha Signed-off-by: Tomi Valkeinen Cc: devicet...@vger.kernel.org --- .../bindings/display/ti/ti,am6-dss.txt | 16

[RFC PATCHv2 4/9] drm/tidss: add new driver for TI Keystone platforms

2018-06-18 Thread Tomi Valkeinen
This patch adds a new DRM driver for Texas Instruments DSS6 IP used on Texas Instruments Keystone K2G SoC. The DSS6 IP is a major change to the older DSS IP versions, which are supported by the omapdrm driver, and while on higher level the DSS6 resembles the older DSS versions, the registers and

[RFC PATCHv2 2/9] dt-bindings: display/ti: add k2g-dss bindings

2018-06-18 Thread Tomi Valkeinen
Add DT bindings for Texas Instruments K2G SoC Display Subsystem. The DSS is quite simple, with a single plane and a single output. Signed-off-by: Tomi Valkeinen Cc: devicet...@vger.kernel.org Reviewed-by: Rob Herring --- .../devicetree/bindings/display/ti/ti,k2g-dss.txt | 15 +++ 1

[RFC PATCHv2 6/9] MAINTAINERS: add entry for tidss

2018-06-18 Thread Tomi Valkeinen
Add entry for tidss DRM driver. Signed-off-by: Tomi Valkeinen --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9c125f705f78..87671b77398e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4780,6 +4780,15 @@ S: Maintained F:

[RFC PATCHv2 1/9] drm: Add support for extracting sync signal drive edge from videomode

2018-06-18 Thread Tomi Valkeinen
From: Peter Ujfalusi The sync in some panels needs to be driven by different edge of the pixel clock compared to data. This is reflected by the DISPLAY_FLAGS_SYNC_(POS|NEG)EDGE in videmode flags. Add similar similar definitions for bus_flags and convert the sync drive edge via

[PATCH 2/2] drm/armada: Replace drm_dev_unref with drm_dev_put

2018-06-18 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_device. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/armada/armada_drv.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH 0/2] drm/armada: Replace {un/reference} with {put, get} functions

2018-06-18 Thread Thomas Zimmermann
This patch set replaces functions named {un,reference} by their {put,get} counterparts. Affected data types are struct drm_framebuffer and struct drm_device. With the reference-counting functions being named {put,get}, the DRM interface is more aligned to Linux kernel nameing standard. The patch

[PATCH 1/2] drm/armada: Replace drm_framebuffer_{un/reference} with put, get functions

2018-06-18 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_framebuffer. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/armada/armada_crtc.c| 8

Re: [PATCH v2] gpu: drm: ttm: Adding new return type vm_fault_t

2018-06-18 Thread Christian König
Am 08.06.2018 um 08:44 schrieb Christian König: Am 08.06.2018 um 06:36 schrieb Souptick Joarder: On Sat, Jun 2, 2018 at 12:57 AM, Souptick Joarder wrote: Use new return type vm_fault_t for fault handler. For now, this is just documenting that the function returns a VM_FAULT value rather than

[PATCH 2/3] drm/exynos: Replace drm_gem_object_unreference_unlocked with put function

2018-06-18 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_gem_object. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/exynos/exynos_drm_fb.c | 2 +-

[PATCH 3/3] drm/exynos: Replace drm_dev_unref with drm_dev_put

2018-06-18 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_device. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 1/3] drm/exynos: Replace drm_framebuffer_{un/reference} with put, get functions

2018-06-18 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_framebuffer. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/exynos/exynos_drm_plane.c | 2 +- 1 file changed, 1

[PATCH 0/3] drm/exynos: Replace {un/reference} with {put, get} functions

2018-06-18 Thread Thomas Zimmermann
This patch set replaces functions named {un,reference} by their {put,get} counterparts. Affected data types are struct drm_framebuffer, struct drm_gem_object, and struct drm_device. With the reference-counting functions being named {put,get}, the DRM interface is more aligned to Linux kernel

Re: [PATCH v4 0/2] drm/rockchip: try to fix vblank hang resulting from iommu irq change

2018-06-18 Thread Heiko Stuebner
Am Dienstag, 12. Juni 2018, 15:20:26 CEST schrieb Heiko Stuebner: > This still tries to address the hang seen by Ezequiel Garcia on rk3288. > > As Tomasz noted, trying to count enablement can run into concurrency > issues, so instead we'll just check if the vop is runtime-enabled > to see if it

Re: [PATCH] drm/arm/malidp:- Rectify the width and height passed to rotmem_required()

2018-06-18 Thread Liviu Dudau
On Fri, Jun 15, 2018 at 01:54:36PM +0100, Ayan Kumar Halder wrote: > The width and height needs to be swapped > > Signed-off-by: Ayan Kumar halder > Reviewed-by: Brian Starkey > Reviewed-by: Alexandru Gheorghe > --- > drivers/gpu/drm/arm/malidp_planes.c | 4 ++-- > 1 file changed, 2

[PATCH 2/3] drm/omapdrm: Replace drm_gem_object_unreference_unlocked with put function

2018-06-18 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_gem_object. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/omapdrm/omap_drv.c | 2 +- drivers/gpu/drm/omapdrm/omap_fb.c

[PATCH 1/3] drm/omapdrm: Replace drm_gem_object_{un/reference} with put, get functions

2018-06-18 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_gem_object. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH 0/3] drm/omapdrm: Replace {un/reference} with {put, get} functions

2018-06-18 Thread Thomas Zimmermann
This patch set replaces functions named {un,reference} by their {put,get} counterparts. Affected data types are struct drm_gem_object, and struct drm_device. With the reference-counting functions being named {put,get}, the DRM interface is more aligned to Linux kernel nameing standard. The patch

[PATCH 3/3] drm/omapdrm: Replace drm_dev_unref with drm_dev_put

2018-06-18 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_device. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/omapdrm/omap_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 3/3] drm/msm: Replace drm_dev_unref with drm_dev_put

2018-06-18 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_device. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/msm/msm_drv.c | 8 1 file changed, 4 insertions(+), 4

[PATCH 1/3] drm/msm: Replace drm_framebuffer_{un/reference} with put, get functions

2018-06-18 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_framebuffer. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c | 4 ++-- 1 file changed, 2

[PATCH 2/3] drm/msm: Replace drm_gem_object_{un/reference} with put, get functions

2018-06-18 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_gem_object. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/msm/adreno/a5xx_debugfs.c | 4 ++--

[PATCH 0/3] drm/msm: Replace {un/reference} with {put,get} functions

2018-06-18 Thread Thomas Zimmermann
This patch set replaces functions named {un,reference} by their {put,get} counterparts. Affected data types are struct struct drm_framebuffer, struct drm_gem_object, and struct drm_device. With the reference-counting functions being named {put,get}, the DRM interface is more aligned to Linux

[PATCH 3/4] drm/nouveau: Replace drm_gem_object_unreference_unlocked with put function

2018-06-18 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_gem_object. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/nouveau/dispnv04/crtc.c | 2 +-

[PATCH 4/4] drm/nouveau: Replace drm_dev_unref with drm_dev_put

2018-06-18 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_device. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/nouveau/nouveau_platform.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 1/4] drm/nouveau: Replace drm_connector_{un/reference} with put, get functions

2018-06-18 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_connector. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 0/4] drm/nouveau: Replace {un/reference} with {put, get} functions

2018-06-18 Thread Thomas Zimmermann
This patch set replaces functions named {un,reference} by their {put,get} counterparts. Affected data types are struct drm_connector, struct drm_framebuffer, struct drm_gem_object, and struct drm_device. With the reference-counting functions being named {put,get}, the DRM interface is more

[PATCH 2/4] drm/nouveau: Replace drm_framebuffer_{un/reference} with put, get functions

2018-06-18 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_framebuffer. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/nouveau/nouveau_fbcon.c | 2 +- 1 file changed, 1 insertion(+),

  1   2   3   >