[PATCH v4 3/7] media: vsp1: Replace leftover occurrence of fragment with body

2019-02-16 Thread Laurent Pinchart
Display list fragments have been renamed to bodies. Replace one last occurrence of the word fragment in the documentation. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_dl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/vsp1

[PATCH v4 6/7] media: vsp1: Replace the display list internal flag with a flags field

2019-02-16 Thread Laurent Pinchart
To prepare for addition of more flags to the display list, replace the 'internal' flag field by a bitmask 'flags' field. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_dl.c| 31 +--- drivers/media/platform/vsp1/vsp1_dl.h| 2 +- drivers/media/pla

[PATCH v4 4/7] media: vsp1: Fix addresses of display-related registers for VSP-DL

2019-02-16 Thread Laurent Pinchart
The VSP-DL instances have two LIFs, and thus two copies of the VI6_DISP_IRQ_ENB, VI6_DISP_IRQ_STA and VI6_WPF_WRBCK_CTRL registers. Fix the corresponding macros accordingly. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_drm.c | 4 ++-- drivers/media/platform/vsp1/vsp1_reg

[PATCH v4 5/7] media: vsp1: Refactor vsp1_video_complete_buffer() for later reuse

2019-02-16 Thread Laurent Pinchart
The vsp1_video_complete_buffer() function completes the current buffer and returns a pointer to the next buffer. Split the code that completes the buffer to a separate function for later reuse, and rename vsp1_video_complete_buffer() to vsp1_video_complete_next_buffer(). Signed-off-by: Laurent Pin

[PATCH v4 0/7] VSP1: Display writeback support

2019-02-16 Thread Laurent Pinchart
Hello, This patch series implements display writeback support for the R-Car Gen3 platforms in the VSP1 driver. DRM/KMS provides a writeback API through a special type of writeback connectors. This series takes a different approach by exposing writeback as a V4L2 device. While there is nothing fun

[PATCH v4 1/7] Revert "[media] v4l: vsp1: Supply frames to the DU continuously"

2019-02-16 Thread Laurent Pinchart
From: Kieran Bingham This reverts commit 3299ba5c0b21 ("[media] v4l: vsp1: Supply frames to the DU continuously") The DU output mode does not rely on frames being supplied on the WPF as its pipeline is supplied from DRM. For the upcoming WPF writeback functionality, we will choose to enable writ

[PATCH v4 7/7] media: vsp1: Provide a writeback video device

2019-02-16 Thread Laurent Pinchart
From: Kieran Bingham When the VSP1 is used in an active display pipeline, the output of the WPF can supply the LIF entity directly and simultaneously write to memory. Support this functionality in the VSP1 driver through a V4L2 video device node connected to the WPF. The writeback video node su

[PATCH v4 2/7] media: vsp1: wpf: Fix partition configuration for display pipelines

2019-02-16 Thread Laurent Pinchart
The WPF accesses partition configuration from pipe->partition in the partition configuration that is not used for display pipelines. Writeback support will require full configuration of the WPF while not providing a valid pipe->partition. Rework the configuration code to fall back to the full image

[Bug 105651] Vega64 doesn't output properly onto dell up2715k at 5120x2880

2019-02-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105651 Alex Deucher changed: What|Removed |Added Resolution|--- |NOTOURBUG Status|NEW

Re: [PATCH v3 08/11] drm/panel: simple: Add BOE HB140WX1-501 panel support

2019-02-16 Thread Sam Ravnborg
Hi Vasily > > > > boe must be added to vendor-prefixes.txt > > (It is not present in the file I checked, but I may have been added later) > > It's been there for quite a while, it's added in 27d23b30a561b which > was included > in 4.5. Yep, at second look it was there in the file I looked at too

Re: [PATCH v3 08/11] drm/panel: simple: Add BOE HB140WX1-501 panel support

2019-02-16 Thread Vasily Khoruzhick via dri-devel
On Sat, Feb 16, 2019 at 12:43 PM Sam Ravnborg wrote: > > Hi Vasily. Hi Sam, > On Thu, Feb 14, 2019 at 09:09:54PM -0800, Vasily Khoruzhick via dri-devel > wrote: > > This commit adds support for the BOE HB140WX1-501 14" WXGA TFT LCD > > panel. > > > > Signed-off-by: Vasily Khoruzhick > > --- >

Re: [PATCH v3 08/11] drm/panel: simple: Add BOE HB140WX1-501 panel support

2019-02-16 Thread Sam Ravnborg
Hi Vasily. On Thu, Feb 14, 2019 at 09:09:54PM -0800, Vasily Khoruzhick via dri-devel wrote: > This commit adds support for the BOE HB140WX1-501 14" WXGA TFT LCD > panel. > > Signed-off-by: Vasily Khoruzhick > --- > .../display/panel/boe,hb140wx1-501.txt| 7 + > drivers/gpu/drm/pane

Re: [PATCH 3/3] drm/panel: simple: Add support for VXT VL050-8048NT-C01 panel

2019-02-16 Thread Sam Ravnborg
Hi Otavio. On Thu, Feb 14, 2019 at 04:28:52PM -0200, Otavio Salvador wrote: > On Tue, Dec 4, 2018 at 2:57 PM Fabio Estevam wrote: > > > > Add support for the VXT VL050-8048NT-C01 800x480 panel to the > > panel-simple driver. > > > > This panel is used on some boards manufactured by TechNexion, su

Re: [linux-sunxi] [PATCH v3 05/11] drm/bridge: Add Analogix anx6345 support

2019-02-16 Thread Vasily Khoruzhick via dri-devel
On Fri, Feb 15, 2019 at 12:23 AM Priit Laes wrote: > > + err = anx6345_tx_initialization(anx6345); > > + if (err) { > > + DRM_ERROR("Failed transmitter initialization: %d\n", err); > > + goto err_poweroff; > > You can move the whole err_poweroff section from below

[PATCH v14 15/32] drm/i915: Fix KBL HDCP2.2 encrypt status signalling

2019-02-16 Thread Ramalingam C via dri-devel
HDCP transmitter is supposed to indicate the HDCP encryption status of the link through enc_en signals in a window of time called "window of opportunity" defined by HDCP HDMI spec. But on KBL this timing of signalling has an issue. To fix the issue this WA of resetting the signalling is required.

[PATCH v14 12/32] drm/i915: Implement the HDCP2.2 support for DP

2019-02-16 Thread Ramalingam C via dri-devel
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. v2: wait for cp_irq is merged with this patch. Rebased. v3: wait_queue is used for wait for cp_irq [Chris Wilson] v4: Style fix

[PATCH v14 19/32] misc/mei/hdcp: Define ME FW interface for HDCP2.2

2019-02-16 Thread Ramalingam C via dri-devel
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 are

[EARLY RFC][PATCH 3/4] ion: Add HEAP_INFO ioctl to be able to fetch heap type

2019-02-16 Thread John Stultz via dri-devel
The per-device heaps don't support HEAP_QUERY ioctl, since the name is provided in the devnode path and the heapid isn't useful with the new interface (one uses the fd of heapdevice). But, one missing bit of functionality is a way to find the heap type. So provide a HEAP_INFO ioctl which exposes t

Re: question about replacing legacy_cursor_flag by async_update

2019-02-16 Thread Daniel Vetter
On Fri, Feb 15, 2019 at 6:16 PM Helen Koike wrote: > > > > On 2/15/19 2:45 PM, Daniel Vetter wrote: > > On Fri, Feb 15, 2019 at 10:25:03AM -0200, Helen Koike wrote: > >> Hello, > >> > >> The legacy_cursor_update flag in the drm_atomic_state struct was being > >> used to track if the update was asy

Re: [git pull] drm fixes for 5.0-rc7

2019-02-16 Thread pr-tracker-bot--- via dri-devel
The pull request you sent on Fri, 15 Feb 2019 13:17:43 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2019-02-15-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/545aabcbdcec6c88faa3dfde506ad1931d119f52 Thank you! -- Deet-doot-dot, I am a bot. https:/

Re: [PATCH v14 03/35] drm: header for i915 - MEI_HDCP interface

2019-02-16 Thread Daniel Vetter
On Fri, Feb 15, 2019 at 02:04:58PM +0530, Ramalingam C wrote: > Header defines the interface for the I915 and MEI_HDCP drivers. > This interface is specific to the usage of mei_hdcp from gen9+ > platforms for ME FW based HDCP2.2 services. > > And Generic HDCP2.2 protocol specific definitions > are

[PATCH v14 26/32] misc/mei/hdcp: Prepare Session Key

2019-02-16 Thread Ramalingam C via dri-devel
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_t

[PATCH v14 28/32] misc/mei/hdcp: Verify M_prime

2019-02-16 Thread Ramalingam C via dri-devel
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

Re: [PATCH v2] staging: android: ion: Allocate from heap ID directly without mask

2019-02-16 Thread John Stultz via dri-devel
On Fri, Feb 15, 2019 at 2:51 AM Brian Starkey wrote: > > Hi John, > > On Thu, Feb 14, 2019 at 09:38:29AM -0800, John Stultz wrote: > > > [snip] > > > Some thoughts, as this ABI break has the potential to be pretty painful. > > > > 1) Unfortunately, this ABI is exposed *through* libion via > > ion_

[PATCH v14 21/32] misc/mei/hdcp: Verify Receiver Cert and prepare km

2019-02-16 Thread Ramalingam C via dri-devel
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

Re: [RFC v4 02/17] kunit: test: add test resource management API

2019-02-16 Thread Stephen Boyd via dri-devel
Quoting Brendan Higgins (2019-02-14 13:37:14) > @@ -104,6 +167,7 @@ struct kunit { > const char *name; /* Read only after initialization! */ > spinlock_t lock; /* Gaurds all mutable test state. */ > bool success; /* Protected by lock. */ > + struct list_head resources;

Re: [PATCH] drm/nouveau/bo: mark expected switch fall-through

2019-02-16 Thread Gustavo A. R. Silva
Hi all, Alex Deucher requested me to send separate patches for each driver, which makes this patch available to be taken, again. Thanks -- Gustavo On 2/15/19 10:02 AM, Gustavo A. R. Silva wrote: > Hi, > > Please drop this, as I have included this fix into > the following patch, which addresses

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

2019-02-16 Thread Ramalingam C via dri-devel
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 comme

Re: [PATCH v8 7/8] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2019-02-16 Thread Jagan Teki
On Fri, Feb 15, 2019 at 12:56 AM Jagan Teki wrote: > > Vertical video start delay is computed by excluding vertical porch > value from total vertical timings, but the current driver excluding > vertical porch along with vertical sync values from total vertical > timings resulting wrong start delay

[PATCH v14 09/32] drm/i915: Implement HDCP2.2 link integrity check

2019-02-16 Thread Ramalingam C via dri-devel
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

Re: [PATCH v2] staging: android: ion: Allocate from heap ID directly without mask

2019-02-16 Thread Andrew F. Davis via dri-devel
On 2/15/19 1:01 PM, John Stultz wrote: > On Fri, Feb 15, 2019 at 2:51 AM Brian Starkey wrote: >> >> Hi John, >> >> On Thu, Feb 14, 2019 at 09:38:29AM -0800, John Stultz wrote: >>> >> [snip] >> >>> Some thoughts, as this ABI break has the potential to be pretty painful. >>> >>> 1) Unfortunately, th

[PATCH v14 18/32] misc/mei/hdcp: Client driver for HDCP application

2019-02-16 Thread Ramalingam C via dri-devel
ME FW 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 commu

[EARLY RFC][PATCH 0/4] ION per heap devices

2019-02-16 Thread John Stultz via dri-devel
This is a *very early RFC* (it builds, that's all I'll say :) but I wanted to share it to get some initial feedback before I go down the rabit hole of trying to adapt the Android userland code to get this fully validated. This patchset tries to implement the per-heap devices for ION. The main bene

[PATCH 2/2] drm/tilcdc: Remove unnecessary struct tilcdc_panel_info members

2019-02-16 Thread Jyri Sarha via dri-devel
Most of the struct tilcdc_panel_info data members, that are also exposed in dts binding, are essentially display IP register bits that should not need customization per connected display basis. This patch removes them, both from the binding and the struct. The removed data members have sane static

Re: [PATCH 06/11] drm/syncobj: add timeline payload query ioctl v4

2019-02-16 Thread Lionel Landwerlin via dri-devel
On 07/12/2018 09:55, Chunming Zhou wrote: user mode can query timeline payload. v2: check return value of copy_to_user v3: handle querying entry by entry v4: rebase on new chain container, simplify interface Signed-off-by: Chunming Zhou Cc: Daniel Rakos Cc: Jason Ekstrand Cc: Bas Nieuwenhuize

[PATCH v14 25/32] misc/mei/hdcp: Verify L_prime

2019-02-16 Thread Ramalingam C via dri-devel
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 rem

Re: [PATCH v3 05/11] drm/bridge: Add Analogix anx6345 support

2019-02-16 Thread Vasily Khoruzhick via dri-devel
On Fri, Feb 15, 2019 at 1:13 AM Andrzej Hajda wrote: Hi Andrzej, Thanks for review! > > +#include > Do you need this header? I'll drop it. > > +#include > > drmP.h is/should be deprecated. Same here > > +struct anx6345_platform_data { > > + struct regulator *dvdd12; > > + struct r

[EARLY RFC][PATCH 1/4] ion: Add ION_VERSION ioctl

2019-02-16 Thread John Stultz via dri-devel
With all the slight interface changes ion has had through its time in staging, keeping userland working properly has been a pain. Assuming more churn going forward, provide a proper version interface. Cc: Laura Abbott Cc: Sumit Semwal Cc: Liam Mark Cc: Brian Starkey Cc: Andrew F. Davis Cc: Al

[PATCH] drm/drm_vm: Mark expected switch fall-throughs

2019-02-16 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Warning level 3 was used: -Wimplicit-fallthrough=3 Notice that, in this particular case, the code comment is modified in accordance with what GCC is expecting to find. This patch is part

[PATCH v14 01/32] drm/i915: Gathering the HDCP1.4 routines together

2019-02-16 Thread Ramalingam C via dri-devel
All HDCP1.4 routines are gathered together, followed by the generic functions those can be extended for HDCP2.2 too. Signed-off-by: Ramalingam C Acked-by: Daniel Vetter Reviewed-by: Uma Shankar Reviewed-by: Tomas Winkler --- drivers/gpu/drm/i915/intel_hdcp.c | 118 +++-

[PATCH v14 20/32] misc/mei/hdcp: Initiate Wired HDCP2.2 Tx Session

2019-02-16 Thread Ramalingam C via dri-devel
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 sepa

Re: [PATCH v14 09/35] drm: helper functions for hdcp2 seq_num to from u32

2019-02-16 Thread Daniel Vetter
On Fri, Feb 15, 2019 at 02:05:04PM +0530, Ramalingam C wrote: > Library functions for endianness are aligned for 16/32/64 bits. > But hdcp sequence numbers are 24bits(big endian). > So for their conversion to and from u32 helper functions are developed. > > v2: > Comment is updated. [Daniel] >

Re: question about replacing legacy_cursor_flag by async_update

2019-02-16 Thread Helen Koike via dri-devel
On 2/15/19 2:45 PM, Daniel Vetter wrote: > On Fri, Feb 15, 2019 at 10:25:03AM -0200, Helen Koike wrote: >> Hello, >> >> The legacy_cursor_update flag in the drm_atomic_state struct was being >> used to track if the update was asyncronous or not for the cursor plane. >> Which is really similar to

[Bug 107273] [Intel GFX CI] amdgpu 0000:01:00.0: HDMI-A-1: EDID is invalid

2019-02-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107273 Lakshmi changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becaus

[PATCH v14 30/35] misc/mei/hdcp: Repeater topology verification and ack

2019-02-16 Thread Ramalingam C via dri-devel
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 paramete

[PATCH v14 14/32] drm/i915: CP_IRQ handling for DP HDCP2.2 msgs

2019-02-16 Thread Ramalingam C via dri-devel
Implements the Waitqueue is created to wait for CP_IRQ Signaling the CP_IRQ arrival through atomic variable. For applicable DP HDCP2.2 msgs read wait for CP_IRQ. As per HDCP2.2 spec "HDCP Transmitters must process CP_IRQ interrupts when they are received from HDCP Receivers

[PATCH AUTOSEL 4.4 01/20] drm/msm: Unblock writer if reader closes file

2019-02-16 Thread Sasha Levin via dri-devel
From: "Kristian H. Kristensen" [ Upstream commit 99c66bc051e7407fe0bf0607b142ec0be1a1d1dd ] Prevents deadlock when fifo is full and reader closes file. Signed-off-by: Kristian H. Kristensen Signed-off-by: Rob Clark Signed-off-by: Sasha Levin --- drivers/gpu/drm/msm/msm_rd.c | 7 ++- 1 f

[PATCH v14 31/35] misc/mei/hdcp: Verify M_prime

2019-02-16 Thread Ramalingam C via dri-devel
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

[PATCH v14 07/35] drm/i915: Enable and Disable of HDCP2.2

2019-02-16 Thread Ramalingam C via dri-devel
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] drm/amdgpu/powerplay/polaris10_smumgr: Mark expected switch fall-through

2019-02-16 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Warning level 3 was used: -Wimplicit-fallthrough=3 This patch is part of the ongoing efforts to enable -Wimplicit-fallthrough. Signed-off-by: Gustavo A. R. Silva --- drivers/gpu/drm/amd

Re: [PATCH] pci/quirks: Add quirk to reset nvgpu at boot for the Lenovo ThinkPad P50

2019-02-16 Thread Lyude Paul via dri-devel
On Thu, 2019-02-14 at 18:43 -0600, Bjorn Helgaas wrote: > Hi Lyude, > > On Tue, Feb 12, 2019 at 05:02:30PM -0500, Lyude Paul wrote: > > On a very specific subset of ThinkPad P50 SKUs, particularly ones that > > come with a Quadro M1000M chip instead of the M2000M variant, the BIOS > > seems to hav

[PATCH] drm/radeon/si_dpm: Mark expected switch fall-throughs

2019-02-16 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Warning level 3 was used: -Wimplicit-fallthrough=3 This patch is part of the ongoing efforts to enable -Wimplicit-fallthrough. Signed-off-by: Gustavo A. R. Silva --- drivers/gpu/drm/rad

[PATCH v14 35/35] FOR_TEST_ONLY: i915/Kconfig: Select mei_hdcp by I915

2019-02-16 Thread Ramalingam C via dri-devel
FOR TESTING PURPOSE ONLY. By default INTEL_MEI_HDCP is set to y. This patch is created to test the interface between I915 and MEI_HDCP. Signed-off-by: Ramalingam C --- drivers/misc/mei/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/mei/Kconfig b/drivers/misc/mei/Kconfi

[Bug 109648] AMD Raven hang during va-api decoding

2019-02-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109648 Bug ID: 109648 Summary: AMD Raven hang during va-api decoding Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: m

Re: [PATCH v2] staging: android: ion: Allocate from heap ID directly without mask

2019-02-16 Thread John Stultz via dri-devel
On Fri, Feb 15, 2019 at 12:52 PM Andrew F. Davis wrote: > On 2/15/19 1:58 PM, John Stultz wrote: > > So yea, I don't think we should tie our hands in reworking the > > interfaces, but it would be nice to avoid having subtle ABI changes > > that don't have clear ways for userland to detect which in

[PATCH v14 24/32] misc/mei/hdcp: Initiate Locality check

2019-02-16 Thread Ramalingam C via dri-devel
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 [

Re: [PATCH] drm: Mark expected switch fall-throughs

2019-02-16 Thread Gustavo A. R. Silva
On 2/15/19 10:11 AM, Alex Deucher wrote: > On Fri, Feb 15, 2019 at 11:08 AM Gustavo A. R. Silva > wrote: >> >> In preparation to enabling -Wimplicit-fallthrough, mark switch >> cases where we are expecting to fall through. >> >> Warning level 3 was used: -Wimplicit-fallthrough=3 >> >> Notice tha

[PATCH v14 30/32] misc/mei/hdcp: Closing wired HDCP2.2 Tx Session

2019-02-16 Thread Ramalingam C via dri-devel
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 comme

[PATCH v14 02/35] drm: enum port definition is moved into i915_drm.h

2019-02-16 Thread Ramalingam C via dri-devel
For the reusability of the enum port in other driver modules (like mei_hdcp), enum port definition is moved from I915 local header intel_display.h to drm/i915_drm.h Signed-off-by: Ramalingam C Acked-by: Daniel Vetter --- drivers/gpu/drm/i915/intel_display.h | 16 +--- include/drm/i9

Re: [PATCH v5 0/3] Support 64 bpp half float formats

2019-02-16 Thread Adam Jackson via dri-devel
On Fri, 2019-02-08 at 13:49 -0800, Kevin Strasser wrote: > This series defines new formats and adds implementation to the i915 driver. > Since posting v1 I have removed the pixel normalize property, as it's not > needed > for basic functionality. Also, I have been working on adding support to > us

[PATCH v14 08/35] drm/i915: Implement HDCP2.2 receiver authentication

2019-02-16 Thread Ramalingam C via dri-devel
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 v14 34/35] misc/mei/hdcp: Component framework for I915 Interface

2019-02-16 Thread Ramalingam C via dri-devel
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 status

[PATCH v14 25/35] misc/mei/hdcp: Verify H_prime

2019-02-16 Thread Ramalingam C via dri-devel
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 and

Re: [PATCH V2 0/7] Add FOLL_LONGTERM to GUP fast and use it

2019-02-16 Thread Ira Weiny via dri-devel
> NOTE: This series depends on my clean up patch to remove the write parameter > from gup_fast_permitted()[1] > > HFI1, qib, and mthca, use get_user_pages_fast() due to it performance > advantages. These pages can be held for a significant time. But > get_user_pages_fast() does not protect again

Re: [PATCH 02/11] dma-buf: add new dma_fence_chain container v4

2019-02-16 Thread Christian König via dri-devel
Am 15.02.19 um 17:49 schrieb Jason Ekstrand: On Fri, Feb 15, 2019 at 9:52 AM Lionel Landwerlin via dri-devel > wrote: On 15/02/2019 14:32, Koenig, Christian wrote: > Am 15.02.19 um 15:23 schrieb Lionel Landwerlin: >> Hi Christian, David, >

[PATCH v14 32/32] FOR_TEST_ONLY: i915/Kconfig: Select mei_hdcp by I915

2019-02-16 Thread Ramalingam C via dri-devel
FOR TESTING PURPOSE ONLY. By default INTEL_MEI_HDCP is set to y. This patch is created to test the interface between I915 and MEI_HDCP. Signed-off-by: Ramalingam C --- drivers/misc/mei/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/mei/Kconfig b/drivers/misc/mei/Kconfi

[PATCH v14 20/35] mei: bus: export to_mei_cl_device for mei client device drivers

2019-02-16 Thread Ramalingam C via dri-devel
From: Tomas Winkler Export to_mei_cl_device macro, it is needed also in mei client drivers. Signed-off-by: Tomas Winkler Signed-off-by: Ramalingam C --- drivers/misc/mei/bus.c | 1 - include/linux/mei_cl_bus.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/m

[PATCH v14 04/35] drm/i915: Initialize HDCP2.2

2019-02-16 Thread Ramalingam C via dri-devel
Add the HDCP2.2 initialization to the existing HDCP1.4 stack. 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 of mem [Uma] Inline req for init function removed [Uma

[PATCH v14 05/32] drm/i915: Enable and Disable of HDCP2.2

2019-02-16 Thread Ramalingam C via dri-devel
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

Re: [PATCH] drm/msm: fix an error code in the ioctl

2019-02-16 Thread Rob Clark via dri-devel
On Thu, Feb 14, 2019 at 2:19 AM Dan Carpenter wrote: > > The copy_to/from_user() functions return the number of bytes remaining > to be copied but we should return -EFAULT to the user. > > Fixes: f05c83e77460 ("drm/msm: add uapi to get/set debug name") > Signed-off-by: Dan Carpenter > --- > If I

[PATCH v3 09/11] dt-bindings: Add Guangdong Neweast Optoelectronics CO. LTD vendor prefix

2019-02-16 Thread Vasily Khoruzhick via dri-devel
Add vendor prefix for Guangdong Neweast Optoelectronics CO. LTD Signed-off-by: Vasily Khoruzhick --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/binding

[PATCH v3 02/11] drm/bridge: split some definitions of ANX78xx to dedicated headers

2019-02-16 Thread Vasily Khoruzhick via dri-devel
From: Icenowy Zheng Some definitions currently in analogix-anx78xx.h are not restricted to the ANX78xx series, but also applicable to other DisplayPort transmitters by Analogix. Split out them to dedicated headers, and make analogix-anx78xx.h include them. Signed-off-by: Icenowy Zheng Signed-o

[PATCH AUTOSEL 4.19 39/65] staging: android: ion: Support cpu access during dma_buf_detach

2019-02-16 Thread Sasha Levin via dri-devel
From: Liam Mark [ Upstream commit 31eb79db420a3f94c4c45a8c0a05cd30e333f981 ] Often userspace doesn't know when the kernel will be calling dma_buf_detach on the buffer. If userpace starts its CPU access at the same time as the sg list is being freed it could end up accessing the sg list after it

[PATCH v14 29/35] misc/mei/hdcp: Prepare Session Key

2019-02-16 Thread Ramalingam C via dri-devel
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_t

[PATCH v14 32/35] misc/mei/hdcp: Enabling the HDCP authentication

2019-02-16 Thread Ramalingam C via dri-devel
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 AUTOSEL 4.14 23/40] drm/amd/powerplay: OD setting fix on Vega10

2019-02-16 Thread Sasha Levin via dri-devel
From: Kenneth Feng [ Upstream commit 6d87dc97eb3341de3f7b1efa3156cb0e014f4a96 ] gfxclk for OD setting is limited to 1980M for non-acg ASICs of Vega10 Signed-off-by: Kenneth Feng Reviewed-by: Evan Quan Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- .../powerplay/hwmgr/vega10_pro

[PATCH v14 26/35] misc/mei/hdcp: Store the HDCP Pairing info

2019-02-16 Thread Ramalingam C via dri-devel
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 ca

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

2019-02-16 Thread Ramalingam C via dri-devel
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 more special handling of Gmbus burst read for AKE_SEND_CERT. Style fixed with few naming. [Uma] %s/PARING/PAIRING v4: msg_sz

[PATCH v14 13/35] drm/i915: Handle HDCP2.2 downstream topology change

2019-02-16 Thread Ramalingam C via dri-devel
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: Typo in commit msg is fixed [Uma] v4: Rebased as part of patch reordering. Min

[PATCH v14 28/35] misc/mei/hdcp: Verify L_prime

2019-02-16 Thread Ramalingam C via dri-devel
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 rem

[PATCH v14 14/35] drm: removing the DP Errata msg and its msg id

2019-02-16 Thread Ramalingam C via dri-devel
Since DP ERRATA message is not defined at spec, those structure definition is removed from drm_hdcp.h Signed-off-by: Ramalingam C Suggested-by: Daniel Vetter Reviewed-by: Daniel Vetter Reviewed-by: Uma Shankar --- include/drm/drm_hdcp.h | 6 -- 1 file changed, 6 deletions(-) diff --git a

[PATCH AUTOSEL 4.14 25/40] staging: android: ion: Support cpu access during dma_buf_detach

2019-02-16 Thread Sasha Levin via dri-devel
From: Liam Mark [ Upstream commit 31eb79db420a3f94c4c45a8c0a05cd30e333f981 ] Often userspace doesn't know when the kernel will be calling dma_buf_detach on the buffer. If userpace starts its CPU access at the same time as the sg list is being freed it could end up accessing the sg list after it

[PATCH v3 08/11] drm/panel: simple: Add BOE HB140WX1-501 panel support

2019-02-16 Thread Vasily Khoruzhick via dri-devel
This commit adds support for the BOE HB140WX1-501 14" WXGA TFT LCD panel. Signed-off-by: Vasily Khoruzhick --- .../display/panel/boe,hb140wx1-501.txt| 7 + drivers/gpu/drm/panel/panel-simple.c | 26 +++ 2 files changed, 33 insertions(+) create mode 100644

[PATCH v14 05/35] drm/i915: MEI interface definition

2019-02-16 Thread Ramalingam C via dri-devel
Defining the mei-i915 interface functions and initialization of the interface. v2: Adjust to the new interface changes. [Tomas] Added further debug logs for the failures at MEI i/f. port in hdcp_port data is equipped to handle -ve values. v3: mei comp is matched for global i915 comp master

[PATCH] drm/amdgpu/si_dpm: Mark expected switch fall-throughs

2019-02-16 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Warning level 3 was used: -Wimplicit-fallthrough=3 This patch is part of the ongoing efforts to enable -Wimplicit-fallthrough. Signed-off-by: Gustavo A. R. Silva --- drivers/gpu/drm/amd

Re: [PATCH] drm/mediatek: add mipi_tx driver for mt8183

2019-02-16 Thread CK Hu
Hi, Jitao: On Tue, 2019-02-12 at 14:19 +0800, Jitao Shi wrote: > This patch adds mipi tx driver support for mt8183. > > Mipi_tx of mt8183 is very different to mt8173. > 1.Separate mipi tx setting to mtk_mt8173_mipi_tx.c for mt8173 > 2.Separate mipi tx setting to mtk_mt8183_mipi_tx.c for mt8183 >

[PATCH v14 27/35] misc/mei/hdcp: Initiate Locality check

2019-02-16 Thread Ramalingam C via dri-devel
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 v14 22/35] misc/mei/hdcp: Define ME FW interface for HDCP2.2

2019-02-16 Thread Ramalingam C via dri-devel
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 are

[PATCH v14 06/35] drm/i915: hdcp1.4 CP_IRQ handling and SW encryption tracking

2019-02-16 Thread Ramalingam C via dri-devel
"hdcp_encrypted" flag is defined to denote the HDCP1.4 encryption status. This SW tracking is used to determine the need for real hdcp1.4 disable and hdcp_check_link upon CP_IRQ. On CP_IRQ we filter the CP_IRQ related to the states like Link failure and reauthentication req etc and handle them in

[PATCH 1/2] drm/tilcdc: use drm_fbdev_generic_setup

2019-02-16 Thread Jyri Sarha via dri-devel
Calling drm_fbdev_cma_fini() after drm_dev_unregister() started to cause a crash when unloading tilcdc some time between 4.14 and 4.19. Instead of changing the unload order it looks like using drm_fbdev_generic_setup() is the direction to go. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/

[RFC v4 14/17] MAINTAINERS: add entry for KUnit the unit testing framework

2019-02-16 Thread Brendan Higgins via dri-devel
Add myself as maintainer of KUnit, the Linux kernel's unit testing framework. Signed-off-by: Brendan Higgins --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8c68de3cfd80e..ff2cc9fcb49ad 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

Re: [PATCH 3/3] drm/panel: simple: Add support for VXT VL050-8048NT-C01 panel

2019-02-16 Thread Otavio Salvador
On Tue, Dec 4, 2018 at 2:57 PM Fabio Estevam wrote: > > Add support for the VXT VL050-8048NT-C01 800x480 panel to the > panel-simple driver. > > This panel is used on some boards manufactured by TechNexion, such as > imx7d-pico. > > Signed-off-by: Fabio Estevam > --- Could this to be reviewed? I

Re: [PATCH v2 2/2] drm/vkms: Modify memset() in compute_crc function

2019-02-16 Thread Rodrigo Siqueira via dri-devel
Hi, On 01/30, Mamta Shukla wrote: > Replace memset(vaddr_out + src_offset + 24, 0, 8) with > memset(vaddr_out + src_offset + 3, 0, 1) because memset fills > memory in bytes and not in bits. > > Signed-off-by: Mamta Shukla > --- > No changes in v2. > > drivers/gpu/drm/vkms/vkms_crc.c | 2 +- >

[PATCH AUTOSEL 4.9 01/27] drm/msm: Unblock writer if reader closes file

2019-02-16 Thread Sasha Levin via dri-devel
From: "Kristian H. Kristensen" [ Upstream commit 99c66bc051e7407fe0bf0607b142ec0be1a1d1dd ] Prevents deadlock when fifo is full and reader closes file. Signed-off-by: Kristian H. Kristensen Signed-off-by: Rob Clark Signed-off-by: Sasha Levin --- drivers/gpu/drm/msm/msm_rd.c | 7 ++- 1 f

[PATCH v14 12/35] drm/i915: Implement HDCP2.2 link integrity check

2019-02-16 Thread Ramalingam C via dri-devel
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 v3 01/11] drm/bridge: move ANA78xx driver to analogix subdirectory

2019-02-16 Thread Vasily Khoruzhick via dri-devel
From: Icenowy Zheng As ANA78xx chips are designed and produced by Analogix Semiconductor, Inc, move their driver codes into analogix subdirectory. Signed-off-by: Icenowy Zheng Signed-off-by: Vasily Khoruzhick Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/bridge/Kconfig

[PATCH v14 17/35] drm/i915: CP_IRQ handling for DP HDCP2.2 msgs

2019-02-16 Thread Ramalingam C via dri-devel
Implements the Waitqueue is created to wait for CP_IRQ Signaling the CP_IRQ arrival through atomic variable. For applicable DP HDCP2.2 msgs read wait for CP_IRQ. As per HDCP2.2 spec "HDCP Transmitters must process CP_IRQ interrupts when they are received from HDCP Receivers

[PATCH AUTOSEL 4.20 46/77] drm/sun4i: hdmi: Fix usage of TMDS clock

2019-02-16 Thread Sasha Levin via dri-devel
From: Priit Laes [ Upstream commit 5e1bc251cebc84b41b8eb5d2434e54d939a85430 ] Although TMDS clock is required for HDMI to properly function, nobody called clk_prepare_enable(). This fixes reference counting issues and makes sure clock is running when it needs to be running. Due to TDMS clock be

[git pull] drm fixes for 5.0-rc7

2019-02-16 Thread Dave Airlie via dri-devel
Hi Linus, Usual pull request, little larger than I'd like but nothing too strange in it. Willy found an bug in the lease ioctl calculations, but it's a drm master only ioctl which makes it harder to mess with. i915: - combo phy programming fix - opregion version check fix for VBT RVDA lookup - ge

Re: [PATCH] video/macfb: Remove redundant code

2019-02-16 Thread Geert Uytterhoeven
On Fri, Feb 15, 2019 at 3:19 AM Finn Thain wrote: > The value of info->var.bits_per_pixel get checked in macfb_setcolreg(). > Remove additional checks as they are redundant. > > macfb_defined.activate gets initialized to FB_ACTIVATE_NOW by the struct > initializer. Remove redundant assignments. >

  1   2   3   >