[PATCH 3/4] drm: Extract page_flip_{internal,atomic}()

2018-07-13 Thread Ville Syrjala
From: Ville Syrjälä Yank out the code for the plane->fb/old_fb/crtc handling from the page flip path into page_flip_internal(), and provide a simpler variant for atomic drivers. We'll also move the fb vs. src viewport checks into the new functions as they are slightly different between the two p

[PATCH 4/4] drm: Simplify the setplane/pageflip old_fb handling further

2018-07-13 Thread Ville Syrjala
From: Ville Syrjälä Instead of doing the things in a convoluted way with the failure and success paths mixed up let's just clear old_fb when we encounter an error and bail out immediately. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_plane.c | 32 +--- 1 fil

[PATCH 2/4] drm: Allocate the page flip event earlier

2018-07-13 Thread Ville Syrjala
From: Ville Syrjälä Can't see why we need to delay the page flip event allocation until the last moment. Move it earlier to simplify error handling. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_plane.c | 45 +++-- 1 file changed, 23 insertions(+)

Re: [PATCH] drm: Fix kerneldoc for DRM_MODE_PROP_IMMUTABLE

2018-07-13 Thread Ville Syrjälä
On Fri, Jul 13, 2018 at 11:34:44AM -0400, Sean Paul wrote: > Noticed this while browsing the docs. > > Signed-off-by: Sean Paul > --- > include/drm/drm_property.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/drm/drm_property.h b/include/drm/drm_property.h

Re: [PATCH v2 3/3] drm: mali-dp: Set encoder possible_clones

2018-07-13 Thread Alexandru-Cosmin Gheorghe
On Fri, Jul 13, 2018 at 11:47:33AM -0400, Sean Paul wrote: > On Fri, Jul 13, 2018 at 11:40:13AM -0400, Sean Paul wrote: > > On Fri, Jul 13, 2018 at 04:11:00PM +0100, Alexandru Gheorghe wrote: > > > Set possible_clones field to report that the writeback connector and > > > the one driving the displa

Re: [PATCH] drm/ttm: use swap macro in ttm_bo_handle_move_mem

2018-07-13 Thread Sinclair Yeh
On Fri, Jul 13, 2018 at 08:41:37AM +0200, Christian König wrote: > Am 13.07.2018 um 04:37 schrieb Sinclair Yeh: > >On Mon, Jul 09, 2018 at 10:24:47AM -0500, Gustavo A. R. Silva wrote: > >>Make use of the swap macro and remove unnecessary variable *tmp_mem*. > >>This makes the code easier to read an

Re: [PATCH 05/15] drm: drop _mode_ from update_edit_property()

2018-07-13 Thread Daniel Vetter
On Fri, Jul 13, 2018 at 10:59:06AM -0400, Sean Paul wrote: > On Mon, Jul 09, 2018 at 10:40:06AM +0200, Daniel Vetter wrote: > > Just makes it longer, and for most things in drm_connector.[hc] we > > just use the drm_connector_ prefix. Done with sed + a bit of manual > > fixup for the indenting. > >

Re: [PATCH v2 3/3] drm: mali-dp: Set encoder possible_clones

2018-07-13 Thread Sean Paul
On Fri, Jul 13, 2018 at 04:55:41PM +0100, Alexandru-Cosmin Gheorghe wrote: > On Fri, Jul 13, 2018 at 11:47:33AM -0400, Sean Paul wrote: > > On Fri, Jul 13, 2018 at 11:40:13AM -0400, Sean Paul wrote: > > > On Fri, Jul 13, 2018 at 04:11:00PM +0100, Alexandru Gheorghe wrote: > > > > Set possible_clone

Re: [PATCH] drm: Fix kerneldoc for DRM_MODE_PROP_IMMUTABLE

2018-07-13 Thread Sean Paul
On Fri, Jul 13, 2018 at 06:51:36PM +0300, Ville Syrjälä wrote: > On Fri, Jul 13, 2018 at 11:34:44AM -0400, Sean Paul wrote: > > Noticed this while browsing the docs. > > > > Signed-off-by: Sean Paul > > --- > > include/drm/drm_property.h | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions

[PATCH 1/2] drm/nouveau: Use drm_connector_list_iter_* for iterating connectors

2018-07-13 Thread Lyude Paul
Every codepath in nouveau that loops through the connector list currently does so using the old method, which is prone to race conditions from MST connectors being created and destroyed. This has been causing a multitude of problems, including memory corruption from trying to access connectors that

[PATCH 0/2] drm/nouveau: Fix connector memory corruption issues

2018-07-13 Thread Lyude Paul
This fixes some nasty issues I found in nouveau that were being caused looping through connectors using racy legacy methods, along with some caused by making incorrect assumptions about the drm_connector structs in nouveau's connector list. Most of these memory corruption issues could be reproduced

[PATCH 2/2] drm/nouveau: Avoid looping through fake MST connectors

2018-07-13 Thread Lyude Paul
When MST and atomic were introduced to nouveau, another structure that could contain a drm_connector embedded within it was introduced; struct nv50_mstc. This meant that we no longer would be able to simply loop through our connector list and assume that nouveau_connector() would return a proper po

[Bug 107204] GPU hang (ring gfx timeout) with out of bounds UBO read in shader

2018-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107204 Miłosz Rachwał changed: What|Removed |Added Summary|GPU hang (ring gfx timeout) |GPU hang (ring gfx timeout)

[Bug 107204] GPU hang (ring gfx timeout) with out of bounds UBO read in shader

2018-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107204 --- Comment #1 from Miłosz Rachwał --- It turned out that the cause was uninitialized UBO, which depending on memory contents leaded to out of bounds UBO array read in fragment shader. It probably shouldn't bring down whole GPU, though. -- You

Re: [alsa-devel] [PATCH 2/2] vgaswitchreoo: set audio client id in vgaswitchreoo enable function

2018-07-13 Thread Takashi Iwai
On Fri, 13 Jul 2018 17:25:39 +0200, jimqu wrote: > > > > 在 2018/7/13 16:46, Takashi Iwai 写道: > > On Fri, 13 Jul 2018 10:06:02 +0200, > > Jim Qu wrote: > >> On modern laptop, there are more and more platforms > >> have two GPUs, and each of them maybe have audio codec > >> for HDMP/DP output. For

Re: [PATCH 15/15] drm: drop drmP.h include from drm_crtc.c

2018-07-13 Thread Daniel Vetter
On Thu, Jul 12, 2018 at 09:51:33AM -0400, Sean Paul wrote: > On Mon, Jul 09, 2018 at 10:40:16AM +0200, Daniel Vetter wrote: > > This is starting to become easy! > > > > Note: This needs the patch to move for_each_if from drmP.h to kernel.h > > or it won't compile. > > > > Signed-off-by: Daniel Ve

Re: [Nouveau] [PATCH 2/2] drm/nouveau: Avoid looping through fake MST connectors

2018-07-13 Thread Daniel Vetter
On Fri, Jul 13, 2018 at 12:24:41PM -0400, Lyude Paul wrote: > When MST and atomic were introduced to nouveau, another structure that > could contain a drm_connector embedded within it was introduced; struct > nv50_mstc. This meant that we no longer would be able to simply loop > through our connect

Re: [Freedreno] [PATCH 02/13] drm: drm_printer: Add printer for devcoredump

2018-07-13 Thread Jordan Crouse
On Thu, Jul 12, 2018 at 08:40:55PM +0100, Chris Wilson wrote: > Quoting Jordan Crouse (2018-07-12 19:59:19) > > Add a drm printer suitable for use with the read callback for > > devcoredump or other suitable buffer based output format that > > isn't otherwise covered by seq_file. > > > > Signed-of

Re: [alsa-devel] [PATCH 2/2] vgaswitchreoo: set audio client id in vgaswitchreoo enable function

2018-07-13 Thread jimqu
在 2018/7/14 0:38, Takashi Iwai 写道: On Fri, 13 Jul 2018 17:25:39 +0200, jimqu wrote: 在 2018/7/13 16:46, Takashi Iwai 写道: On Fri, 13 Jul 2018 10:06:02 +0200, Jim Qu wrote: On modern laptop, there are more and more platforms have two GPUs, and each of them maybe have audio codec for HDMP/DP o

Re: [Freedreno] [PATCH 02/13] drm: drm_printer: Add printer for devcoredump

2018-07-13 Thread Jordan Crouse
On Thu, Jul 12, 2018 at 09:46:58PM +0200, Daniel Vetter wrote: > On Thu, Jul 12, 2018 at 12:59:19PM -0600, Jordan Crouse wrote: > > Add a drm printer suitable for use with the read callback for > > devcoredump or other suitable buffer based output format that > > isn't otherwise covered by seq_file

[PATCH v2 1/2] drm/nouveau: Use drm_connector_list_iter_* for iterating connectors

2018-07-13 Thread Lyude Paul
Every codepath in nouveau that loops through the connector list currently does so using the old method, which is prone to race conditions from MST connectors being created and destroyed. This has been causing a multitude of problems, including memory corruption from trying to access connectors that

[PATCH v2 0/2] drm/nouveau: Fix connector memory corruption issues

2018-07-13 Thread Lyude Paul
This fixes some nasty issues I found in nouveau that were being caused looping through connectors using racy legacy methods, along with some caused by making incorrect assumptions about the drm_connector structs in nouveau's connector list. Most of these memory corruption issues could be reproduced

[PATCH v2 2/2] drm/nouveau: Avoid looping through fake MST connectors

2018-07-13 Thread Lyude Paul
When MST and atomic were introduced to nouveau, another structure that could contain a drm_connector embedded within it was introduced; struct nv50_mstc. This meant that we no longer would be able to simply loop through our connector list and assume that nouveau_connector() would return a proper po

[pull] amdgpu drm-fixes-4.18

2018-07-13 Thread Alex Deucher
Hi Dave, A few more fixes for 4.18. Two display fixes and a fix to avoid a segfault if the GPU does not power up properly on resume. These are on top of my pull from earlier this week. The following changes since commit 9d4a0d4cdc8b5904ec7c9b9e04bab3e9e60d7a74: drm/amdgpu: Verify root PD is m

Re: [PATCH] drm/msm: rework vblank event handling in dpu_crtc

2018-07-13 Thread Sean Paul
On Fri, Jul 13, 2018 at 06:27:23PM +0530, Rajesh Yadav wrote: > The vblank on/off calls were missing in dpu_crtc > leading to "driver forgot to call drm_crtc_vblank_off()" > warning while entering suspend state. > Also handle the state update completion event for > a crtc being disabled in current

[Bug 107224] Incorrect Rendering in Deus Ex: Mankind Divided in-game menu

2018-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107224 Bug ID: 107224 Summary: Incorrect Rendering in Deus Ex: Mankind Divided in-game menu Product: Mesa Version: git Hardware: Other OS: All Status:

[Bug 107066] [Regression] Tonga can't bring up > 1 display since DC enablement

2018-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107066 --- Comment #12 from Lyude Paul --- Created attachment 140629 --> https://bugs.freedesktop.org/attachment.cgi?id=140629&action=edit dmesg after fix So the patch actually works, hooray! There are some pretty annoying dmesg warnings leftover th

[Bug 107066] [Regression] Tonga can't bring up > 1 display since DC enablement

2018-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107066 --- Comment #13 from Mikita Lipski --- Which patch did you try? Or did you apply all of them? Warnings: hmm, haven't seen those before, seems like something new got exposed. Will look into them more in depth. -- You are receiving this mail be

[Bug 107066] [Regression] Tonga can't bring up > 1 display since DC enablement

2018-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107066 --- Comment #14 from Lyude Paul --- (In reply to Mikita Lipski from comment #13) > Which patch did you try? Or did you apply all of them? > > Warnings: hmm, haven't seen those before, seems like something new got > exposed. Will look into them

[Bug 107066] [Regression] Tonga can't bring up > 1 display since DC enablement

2018-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107066 --- Comment #15 from Mikita Lipski --- Could you try building without the last patch if possible: 0001-Disable-source-clock-sharing-between-multiple-connec.patch . Thanks -- You are receiving this mail because: You are the assignee for the bu

[PATCH] drm/udl: Replace drm_dev_unref with drm_dev_put

2018-07-13 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/udl/udl_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[Bug 104817] [Raven][GALLIUM_DDEBUG] system crashes/freezes randomly every few minutes/hours

2018-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104817 James Le Cuirot changed: What|Removed |Added CC||ch...@gentoo.org --- Comment #7 from

[Bug 199653] [AMDGPU][DC] BUG: unable to handle kernel NULL pointer dereference (trace decoded)

2018-07-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199653 --- Comment #8 from James Le Cuirot (ch...@gentoo.org) --- OP also filed a freedesktop.org bug report with more information. https://bugs.freedesktop.org/104817 Still the same with 4.18-rc4. :( -- You are receiving this mail because: You are w

[Bug 107065] "BUG: unable to handle kernel paging request at 0000000000002000" in amdgpu_vm_cpu_set_ptes at amdgpu_vm.c:921

2018-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107065 --- Comment #21 from Andrey Grodzovsky --- (In reply to dwagner from comment #20) > (In reply to Andrey Grodzovsky from comment #19) > > I was able to reproduce this instantly without even using page tables CPU > > update mode. Looks like a regr

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

2018-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105760 --- Comment #45 from Thomas Martitz --- > Most importantly, my observation that reading toc->num_entries returns -1 is > still occuring: > [ 368.991914] amdgpu: [powerplay] smu7_request_smu_load_fw: 10 > b456a0081000 0 1 > [ 368.991927]

[PULL] drm-intel-next

2018-07-13 Thread Rodrigo Vivi
Hi Dave, This is probably the last pull request for 4.19 from our side. Please remind about the gvt-fixes vs gvt-next conflict that I mentioned yesterday on drm-intel-fixes pull request. Here goes drm-intel-next-2018-07-12: On GVT there's the addition of vGPU huge page support for guest, with on

[radeon-alex:drm-next-4.19-wip 93/102] drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:1854:9: warning: missing braces around initializer

2018-07-13 Thread kbuild test robot
tree: git://people.freedesktop.org/~agd5f/linux.git drm-next-4.19-wip head: 638d758f0bb28342123d87dbd8a4190a55e74771 commit: 522e6b434a61f8be910560969386a2b3ce113c1b [93/102] drm/amd/display: Initialize data structure for DalMpVisualConfirm. config: x86_64-randconfig-g0-07132339 (attached as .

[Bug 107065] "BUG: unable to handle kernel paging request at 0000000000002000" in amdgpu_vm_cpu_set_ptes at amdgpu_vm.c:921

2018-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107065 --- Comment #22 from dwagner --- (In reply to Andrey Grodzovsky from comment #21) > I found the offending patch - drm: Stop updating plane->crtc/fb/old_fb on > atomic drivers > Not sure yet what's going on there and not sure it will fix you issu

Re: [PATCH RFC 24/24] drm/lima: add makefile and kconfig

2018-07-13 Thread Qiang Yu
Hi Andre, Thanks for your info. What a surprise that exist such a SoC. That means I have to judge if it's a 64bit CPU in other way than just check ARM64 config. Regards, Qiang On Sat, Jun 16, 2018 at 1:23 AM Andre Przywara wrote: > > On 05/23/2018 17:16, Marek Vasut wrote: > > On 05/18/2018 11:2

[Bug 107066] [Regression] Tonga can't bring up > 1 display since DC enablement

2018-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107066 --- Comment #16 from Lyude Paul --- (In reply to Mikita Lipski from comment #15) > Could you try building without the last patch if possible: > 0001-Disable-source-clock-sharing-between-multiple-connec.patch . > > Thanks Nope, doesn't get rid

[PATCH v6 00/35] drm/i915: Implement HDCP2.2

2018-07-13 Thread Ramalingam C
The sequence for HDCP2.2 authentication and encryption is implemented in I915. Encoder specific implementations are moved into hdcp_shim. Intel HWs supports HDCP2.2 through ME FW. Hence this series introduces a client driver for mei bus, so that for HDCP2.2 authentication, HDCP2.2 stack in I915 ca

[PATCH v6 03/35] mei: bus: whitelist hdcp client

2018-07-13 Thread Ramalingam C
From: Tomas Winkler Whitelist HDCP client for in kernel drm use v2: Rebased. v3: No changes. v4: No changes. v5: No changes. v6: No changes Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus-fixup.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/mis

[PATCH v6 05/35] drm/i915: wrapping all hdcp var into intel_hdcp

2018-07-13 Thread Ramalingam C
Considering significant number of HDCP specific variables, it will be clean to have separate struct for HDCP. New structure called intel_hdcp is added within intel_connector. v2: struct hdcp statically allocated. [Sean Paul] enable and disable function parameters are retained.[Sean Paul] v3:

[PATCH v6 02/35] drm: HDMI and DP specific HDCP2.2 defines

2018-07-13 Thread Ramalingam C
This patch adds HDCP register definitions for HDMI and DP HDCP adaptations. HDMI specific HDCP2.2 register definitions are added into drm_hdcp.h, where as HDCP2.2 register offsets in DPCD offsets are defined at drm_dp_helper.h. v2: bit_field definitions are replaced by macros. [Tomas and Jani]

[PATCH v6 01/35] drm: hdcp2.2 authentication msg definitions

2018-07-13 Thread Ramalingam C
This patch defines the hdcp2.2 protocol messages for authentication. v2: bit_fields are removed. Instead bitmasking used. [Tomas and Jani] prefix HDCP_2_2_ is added to the macros. [Tomas] v3: No Changes. v4: Style and spellings are fixed [Uma] v5: Fix for macros. v6: comment for Type i

[PATCH v6 04/35] linux/mei: Header for mei_hdcp driver interface

2018-07-13 Thread Ramalingam C
Data structures and Enum for the I915-MEI_HDCP interface are defined at v2: Rebased. v3: mei_cl_device is removed from mei_hdcp_data [Tomas] v4: Comment style and typo fixed [Uma] v5: Rebased. v6: No changes. Signed-off-by: Ramalingam C --- include/linux/mei_hdcp.h | 100

[PATCH v6 06/35] drm/i915: Define Intel HDCP2.2 registers

2018-07-13 Thread Ramalingam C
Intel HDCP2.2 registers are defined with addr offsets and bit details. v2: Replaced the arith calc with _PICK [Sean Paul] v3: No changes. v4: %s/HDCP2_CTR_DDI/HDCP2_CTL_DDI [Uma] v5: Added parentheses for the parameters of macro. v6: No changes Signed-off-by: Ramalingam C Reviewed-by:

[PATCH v6 07/35] component: alloc component_match without any comp to match

2018-07-13 Thread Ramalingam C
If all the components associated to a component master is not added to the component framework due to the HW capability or Kconfig selection, component_match will be NULL at component_master_add_with_match(). To avoid this, component_match_alloc() is added to the framework, to allcoate the struct

[PATCH v6 08/35] drm/i915: component master at i915 driver load

2018-07-13 Thread Ramalingam C
A generic component master is added to hold the i915 registration until all required kernel modules are up and active. This is achieved through following steps: - moving the i915 driver registration to the component master's bind call - all required kernel modules w

[PATCH v6 10/35] drm/i915: Pullout the bksv read and validation

2018-07-13 Thread Ramalingam C
For reusability purpose, this patch implements the hdcp1.4 bksv's read and validation as a functions. For detecting the HDMI panel's HDCP capability this fucntions will be used. v2: Rebased. v3: No Changes. v4: inline tag is removed with modified error msg. v5: No Changes. v6: No Change

[PATCH v6 09/35] drm/i915: Initialize HDCP2.2 and its MEI interface

2018-07-13 Thread Ramalingam C
Initialize HDCP2.2 support. This includes the mei interface initialization along with required component registration. v2: mei interface handle is protected with mutex. [Chris Wilson] v3: Notifiers are used for the mei interface state. v4: Poll for mei client device state Error msg for out

[PATCH v6 15/35] drm/i915: Handle HDCP2.2 downstream topology change

2018-07-13 Thread Ramalingam C
When repeater notifies a downstream topology change, this patch reauthenticate the repeater alone without disabling the hdcp encryption. If that fails then complete reauthentication is executed. v2: Rebased. v3: No Changes. v4: Typo in commit msg is fixed [Uma] v5: Rebased as part of patch

[PATCH v6 13/35] drm/i915: Implement HDCP2.2 repeater authentication

2018-07-13 Thread Ramalingam C
Implements the HDCP2.2 repeaters authentication steps such as verifying the downstream topology and sending stream management information. v2: Rebased. v3: No Changes. v4: -EINVAL is returned for topology error and rollover scenario. Endianness conversion func from drm_hdcp.h is used [Uma]

[PATCH v6 12/35] drm/i915: Implement HDCP2.2 receiver authentication

2018-07-13 Thread Ramalingam C
Implements HDCP2.2 authentication for hdcp2.2 receivers, with following steps: Authentication and Key exchange (AKE). Locality Check (LC). Session Key Exchange(SKE). DP Errata for stream type configuration for receivers. At AKE, the HDCP Receiver’s public key certif

[PATCH v6 11/35] drm/i915: Enable and Disable of HDCP2.2

2018-07-13 Thread Ramalingam C
Considering that HDCP2.2 is more secure than HDCP1.4, When a setup supports HDCP2.2 and HDCP1.4, HDCP2.2 will be enabled. When HDCP2.2 enabling fails and HDCP1.4 is supported, HDCP1.4 is enabled. This change implements a sequence of enabling and disabling of HDCP2.2 authentication and HDCP2.2 por

[PATCH v6 14/35] drm/i915: Implement HDCP2.2 link integrity check

2018-07-13 Thread Ramalingam C
Implements the link integrity check once in 500mSec. Once encryption is enabled, an ongoing Link Integrity Check is performed by the HDCP Receiver to check that cipher synchronization is maintained between the HDCP Transmitter and the HDCP Receiver. On the detection of synchronization lost, the H

[PATCH v6 18/35] drm/i915: Implement the HDCP2.2 support for DP

2018-07-13 Thread Ramalingam C
Implements the DP adaptation specific HDCP2.2 functions. These functions perform the DPCD read and write for communicating the HDCP2.2 auth message back and forth. Note: Chris Wilson suggested alternate method for waiting for CP_IRQ, than completions concept. WIP to understand and implement that,

[PATCH v6 20/35] drm/i915: Add HDCP2.2 support for DP connectors

2018-07-13 Thread Ramalingam C
On DP connector init, intel_hdcp_init is passed with a flag for hdcp2.2 support based on the platform capability. v2: Rebased. v3: No Changes. v4: Collected the reviewed-by received. v5: No change. v6: No change. Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar --- drivers/gpu/dr

[PATCH v6 16/35] drm/i915: hdcp_check_link only on CP_IRQ

2018-07-13 Thread Ramalingam C
HDCP check link is invoked only on CP_IRQ detection, instead of all short pulses. v3: No Changes. v4: Added sean in cc and collected the reviewed-by received. v5: No Change. v6: No Change. Signed-off-by: Ramalingam C cc: Sean Paul Reviewed-by: Uma Shankar Reviewed-by: Sean Paul --- d

[PATCH v6 17/35] drm/i915: Check HDCP 1.4 and 2.2 link on CP_IRQ

2018-07-13 Thread Ramalingam C
On DP HDCP1.4 and 2.2, when CP_IRQ is received, start the link integrity check for the HDCP version that is enabled. v2: Rebased. Function name is changed. v3: No Changes. v4: No Changes. v5: No Changes. v6: %s/_in_force/_in_use [Sean Paul] Signed-off-by: Ramalingam C cc: Sean Paul Re

[PATCH v6 19/35] drm/i915: Implement the HDCP2.2 support for HDMI

2018-07-13 Thread Ramalingam C
Implements the HDMI adaptation specific HDCP2.2 operations. Basically these are DDC read and write for authenticating through HDCP2.2 messages. v2: Rebased. v3: No Changes. v4: No more special handling of Gmbus burst read for AKE_SEND_CERT. Style fixed with few naming. [Uma] %s/PARING/P

[PATCH v6 21/35] drm/i915: Add HDCP2.2 support for HDMI connectors

2018-07-13 Thread Ramalingam C
On HDMI connector init, intel_hdcp_init is passed with a flag for hdcp2.2 support based on the platform capability. v2: Rebased. v3: No Changes. v4: Collected the reviewed-by received. v5: No change. v6: No change. Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar --- drivers/gpu/

[PATCH v6 22/35] misc/mei/hdcp: Client driver for HDCP application

2018-07-13 Thread Ramalingam C
ME FW is contributes a vital role in HDCP2.2 authentication. HDCP2.2 driver needs to communicate to ME FW for each step of the HDCP2.2 authentication. ME FW prepare and HDCP2.2 authentication parameters and encrypt them as per spec. With such parameter Driver prepares HDCP2.2 auth messages and co

[PATCH v6 24/35] misc/mei/hdcp: Define ME FW interface for HDCP2.2

2018-07-13 Thread Ramalingam C
Defines the HDCP specific ME FW interfaces such as Request CMDs, payload structure for CMDs and their response status codes. This patch defines payload size(Excluding the Header)for each WIRED HDCP2.2 CMDs. v2: Rebased. v3: Extra comments are removed. v4: %s/\/\*\*/\/\* v5: Extra lines ar

[PATCH v6 23/35] misc/mei/hdcp: Component framework for I915 Interface

2018-07-13 Thread Ramalingam C
Mei hdcp driver is designed as component slave for the I915 component master. v2: Rebased. v3: Notifier chain is adopted for cldev state update [Tomas] v4: Made static dummy functions as inline in mei_hdcp.h API for polling client device status IS_ENABLED used in header, for config statu

[PATCH v6 29/35] misc/mei/hdcp: Initiate Locality check

2018-07-13 Thread Ramalingam C
Requests ME to start the second stage of HDCP2.2 authentication, called Locality Check. On Success, ME FW will provide LC_Init message to send to hdcp sink. v2: Rebased. v3: cldev is passed as first parameter [Tomas] Redundant comments and cast are removed [Tomas] v4: %zd used for ssize_t

[PATCH v6 27/35] misc/mei/hdcp: Verify H_prime

2018-07-13 Thread Ramalingam C
Requests for the verification of AKE_Send_H_prime. ME will calculate the H and comparing it with received H_Prime. The result will be returned as status. Here AKE_Send_H_prime is a HDCP2.2 Authentication msg. v2: Rebased. v3: cldev is passed as first parameter [Tomas] Redundant comments an

[PATCH v6 28/35] misc/mei/hdcp: Store the HDCP Pairing info

2018-07-13 Thread Ramalingam C
Provides Pairing info to ME to store. Pairing is a process to fast track the subsequent authentication with the same HDCP sink. On Success, received HDCP pairing info is stored in non-volatile memory of ME. v2: Rebased. v3: cldev is passed as first parameter [Tomas] Redundant comments and

[PATCH v6 26/35] misc/mei/hdcp: Verify Receiver Cert and prepare km

2018-07-13 Thread Ramalingam C
Requests for verification for receiver certification and also the preparation for next AKE auth message with km. On Success ME FW validate the HDCP2.2 receivers certificate and do the revocation check on the receiver ID. AKE_Stored_Km will be prepared if the receiver is already paired, else AKE_No

[PATCH v6 25/35] misc/mei/hdcp: Initiate Wired HDCP2.2 Tx Session

2018-07-13 Thread Ramalingam C
Request ME FW to start the HDCP2.2 session for an intel port. Prepares payloads for command WIRED_INITIATE_HDCP2_SESSION and sends to ME FW. On Success, ME FW will start a HDCP2.2 session for the port and provides the content for HDCP2.2 AKE_Init message. v2: Rebased. v3: cldev is add as a se

[PATCH v6 31/35] misc/mei/hdcp: Prepare Session Key

2018-07-13 Thread Ramalingam C
Request to ME to prepare the encrypted session key. On Success, ME provides Encrypted session key. Function populates the HDCP2.2 authentication msg SKE_Send_Eks. v2: Rebased. v3: cldev is passed as first parameter [Tomas] Redundant comments and cast are removed [Tomas] v4: %zd for ssize_

[PATCH v6 35/35] misc/mei/hdcp: Closing wired HDCP2.2 Tx Session

2018-07-13 Thread Ramalingam C
Request the ME to terminate the HDCP2.2 session for a port. On Success, ME FW will mark the intel port as Deauthenticated and terminate the wired HDCP2.2 Tx session started due to the cmd WIRED_INITIATE_HDCP2_SESSION. v2: Rebased. v3: cldev is passed as first parameter [Tomas] Redundant com

[PATCH v6 32/35] misc/mei/hdcp: Repeater topology verification and ack

2018-07-13 Thread Ramalingam C
Request ME to verify the downstream topology information received. ME FW will validate the Repeaters receiver id list and downstream topology. On Success ME FW will provide the Least Significant 128bits of VPrime, which forms the repeater ack. v2: Rebased. v3: cldev is passed as first parame

[PATCH v6 30/35] misc/mei/hdcp: Verify L_prime

2018-07-13 Thread Ramalingam C
Request to ME to verify the LPrime received from HDCP sink. On Success, ME FW will verify the received Lprime by calculating and comparing with L. This represents the completion of Locality Check. v2: Rebased. v3: cldev is passed as first parameter [Tomas] Redundant comments and cast are r

[PATCH v6 34/35] misc/mei/hdcp: Enabling the HDCP authentication

2018-07-13 Thread Ramalingam C
Request to ME to configure a port as authenticated. On Success, ME FW will mark the port as authenticated and provides HDCP cipher with the encryption keys. Enabling the Authentication can be requested once all stages of HDCP2.2 authentication is completed by interacting with ME FW. Only after t

[PATCH v6 33/35] misc/mei/hdcp: Verify M_prime

2018-07-13 Thread Ramalingam C
Request to ME to verify the M_Prime received from the HDCP sink. ME FW will calculate the M and compare with M_prime received as part of RepeaterAuth_Stream_Ready, which is HDCP2.2 protocol msg. On successful completion of this stage, downstream propagation of the stream management info is comple

[Bug 107065] "BUG: unable to handle kernel paging request at 0000000000002000" in amdgpu_vm_cpu_set_ptes at amdgpu_vm.c:921

2018-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107065 --- Comment #23 from Andrey Grodzovsky --- (In reply to dwagner from comment #22) > (In reply to Andrey Grodzovsky from comment #21) > > I found the offending patch - drm: Stop updating plane->crtc/fb/old_fb on > > atomic drivers > > Not sure ye

Re: [PATCH 2/2] vgaswitchreoo: set audio client id in vgaswitchreoo enable function

2018-07-13 Thread jimqu
在 2018/7/13 17:27, Lukas Wunner 写道: On Fri, Jul 13, 2018 at 04:06:02PM +0800, Jim Qu wrote: On modern laptop, there are more and more platforms have two GPUs, and each of them maybe have audio codec for HDMP/DP output. For some dGPU which is no output, audio codec usually is disabled. In curr

[Bug 107153] 4.18-rc3 crash on hdmi (0010:dm_update_crtcs_state+0x41e/0x4a0)

2018-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107153 Patrik Kullman changed: What|Removed |Added CC||mikita.lip...@amd.com --- Comment #10

[Bug 199749] amdgpu on Ryzen 2400G freeze randomly

2018-07-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199749 --- Comment #33 from notsyncing (song...@gmail.com) --- Now about half a month passed, and my machine is running fine with zram disabled. No more freezes. Seems my problem is related to zram, not this bug, while the "ring gfx timeout" error never

<    1   2