[PATCH v7 15/39] drm/i915: hdcp_check_link only on CP_IRQ

2018-09-27 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. v7: No Change. Signed-off-by: Ramalingam C cc: Sean Paul Reviewed-by: Uma Shankar Reviewed-by:

[PATCH v7 12/39] drm/i915: Implement HDCP2.2 repeater authentication

2018-09-27 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 v7 19/39] drm/i915: Add HDCP2.2 support for DP connectors

2018-09-27 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. v7: No change. Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar --

[PATCH v7 20/39] drm/i915: Add HDCP2.2 support for HDMI connectors

2018-09-27 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. v7: No change. Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar

[PATCH v7 17/39] drm/i915: Implement the HDCP2.2 support for DP

2018-09-27 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. 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 v7 16/39] drm/i915: Check HDCP 1.4 and 2.2 link on CP_IRQ

2018-09-27 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] v7: Rebased. Signed-off-by: Ramalingam C cc

[PATCH v7 21/39] mei: bus: whitelist hdcp client

2018-09-27 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 v7: No changes Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus-fixup.c | 16 1 file changed, 16 insertions(+) diff --

[PATCH v7 18/39] drm/i915: Implement the HDCP2.2 support for HDMI

2018-09-27 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 v7 24/39] misc/mei/hdcp: Define ME FW interface for HDCP2.2

2018-09-27 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 v7 25/39] misc/mei/hdcp: Initiate Wired HDCP2.2 Tx Session

2018-09-27 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 v7 26/39] misc/mei/hdcp: Verify Receiver Cert and prepare km

2018-09-27 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 v7 22/39] mei: bus: export to_mei_cl_device for mei client device drivers

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

[PATCH v7 27/39] misc/mei/hdcp: Verify H_prime

2018-09-27 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 v7 23/39] misc/mei/hdcp: Client driver for HDCP application

2018-09-27 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 v7 31/39] misc/mei/hdcp: Prepare Session Key

2018-09-27 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 v7 28/39] misc/mei/hdcp: Store the HDCP Pairing info

2018-09-27 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 v7 29/39] misc/mei/hdcp: Initiate Locality check

2018-09-27 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 v7 32/39] misc/mei/hdcp: Repeater topology verification and ack

2018-09-27 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 v7 30/39] misc/mei/hdcp: Verify L_prime

2018-09-27 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 v7 34/39] misc/mei/hdcp: Enabling the HDCP authentication

2018-09-27 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 v7 33/39] misc/mei/hdcp: Verify M_prime

2018-09-27 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

[PATCH v7 38/39] drm/i915: Fix KBL HDCP2.2 encrypt status signalling

2018-09-27 Thread Ramalingam C
Implement the required WA sequence for KBL to fix the incorrect positioning of the window of oppurtunity and enc_en signalling. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_hdcp.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/i91

[PATCH v7 36/39] misc/mei/hdcp: Component framework for I915 Interface

2018-09-27 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 v7 35/39] misc/mei/hdcp: Closing wired HDCP2.2 Tx Session

2018-09-27 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 v7 37/39] drm/i915: Commit CP without modeset

2018-09-27 Thread Ramalingam C
Commits the content protection change of a connector, without crtc modeset. This improves the user experience. Originally proposed by Sean Paul at v3 of HDCP1.4 framework https://patchwork.freedesktop.org/patch/191759/. For some reason this was dropped, but needed for the proper functionality of H

[PATCH v7 39/39] FOR_TEST: misc/Kconfig: Enabling mei_hdcp by default

2018-09-27 Thread Ramalingam C
FOR TESTING PURPOSE ONLY. Enabled the mei support for HDCP2.2. 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/Kconfig

Re: [PATCH] drm/etnaviv: fix build error due to change in scheduler struct

2018-09-27 Thread Lucas Stach
Am Donnerstag, den 27.09.2018, 08:27 +0200 schrieb Nayan Deshmukh: > The work_tdr field was moved from drm_sched_job to drm_gpu_scheduler > as part of a previous patch. > > Fixes: 4f07d88d8534 drm/scheduler: remove timeout work_struct from > drm_sched_job > Signed-off-by: Nayan Deshmukh Thanks,

Re: [PATCH] drm/etnaviv: fix build error due to change in scheduler struct

2018-09-27 Thread Nayan Deshmukh
On Thu, Sep 27, 2018, 9:03 AM Lucas Stach wrote: > Am Donnerstag, den 27.09.2018, 08:27 +0200 schrieb Nayan Deshmukh: > > The work_tdr field was moved from drm_sched_job to drm_gpu_scheduler > > as part of a previous patch. > > > > Fixes: 4f07d88d8534 drm/scheduler: remove timeout work_struct fro

[PATCH 2/4] drm/virtio: Handle context ID allocation errors

2018-09-27 Thread Matthew Wilcox
It is possible to run out of memory while allocating IDs. The current code would create a context with an invalid ID; change it to return -ENOMEM to userspace. Signed-off-by: Matthew Wilcox --- drivers/gpu/drm/virtio/virtgpu_kms.c | 29 +++- 1 file changed, 11 insertions

Re: [PATCH] pci: Add a few new IDs for Intel GPU "spurious interrupt" quirk

2018-09-27 Thread Bin Meng
Hi Bjorn, On Thu, Sep 27, 2018 at 12:57 AM Bjorn Helgaas wrote: > > [+cc Intel DRM maintainers, etc] > > On Wed, Sep 26, 2018 at 08:14:01AM -0700, Bin Meng wrote: > > Add more PCI IDs to the Intel GPU "spurious interrupt" quirk table, > > which are known to break. > > Do you have a reference for

Re: [PATCH] i2c: of: Try to find an I2C adapter matching the parent

2018-09-27 Thread Vlado Plaga
Tested-by: Vlado Plaga This patch works for me - without it my screen stays black (Acer CB5-311). On 25/09/2018 18:06, Thierry Reding wrote: > From: Thierry Reding > > If an I2C adapter doesn't match the provided device tree node, also try > matching the parent's device tree node. This allows f

Re: [PATCH v2 2/7] include: add setbits32/clrbits32/clrsetbits32/setbits64/clrbits64/clrsetbits64 in linux/setbits.h

2018-09-27 Thread LABBE Corentin
On Tue, Sep 25, 2018 at 07:05:00AM +0200, Christophe LEROY wrote: > > > Le 24/09/2018 à 21:04, Corentin Labbe a écrit : > > This patch adds setbits32/clrbits32/clrsetbits32 and > > setbits64/clrbits64/clrsetbits64 in linux/setbits.h header. > > Fix the patch subject and description. > > > > >

[PATCH 3/4] drm/virtio: Handle object ID allocation errors

2018-09-27 Thread Matthew Wilcox
It is possible to run out of memory while allocating IDs. The current code would create an object with an invalid ID; change it to return -ENOMEM to the caller. Signed-off-by: Matthew Wilcox --- drivers/gpu/drm/virtio/virtgpu_drv.h | 3 +-- drivers/gpu/drm/virtio/virtgpu_fb.c| 10 +++

[PATCH 0/4] Improve virtio ID allocation

2018-09-27 Thread Matthew Wilcox
I noticed you were using IDRs where you could be using the more efficient IDAs, then while fixing that I noticed the lack of error handling, and I decided to follow that up with an efficiency improvement. There's probably a v2 of this to follow because I couldn't figure out how to properly handle

Re: [PATCH v2 1/7] powerpc: rename setbits32/clrbits32 to setbits32_be/clrbits32_be

2018-09-27 Thread LABBE Corentin
On Tue, Sep 25, 2018 at 06:56:23AM +0200, Christophe LEROY wrote: > Fix the patch title. > > > Le 24/09/2018 à 21:04, Corentin Labbe a écrit : > > Since setbits32/clrbits32 work on be32, it's better to remove ambiguity on > > the used data type. > > > > Signed-off-by: Corentin Labbe > > --- > >

Re: [PATCH 0/3] HiBMC driver fixes

2018-09-27 Thread John Garry
On 26/09/2018 04:00, Xinliang Liu wrote: Thanks John, good addressing! The root cause as you said, our hibmc previous frame buffer format depth setting is wrong which does not pass the new format sanity checking drm_mode_legacy_fb_format. For this series, Reviewed-by: Xinliang Liu Applied to hi

Re: [PATCH v2 08/16] drm: rcar-du: Enable configurable DPAD0 routing on Gen3

2018-09-27 Thread Ulrich Hecht
> On September 14, 2018 at 11:10 AM Laurent Pinchart > wrote: > > > All Gen3 SoCs supported so far have a fixed association between DPAD0 > and DU channels, which led to hardcoding that association when writing > the corresponding hardware register. The D3 and E3 will break that > mechanism as

[PATCH 4/4] drm/virtio: Use IDAs more efficiently

2018-09-27 Thread Matthew Wilcox
0-based IDAs are more efficient than any other base. Convert the 1-based IDAs to be 0-based. Signed-off-by: Matthew Wilcox --- drivers/gpu/drm/virtio/virtgpu_kms.c | 3 ++- drivers/gpu/drm/virtio/virtgpu_vq.c | 7 +-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/g

[PATCH -next] drm/amdgpu: remove set but not used variable 'header'

2018-09-27 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c: In function 'amdgpu_ucode_init_bo': drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:431:39: warning: variable 'header' set but not used [-Wunused-but-set-variable] Signed-off-by: YueHaibing --- drivers/gpu/drm/

[PATCH 1/4] drm/virtio: Replace IDRs with IDAs

2018-09-27 Thread Matthew Wilcox
These IDRs were only being used to allocate unique numbers, not to look up pointers, so they can use the more space-efficient IDA instead. Signed-off-by: Matthew Wilcox --- drivers/gpu/drm/virtio/virtgpu_drv.h | 6 ++ drivers/gpu/drm/virtio/virtgpu_kms.c | 18 -- drivers/gpu

Re: [PATCH v2 09/16] drm: rcar-du: Cache DSYSR value to ensure known initial value

2018-09-27 Thread Ulrich Hecht
> On September 14, 2018 at 11:10 AM Laurent Pinchart > wrote: > > > DSYSR is a DU channel register that also contains group fields. It is > thus written to by both the group and CRTC code, using read-update-write > sequences. As the register isn't initialized explicitly at startup time, > this

Re: [PATCH 4/4] drm/virtio: Use IDAs more efficiently

2018-09-27 Thread Matthew Wilcox
On Wed, Sep 26, 2018 at 09:00:31AM -0700, Matthew Wilcox wrote: > @@ -59,6 +59,7 @@ static int virtio_gpu_context_create(struct > virtio_gpu_device *vgdev, > > if (handle < 0) > return handle; > + handle++; > virtio_gpu_cmd_context_create(vgdev, handle, nlen, name);

Re: [PATCH v2 07/16] drm: rcar-du: Use LVDS PLL clock as dot clock when possible

2018-09-27 Thread Ulrich Hecht
> On September 14, 2018 at 11:10 AM Laurent Pinchart > wrote: > > > On selected SoCs, the DU can use the clock output by the LVDS encoder > PLL as its input dot clock. This feature is optional, but on the D3 and > E3 SoC it is often the only way to obtain a precise dot clock frequency, > as th

Re: [PATCH v2 15/16] arm64: dts: renesas: r8a77990: ebisu: Enable VGA and HDMI outputs

2018-09-27 Thread Ulrich Hecht
> On September 14, 2018 at 11:10 AM Laurent Pinchart > wrote: > > > Add the LVDS decoder, HDMI encoder, VGA encoder and HDMI and VGA > connectors, and wire up the display-related nodes with clocks, pinmux > and regulators. > > The LVDS0 and LVDS1 encoders can use the DU_DOTCLKIN0, DU_DOTCLKIN

Re: [PATCH] drm/rcar-du: Convert drm_atomic_helper_suspend/resume()

2018-09-27 Thread Souptick Joarder
On Tue, Sep 18, 2018 at 10:05 PM Souptick Joarder wrote: > > convert drm_atomic_helper_suspend/resume() to use > drm_mode_config_helper_suspend/resume(). > > remove suspend_state field from the rcar_du_device > structure as it is no more required. > > With this conversion, also drm_fbdev_cma_set_s

Re: [PATCH v2 06/16] drm: rcar-du: Perform the initial CRTC setup from rcar_du_crtc_get()

2018-09-27 Thread Ulrich Hecht
Thank you for your patch. > On September 14, 2018 at 11:10 AM Laurent Pinchart > wrote: > > > The rcar_du_crtc_get() function is always immediately followed by a call > to rcar_du_crtc_setup(). Call the later from the former to simplify the > code, and add a comment to explain how the get and

Re: [PATCH 0/3] HiBMC driver fixes

2018-09-27 Thread John Garry
On 26/09/2018 10:41, Xinliang Liu wrote: On Wed, 26 Sep 2018 at 16:46, John Garry wrote: On 26/09/2018 04:00, Xinliang Liu wrote: Thanks John, good addressing! The root cause as you said, our hibmc previous frame buffer format depth setting is wrong which does not pass the new format sanity c

Re: [PATCH v2 10/16] drm: rcar-du: Don't use TV sync mode when not supported by the hardware

2018-09-27 Thread Ulrich Hecht
> On September 14, 2018 at 11:10 AM Laurent Pinchart > wrote: > > > The official way to stop the display is to clear the display enable > (DEN) bit in the DSYSR register, but that operates at a group level and > affects the two channels in the group. To disable channels selectively, > the driv

[PATCH] drm: stm: implement get_scanout_position function

2018-09-27 Thread Yannick FERTRE
Reviewed-by/tested-by: yannick.fer...@st.com Forwarded Message Subject: [PATCH] drm: stm: implement get_scanout_position function Date: Fri, 29 Jun 2018 15:01:40 +0200 From: Benjamin Gaignard To: yannick.fer...@st.com, philippe.co...@st.com, airl...@linux.ie CC: dri-devel@lists.

Re: [PATCH] Revert "drm/sun4i: Remove R40 display pipeline compatibles"

2018-09-27 Thread Sean Paul
On Fri, Sep 21, 2018 at 10:27:43PM +0800, Chen-Yu Tsai wrote: > This reverts commit 3510e7a7f91088159bfc67e8abdc9f9e77d28870. > > During the 4.19 merge window for drm-misc, two patches critical to > supporting the display pipeline on the Allwinner R40 SoC were missed. > They were applied later but

Re: [GIT PULL] drm-hisilicon-next-2018-09-26

2018-09-27 Thread Xinliang Liu
On Thu, 27 Sep 2018 at 08:58, Dave Airlie wrote: > > On Wed, 26 Sep 2018 at 15:58, Xinliang Liu wrote: > > > > Hi Dave, > > A few changes for 4.20. Please pull. > > - A crash fix founded in recent linux-next from John Garry > > - One sparse warning fix from Souptick Joarder > > - Some xxx_unref c

Re: [PATCH 0/3] HiBMC driver fixes

2018-09-27 Thread Xinliang Liu
On Wed, 26 Sep 2018 at 17:54, John Garry wrote: > > On 26/09/2018 10:41, Xinliang Liu wrote: > > On Wed, 26 Sep 2018 at 16:46, John Garry wrote: > >> > >> On 26/09/2018 04:00, Xinliang Liu wrote: > >>> Thanks John, good addressing! > >>> The root cause as you said, our hibmc previous frame buffer

[PATCH] drm/msm/A6xx: Send the right perf index value to GMU

2018-09-27 Thread Sharat Masetty
The index of the perf table was being set in the wrong bit position in the register. With this fix, the GPU clock can be seen running at desired frequency. Signed-off-by: Sharat Masetty --- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

Re: [PATCH] drm/etnaviv: fix build error due to change in scheduler struct

2018-09-27 Thread Christian König
Am 27.09.2018 um 09:03 schrieb Lucas Stach: Am Donnerstag, den 27.09.2018, 08:27 +0200 schrieb Nayan Deshmukh: The work_tdr field was moved from drm_sched_job to drm_gpu_scheduler as part of a previous patch. Fixes: 4f07d88d8534 drm/scheduler: remove timeout work_struct from drm_sched_job Signe

Re: [RESEND PATCH] drm/atmel-hlcdc: Replace drm_dev_unref with drm_dev_put

2018-09-27 Thread Boris Brezillon
On Wed, 26 Sep 2018 13:35:00 +0200 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. > > Signed-off-by: Thomas Zimmermann Queued to drm-misc

Re: [PATCH] drm/ttm, drm/vmwgfx: Move the lock- and object functionality to the vmwgfx driver

2018-09-27 Thread Christian König
Am 26.09.2018 um 21:20 schrieb Thomas Hellstrom: No other driver is using this functionality so move it out of TTM and into the vmwgfx driver. Update includes and remove exports. Also annotate to remove false static analyzer lock balance warnings. Cc: Christian König Signed-off-by: Thomas Hells

[PULL] drm-misc-next

2018-09-27 Thread Sean Paul
Hi Dave, Thanks for the backmerge, we now have sun4i R40 support in again. Also noteworthy for this week are 3 new additions to -misc. This is very likely the last -misc-next pull for 4.20, but I'll see how things go in the next ~week. drm-misc-next-2018-09-27: drm-misc-next for 4.20: UAPI Ch

[PULL] drm-intel-next

2018-09-27 Thread Joonas Lahtinen
Hi Dave, Here's the second and final set of changes for v4.20, tagged last Friday before -rc5. We run it through the testing with the CI farm machines and found no regressions. Most user noticeable things are MythTV video stuttering regression fix for older hardware, black screen fix on resume wh

[PULL] drm-misc-fixes

2018-09-27 Thread Maarten Lankhorst
drm-misc-fixes-2018-09-27: Single fix on top of v4.19-rc5. drm-misc-fixes for v4.19-rc6: - Don't leak fences in drm/syncobj The following changes since commit 6bf4ca7fbc85d80446ac01c0d1d77db4d91a6d84: Linux 4.19-rc5 (2018-09-23 19:15:18 +0200) are available in the Git repository at: git://a

Re: [PATCH] drm/amd/display: Change status's type in aux_reply_transaction_data

2018-09-27 Thread Harry Wentland
On 2018-09-24 06:22 PM, Nathan Chancellor wrote: > On Mon, Sep 24, 2018 at 03:07:16PM -0700, Nick Desaulniers wrote: >> On Fri, Sep 21, 2018 at 2:55 PM Nathan Chancellor >> wrote: >>> >>> Clang warns when one enumerated type is implicitly converted to another. >>> >>> drivers/gpu/drm/amd/amdgpu/..

Re: [PATCH] drm/rockchip: vop: add rk3188 hs_start interrupt as dsp_hold equivalent

2018-09-27 Thread Heiko Stuebner
Am Sonntag, 23. September 2018, 14:37:30 CEST schrieb Heiko Stuebner: > The hs_start interrupt on rk3188 fires at the start of a new frame, so > serves essentially the same purpose as the dsp_hold_valid irq in checking > when the last frame got delivered when going to standby. So define it > to fix

[PATCH] drm/v3d: fix build error due to change in scheduler struct

2018-09-27 Thread Nayan Deshmukh
The work_tdr field was moved from drm_sched_job to drm_gpu_scheduler as part of a previous patch. Fixes: 4f07d88d8534 drm/scheduler: remove timeout work_struct from drm_sched_job Signed-off-by: Nayan Deshmukh --- drivers/gpu/drm/v3d/v3d_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [PATCH] drm/imx: fix build failure without CONFIG_DRM_FBDEV_EMULATION

2018-09-27 Thread Noralf Trønnes
Den 26.09.2018 21.38, skrev Arnd Bergmann: The variable is declared in an #ifdef section, but the user is now unconditional, which leads to a build failure: drivers/gpu/drm/imx/imx-drm-core.c: In function 'imx_drm_bind': drivers/gpu/drm/imx/imx-drm-core.c:264:6: error: 'legacyfb_depth' undeclar

Re: [PATCH] drm: stm: implement get_scanout_position function

2018-09-27 Thread Yannick FERTRE
Reviewed-by: Yannick Fertré Tested-by: Yannick Fertré On 09/27/2018 10:15 AM, Yannick FERTRE wrote: > Reviewed-by/tested-by: yannick.fer...@st.com > > Forwarded Message > Subject: [PATCH] drm: stm: implement get_scanout_position function > Date: Fri, 29 Jun 2018 15:01:40 +0200

Re: [PATCH 14/20] drm/stm: Use drm_fbdev_generic_setup()

2018-09-27 Thread Yannick FERTRE
Hi Noralf, many thanks for your patch. Acked-by: Yannick Fertré On 09/08/2018 03:46 PM, Noralf Trønnes wrote: > The CMA helper is already using the drm_fb_helper_generic_probe part of > the generic fbdev emulation. This patch makes full use of the generic > fbdev emulation by using its drm_clie

Re: [PATCH v5 8/9] drm/panel: simple: fix BOE/HV070WSA-100 timings

2018-09-27 Thread Thierry Reding
On Wed, Jul 25, 2018 at 05:46:43PM +0200, Andrzej Hajda wrote: > Panel timings were taken from vendor code and are not fully correct - refresh > rate is about 50Hz instead of 60Hz. The patch fixes it. > > Signed-off-by: Andrzej Hajda > --- > drivers/gpu/drm/panel/panel-simple.c | 14 +++-

Re: [PATCH 1/2] drm/panel: seiko-43wvf1g: Switch to SPDX identifier

2018-09-27 Thread Thierry Reding
On Thu, Jul 26, 2018 at 12:19:26AM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Adopt the SPDX license identifier headers to ease license compliance > management. > > Signed-off-by: Fabio Estevam > --- > drivers/gpu/drm/panel/panel-seiko-43wvf1g.c | 5 + > 1 file changed, 1 insert

Re: [PATCH 2/2] drm/panel: seiko-43wvf1g: Add missing ">" character in author's email

2018-09-27 Thread Thierry Reding
On Thu, Jul 26, 2018 at 12:19:27AM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > There is a missing ">" character in Marco's email. > > Fix it. > > Signed-off-by: Fabio Estevam > --- > drivers/gpu/drm/panel/panel-seiko-43wvf1g.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

[Bug 68799] [APITRACE] Hyper-Z lockup with Falcon BMS 4.32u6 on CAYMAN

2018-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=68799 --- Comment #9 from Stanisław Halik --- Last I know Hyper-Z was disabled due to few cases like this, and can be re-enabled through the `SB_DEBUG' environment variable. It would be interesting to see if r600 gallium-nine also exercises the freeze.

Re: [PATCH 0/5] Add CDTech 4.3" and 7" to panel-simple

2018-09-27 Thread Thierry Reding
On Tue, Jul 31, 2018 at 01:11:12AM +0200, Giulio Benetti wrote: > Add CDTech 4.3" S043WQ26H-CT7 support > Add CDTech 7" S070WV95-CT16 support > > Giulio Benetti (5): > dt-bindings: Add vendor prefix for CDTech(H.K.) Electronics Limited > drm/panel: add panel CDTech S070WV95-CT16 to panel-simpl

Re: [PATCH] drm/panel: p079zca: unconditionally remove the panel on removal

2018-09-27 Thread Thierry Reding
On Thu, Aug 16, 2018 at 04:09:20PM +0200, Heiko Stuebner wrote: > There is no need to check innolux->base.dev when trying to remove > the panel, as that variable is always set directly before the panel > gets added and will still be available on panel_remove. > > Signed-off-by: Heiko Stuebner > -

Re: [PATCH v4] drm/panel: add Kingdisplay kd097d04 panel driver

2018-09-27 Thread Thierry Reding
On Fri, Aug 17, 2018 at 11:37:31AM +0200, Heiko Stuebner wrote: > From: Nickey Yang > > Support Kingdisplay kd097d04 9.7" 1536x2048 TFT LCD panel, > it is a MIPI dual-DSI panel. > > v4: > - address Philipp's comments > - real range for usleep_range and > - poweroff ordering in kingdisplay_pa

Re: [PATCH v8 1/2] drm/panel: Add support for Truly NT35597 panel driver

2018-09-27 Thread Thierry Reding
On Thu, Sep 20, 2018 at 03:52:36PM -0700, Abhinav Kumar wrote: > From: "abhin...@codeaurora.org" > > Add support for Truly NT35597 panel driver used > in MSM reference platforms. > > This panel driver supports both single DSI and dual DSI > modes. > > However, this patch series adds support onl

Re: [PATCH v2 4/6] drm/panel: simple: Add support for Banana Pi 7" S070WV20-CT16 panel

2018-09-27 Thread Thierry Reding
On Fri, Sep 07, 2018 at 12:19:46PM +0800, Chen-Yu Tsai wrote: > This panel is marketed as Banana Pi 7" LCD display. On the back is > a sticker denoting the model name S070WV20-CT16. > > This is a 7" 800x480 panel connected through a 24-bit RGB interface. > However the panel only does 262k colors.

Re: [PATCH] drm/panel: simple: Add DLC1010GIG panel

2018-09-27 Thread Thierry Reding
On Mon, Sep 24, 2018 at 05:26:10PM +0200, Marco Felsch wrote: > Add support for the DLC DLC1010GIG 1280x800 10.1" LVDS panel to the > simple-panel driver. > > Signed-off-by: Marco Felsch > --- > .../bindings/display/panel/dlc,dlc1010gig.txt | 12 +++ > drivers/gpu/drm/panel/panel-simple.c

Re: [PATCH v3 09/11] drm/fsl-dcu: Use drm_fb_cma_fbdev_init/fini()

2018-09-27 Thread Noralf Trønnes
Den 26.09.2018 22.26, skrev Stefan Agner: On 08.12.2017 20:37, Noralf Trønnes wrote: Use drm_fb_cma_fbdev_init() and drm_fb_cma_fbdev_fini() which relies on the fact that drm_device holds a pointer to the drm_fb_helper structure. This means that the driver doesn't have to keep track of that. Al

Re: [PATCH] drm/v3d: fix build error due to change in scheduler struct

2018-09-27 Thread Christian König
Am 27.09.2018 um 12:30 schrieb Nayan Deshmukh: The work_tdr field was moved from drm_sched_job to drm_gpu_scheduler as part of a previous patch. Fixes: 4f07d88d8534 drm/scheduler: remove timeout work_struct from drm_sched_job Signed-off-by: Nayan Deshmukh I've squashed the two fixed together

Re: [PATCH] drm/panel: simple: Add DLC1010GIG panel

2018-09-27 Thread Thierry Reding
On Mon, Sep 24, 2018 at 05:26:10PM +0200, Marco Felsch wrote: > Add support for the DLC DLC1010GIG 1280x800 10.1" LVDS panel to the > simple-panel driver. > > Signed-off-by: Marco Felsch > --- > .../bindings/display/panel/dlc,dlc1010gig.txt | 12 +++ > drivers/gpu/drm/panel/panel-simple.c

Re: [PATCH v2 03/22] drm/arc: Use drm_fb_cma_fbdev_init/fini()

2018-09-27 Thread Noralf Trønnes
Den 27.09.2018 10.49, skrev Alexey Brodkin: Hi Noralf, On Wed, 2017-11-15 at 15:19 +0100, Noralf Trønnes wrote: Use drm_fb_cma_fbdev_init() and drm_fb_cma_fbdev_fini() which relies on the fact that drm_device holds a pointer to the drm_fb_helper structure. This means that the driver doesn't ha

[PATCH] Revert "drm/panel: Add device_link from panel device to DRM device"

2018-09-27 Thread Linus Walleij
This reverts commit 0c08754b59da5557532d946599854e6df28edc22. commit 0c08754b59da ("drm/panel: Add device_link from panel device to DRM device") creates a circular dependency under these circumstances: 1. The panel depends on dsi-host because it is MIPI-DSI child device. 2. dsi-host depends on

Re: [PATCH 04/12] drm/sun4i: sun6i_mipi_dsi: Enable missing DSI bus clock

2018-09-27 Thread Chen-Yu Tsai
Hi, On Thu, Sep 27, 2018 at 7:49 PM Jagan Teki wrote: > > DSI bus_clk is already available in sun6i_dsi but missed to > get the clk and process for enable/disable. > > This patch add support for it. > > Signed-off-by: Jagan Teki > --- > drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 8 > 1 f

Re: [PATCH v3 00/11] drm/cma-helper: Remove drm_fbdev_cma* functions

2018-09-27 Thread Noralf Trønnes
Den 08.12.2017 20.37, skrev Noralf Trønnes: These are the remaining patches not applied due to missing review and: - arm/hdlcd and rcar-du have started to use drm_fbdev_cma_set_suspend_unlocked() since last, so I have added patches converting them to drm_mode_config_helper_suspend/resume()

Re: [PATCH v4] drm/panel: add Kingdisplay kd097d04 panel driver

2018-09-27 Thread Heiko Stuebner
Hi Thierry, Am Donnerstag, 27. September 2018, 14:07:21 CEST schrieb Thierry Reding: > On Fri, Aug 17, 2018 at 11:37:31AM +0200, Heiko Stuebner wrote: > > From: Nickey Yang > > > > Support Kingdisplay kd097d04 9.7" 1536x2048 TFT LCD panel, > > it is a MIPI dual-DSI panel. > > > > v4: > > - addr

[Bug 108049] [vega10] amdgpu fails to either wake up the GPU or while putting it to sleep

2018-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108049 --- Comment #3 from Nicholas Kazlauskas --- The kernel you want to try for the latest amdgpu code is the amd-staging-drm-next branch from the repository linked: https://cgit.freedesktop.org/~agd5f/linux/ -- You are receiving this mail because

Re: [PATCH] drm: stm: implement get_scanout_position function

2018-09-27 Thread Benjamin Gaignard
Le jeu. 27 sept. 2018 à 13:32, Yannick FERTRE a écrit : > > Reviewed-by: Yannick Fertré > Tested-by: Yannick Fertré Applied on drm-misc-next, Thanks, Benjamin > > On 09/27/2018 10:15 AM, Yannick FERTRE wrote: > > Reviewed-by/tested-by: yannick.fer...@st.com > > > > Forwarded Message -

[Bug 108086] mesa 18.2.x line is crashing and disabling kwin_x11 and effects thereof, no problem with 18.1.x

2018-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108086 Bug ID: 108086 Summary: mesa 18.2.x line is crashing and disabling kwin_x11 and effects thereof, no problem with 18.1.x Product: Mesa Version: 18.2 Hardware: Other

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

2018-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106940 --- Comment #43 from Nicholas Kazlauskas --- Did you get around to trying Alex's patch? Does the black screen still occur with it? -- You are receiving this mail because: You are the assignee for the bug.___

Re: [Intel-gfx] [RFC 1/3] drm: Add colorspace property

2018-09-27 Thread Ville Syrjälä
On Thu, Sep 27, 2018 at 04:29:52AM +, Shankar, Uma wrote: > > > >-Original Message- > >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] > >Sent: Wednesday, September 26, 2018 3:12 PM > >To: Maarten Lankhorst > >Cc: Shankar, Uma ; Adam Jackson > >; intel-...@lists.freedeskto

Re: [PATCH] Revert "drm/panel: Add device_link from panel device to DRM device"

2018-09-27 Thread Sean Paul
[actually Cc Eric and Andrzej] On Thu, Sep 27, 2018 at 02:41:30PM +0200, Linus Walleij wrote: > This reverts commit 0c08754b59da5557532d946599854e6df28edc22. > > commit 0c08754b59da > ("drm/panel: Add device_link from panel device to DRM device") > creates a circular dependency under these circu

[Bug 108086] mesa 18.2.x line is crashing and disabling kwin_x11 and effects thereof, no problem with 18.1.x

2018-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108086 --- Comment #1 from Denis --- hi, could you please clarify the CPU model? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedeskt

Re: [linux-sunxi] Re: [PATCH 04/12] drm/sun4i: sun6i_mipi_dsi: Enable missing DSI bus clock

2018-09-27 Thread Chen-Yu Tsai
On Thu, Sep 27, 2018 at 9:44 PM Jagan Teki wrote: > > On Thu, Sep 27, 2018 at 6:13 PM Chen-Yu Tsai wrote: > > > > Hi, > > > > On Thu, Sep 27, 2018 at 7:49 PM Jagan Teki > > wrote: > > > > > > DSI bus_clk is already available in sun6i_dsi but missed to > > > get the clk and process for enable/di

[Bug 108086] mesa 18.2.x line is crashing and disabling kwin_x11 and effects thereof, no problem with 18.1.x

2018-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108086 --- Comment #2 from jeckfer...@gmail.com --- CPU model is intel haswell pentium. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.fre

Re: [PATCH] Revert "drm/panel: Add device_link from panel device to DRM device"

2018-09-27 Thread Andrzej Hajda
On 27.09.2018 15:50, Sean Paul wrote: > [actually Cc Eric and Andrzej] > > On Thu, Sep 27, 2018 at 02:41:30PM +0200, Linus Walleij wrote: >> This reverts commit 0c08754b59da5557532d946599854e6df28edc22. >> >> commit 0c08754b59da >> ("drm/panel: Add device_link from panel device to DRM device") >> c

Re: [PATCH] drm/amd/powerplay: Change id parameter type in pp_atomfwctrl_get_clk_information_by_clkid

2018-09-27 Thread Alex Deucher
Applied. thanks! Alex On Sat, Sep 22, 2018 at 2:29 AM Nathan Chancellor wrote: > > Clang generates warnings when one enumerated type is implicitly > converted to another. > > drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/ppatomfwctrl.c:532:57: > warning: implicit conversion from enumeration type

[Bug 108086] mesa 18.2.x line is crashing and disabling kwin_x11 and effects thereof, no problem with 18.1.x

2018-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108086 jeckfer...@gmail.com changed: What|Removed |Added OS|All |Linux (All) Severity|no

Re: [PATCH] Revert "drm/panel: Add device_link from panel device to DRM device"

2018-09-27 Thread Sean Paul
On Thu, Sep 27, 2018 at 04:25:56PM +0200, Andrzej Hajda wrote: > On 27.09.2018 15:50, Sean Paul wrote: > > [actually Cc Eric and Andrzej] > > > > On Thu, Sep 27, 2018 at 02:41:30PM +0200, Linus Walleij wrote: > >> This reverts commit 0c08754b59da5557532d946599854e6df28edc22. > >> > >> commit 0c0875

[Bug 108086] mesa 18.2.x line is crashing and disabling kwin_x11 and effects thereof, no problem with 18.1.x

2018-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108086 Mike Lothian changed: What|Removed |Added CC||m...@fireburn.co.uk --- Comment #3 from

Re: [PATCH 06/12] drm/sun4i: sun6i_mipi_dsi: Fix VBP size calculation

2018-09-27 Thread Maxime Ripard
On Thu, Sep 27, 2018 at 05:18:44PM +0530, Jagan Teki wrote: > According to horizontal and vertical timings are defined > per the diagram from include/drm/drm_modes.h > > Back porch = [hv]total - [hv]sync_end > > So, update SUN6I_DSI_BASIC_SIZE0_VBP calculation as > mode->vtotal - mode->vsync_end >

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

2018-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106940 --- Comment #44 from SET --- (In reply to Nicholas Kazlauskas from comment #43) > Did you get around to trying Alex's patch? Does the black screen still occur > with it? Please see comment #29. No black screen with the patch. But suspend will

[PULL] drm-misc-fixes

2018-09-27 Thread Sean Paul
Hi Dave, Linus posted the device_link revert after Maarten's PR earlier today, and I figured it was worthwhile enough to warrant a second pull. So here is Maarten's pull along with Linus' revert. Apologies for the extra mail :/ drm-misc-fixes-2018-09-27-1: - Revert adding device-link to panels

  1   2   >