linux-next: build warning after merge of the drm-misc tree

2018-07-11 Thread Stephen Rothwell
Hi all, After merging the drm-misc tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/gpu/drm/sun4i/sun8i_tcon_top.c: In function 'sun8i_tcon_top_register_gate': drivers/gpu/drm/sun4i/sun8i_tcon_top.c:102:10: warning: return makes pointer from integer without

[PATCH V3 0/4] Add infrastructure for vblank and page flip events in vkms

2018-07-11 Thread Rodrigo Siqueira
Currently, we are working to make VKMS pass in the kms_flip test (IGT). As a result, we made a series of changes in the module with the goal to meet some of the necessary steps required by kms_flip. This patchset comprises all the modifications needed to make kms_flip partially pass. Note that the

[PATCH V3 1/4] drm/vkms: Add dumb operations

2018-07-11 Thread Rodrigo Siqueira
VKMS currently does not handle dumb data, and as a consequence, it does not provide mechanisms for handling gem. This commit adds the necessary support for gem object/handler and the dumb functions. Changes since V1: Daniel Vetter: - Add dumb buffer support to the same patchset Changes since V2:

[PATCH V3 3/4] drm/vkms: Add connectors helpers

2018-07-11 Thread Rodrigo Siqueira
This patch adds the struct drm_connector_helper_funcs with some necessary hooks. Additionally, it also adds some missing hooks at drm_connector_funcs. Changes since V1: - None Change since V2: Daniel Vetter: - Remove vkms_conn_mode_valid Signed-off-by: Rodrigo Siqueira --- drivers/gpu/drm/vkm

[PATCH V3 4/4] drm/vkms: Add vblank events simulated by hrtimers

2018-07-11 Thread Rodrigo Siqueira
This commit adds regular vblank events simulated through hrtimers, which is a feature required by VKMS to mimic real hardware. Additionally, all the vblank event send after pageflip is kept in the atomic_flush function. Changes since V1: - Compute the vblank timer interval per interruption Ville

[PATCH V3 2/4] drm/vkms: Add framebuffer and plane helpers

2018-07-11 Thread Rodrigo Siqueira
This patch appends the minimum helpers related to framebuffer and plane to make vkms minimally usable. Changes since V1: - None Changes since V2: - Squash "Add plane helper struct" and "Add helper for framebuffer create" Signed-off-by: Rodrigo Siqueira --- drivers/gpu/drm/vkms/vkms_drv.c |

RE: [PATCH v5 09/40] drm/i915: Schedule hdcp_check_link in _intel_hdcp_enable

2018-07-11 Thread C, Ramalingam
> -Original Message- > From: Sean Paul [mailto:seanp...@chromium.org] > Sent: Thursday, July 12, 2018 2:36 AM > To: C, Ramalingam > Cc: Sean Paul ; intel-...@lists.freedesktop.org; dri- > de...@lists.freedesktop.org; dan...@ffwll.ch; Winkler, Tomas > ; Usyskin, Alexander > ; Shankar, Uma

RE: [Intel-gfx] [PATCH v5 01/40] drm: hdcp2.2 authentication msg definitions

2018-07-11 Thread C, Ramalingam
> -Original Message- > From: Sean Paul [mailto:seanp...@chromium.org] > Sent: Thursday, July 12, 2018 12:38 AM > To: C, Ramalingam > Cc: Sean Paul ; intel-...@lists.freedesktop.org; dri- > de...@lists.freedesktop.org; dan...@ffwll.ch; Winkler, Tomas > ; Usyskin, Alexander > ; Shankar, Uma

RE: [PATCH v5 20/40] drm/i915: Check HDCP 1.4 and 2.2 link on CP_IRQ

2018-07-11 Thread C, Ramalingam
> -Original Message- > From: Sean Paul [mailto:seanp...@chromium.org] > Sent: Tuesday, July 10, 2018 2:21 AM > To: C, Ramalingam > Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; > dan...@ffwll.ch; Winkler, Tomas ; Usyskin, > Alexander ; Shankar, Uma > ; ch...@chris-

[pull] amdgpu drm-fixes-4.18

2018-07-11 Thread Alex Deucher
Hi Dave, A few display and GPUVM fixes for 4.18. The following changes since commit dc81aab1be9fac2e11f31fe7538a50705eba08cf: MAINTAINERS: update drm tree (2018-07-10 10:59:58 +1000) are available in the git repository at: git://people.freedesktop.org/~agd5f/linux drm-fixes-4.18 for you t

[Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930

2018-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105760 --- Comment #29 from Thomas Martitz --- Unfortunately, the last patch doesn't help either. This time I removed all my printk's and applied your patch on top of ~agd5f/linux/drm-next-4.19 [ 32.537266] BUG: unable to handle kernel paging reque

[Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930

2018-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105760 --- Comment #30 from Alex Deucher --- Is it the first call to smu7_populate_single_firmware_entry() which fails or one of the later ones? -- You are receiving this mail because: You are the assignee for the bug.

[Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930

2018-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105760 --- Comment #31 from Thomas Martitz --- I can't say for sure for your latest patch because I removed the printks, but it has been the first one before (but only after resume, the ones at boot are OK). Should I check again for your latest patch?

[Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930

2018-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105760 Alex Deucher changed: What|Removed |Added Attachment #140577|0 |1 is obsolete|

[Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930

2018-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105760 --- Comment #33 from Alex Deucher --- (In reply to Thomas Martitz from comment #21) > > I assume this is some mapped memory and some HW component in the GPU writes > to it while the CPU is using it, isn't it? If so, the proper fix would be to >

[PATCH 0/3] drm/scheduler: preparation for load balancing

2018-07-11 Thread Nayan Deshmukh
This patch series is prepration for implementing better load balancing in the GPU scheduler. Patch #3 is the major change which modifies the drm_sched_entity_init, the driver is now expected to provide a list of potential run queue on which the jobs from this entity can be scheduled. In future pa

[PATCH 1/3] drm/scheduler: add a pointer to scheduler in the rq

2018-07-11 Thread Nayan Deshmukh
Signed-off-by: Nayan Deshmukh --- drivers/gpu/drm/scheduler/gpu_scheduler.c | 6 -- include/drm/gpu_scheduler.h | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/scheduler/gpu_scheduler.c b/drivers/gpu/drm/scheduler/gpu_scheduler.c index 7d2

[PATCH 2/3] drm/scheduler: add counter for total jobs in scheduler

2018-07-11 Thread Nayan Deshmukh
Signed-off-by: Nayan Deshmukh --- drivers/gpu/drm/scheduler/gpu_scheduler.c | 3 +++ include/drm/gpu_scheduler.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/drivers/gpu/drm/scheduler/gpu_scheduler.c b/drivers/gpu/drm/scheduler/gpu_scheduler.c index 429b1328653a..3dc1a4f0

[PATCH 3/3] drm/scheduler: modify args of drm_sched_entity_init

2018-07-11 Thread Nayan Deshmukh
replace run queue by a list of run queues and remove the sched arg as that is part of run queue itself Signed-off-by: Nayan Deshmukh --- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 4 ++--

Re: [PATCH] kernel.h: Add for_each_if()

2018-07-11 Thread Daniel Vetter
On Thu, Jul 12, 2018 at 1:05 AM, Andrew Morton wrote: > On Wed, 11 Jul 2018 13:51:08 +0200 Daniel Vetter wrote: >> But I still have the situation that a bunch of maintainers acked this >> and Andrew Morton defacto nacked it, which I guess means I'll keep the >> macro in drm? The common way to go

Re: [PATCH 02/12] blk: use for_each_if

2018-07-11 Thread Daniel Vetter
On Wed, Jul 11, 2018 at 03:13:00PM -0600, Jens Axboe wrote: > On 7/11/18 3:08 PM, Daniel Vetter wrote: > > On Wed, Jul 11, 2018 at 10:06 PM, Tejun Heo wrote: > >> On Wed, Jul 11, 2018 at 01:31:51PM -0600, Jens Axboe wrote: > >>> I don't think there's a git easy way of sending it out outside of > >

Re: [PATCH 3/3] drm/scheduler: modify args of drm_sched_entity_init

2018-07-11 Thread Nayan Deshmukh
On Thu, Jul 12, 2018 at 12:07 PM Nayan Deshmukh wrote: > > replace run queue by a list of run queues and remove the > sched arg as that is part of run queue itself > > Signed-off-by: Nayan Deshmukh > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 4 ++-- > drivers/gpu/drm/amd/amdgpu/amdgpu_t

Re: [PATCH 02/12] blk: use for_each_if

2018-07-11 Thread Joe Perches
On Wed, 2018-07-11 at 20:50 +0200, Daniel Vetter wrote: > On Wed, Jul 11, 2018 at 8:30 PM, Jens Axboe wrote: > > On 7/11/18 10:45 AM, Tejun Heo wrote: > > > On Wed, Jul 11, 2018 at 09:40:58AM -0700, Tejun Heo wrote: > > > > On Mon, Jul 09, 2018 at 10:36:40AM +0200, Daniel Vetter wrote: > > > > > M

Re: [PATCH V3 2/4] drm/vkms: Add framebuffer and plane helpers

2018-07-11 Thread Daniel Vetter
On Wed, Jul 11, 2018 at 11:02:01PM -0300, Rodrigo Siqueira wrote: > This patch appends the minimum helpers related to framebuffer and plane > to make vkms minimally usable. > > Changes since V1: > - None > Changes since V2: > - Squash "Add plane helper struct" and "Add helper for framebuffer > c

<    1   2   3