[Bug 106957] GPU runtime suspend broken since 4.17

2018-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106957 --- Comment #8 from p...@cooco.de --- Created attachment 140242 --> https://bugs.freedesktop.org/attachment.cgi?id=140242&action=edit dmesg with second debug patch # grep . /sys/bus/hdaudio/devices/hdaudioC1D0/widgets/*/power_caps /sys/bus/hda

Re: [RFC PATCH v2 1/2] drm: Add generic colorkey properties

2018-06-20 Thread Russell King - ARM Linux
On Tue, May 29, 2018 at 10:11:03AM +0300, Ville Syrjälä wrote: > On Tue, May 29, 2018 at 02:48:22AM +0300, Dmitry Osipenko wrote: > > Though maybe "color components replacement" and "replacement with a complete > > transparency" could be factored out into a specific color keying modes. > > Yes. I'

[PATCH 4/4] drm/i915/intel_dsi: Read back pclk set by GOP and use that as pclk

2018-06-20 Thread Hans de Goede
On BYT and CHT the GOP sometimes initializes the pclk at a (slightly) different frequency then the pclk which we've calculated. This commit makes the DSI code read-back the pclk set by the GOP and if that is within a reasonable margin of the calculated pclk, uses that instead. This fixes the firs

Re: [PATCH V3 1/7] backlight: qcom-wled: Rename pm8941-wled.c to qcom-wled.c

2018-06-20 Thread Bjorn Andersson
On Tue 19 Jun 04:13 PDT 2018, Kiran Gunda wrote: > pm8941-wled.c driver is supporting the WLED peripheral > on pm8941. Rename it to qcom-wled.c so that it can support > WLED on multiple PMICs. > > Signed-off-by: Kiran Gunda Please carry any tags acquired when reposting patches without changes a

Re: [PATCH V3 3/7] backlight: qcom-wled: Add new properties for PMI8998

2018-06-20 Thread kgunda
On 2018-06-20 04:33, Bjorn Andersson wrote: On Tue 19 Jun 04:13 PDT 2018, Kiran Gunda wrote: diff --git a/Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt b/Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt [..] - qcom,num-strings Usage:optional

Re: [PATCH] efi/fb: Convert PCI bus address to resource if translated by the bridge

2018-06-20 Thread Sinan Kaya
Hi Bjorn, On 6/19/2018 5:59 PM, Bjorn Helgaas wrote: > On Fri, May 18, 2018 at 10:20:29AM -0400, Sinan Kaya wrote: >> On 5/18/2018 6:42 AM, Robin Murphy wrote: >>> >>> FWIW, now that I've actually gone and looked, it appears you could simplify >>> the whole function quite a bit by getting rid of

[PATCH] video: fbdev: simplefb: Stop including

2018-06-20 Thread Geert Uytterhoeven
Simplefb is not a clock provider, but it uses of_clk_get_parent_count(), so it can just include instead. Signed-off-by: Geert Uytterhoeven --- drivers/video/fbdev/simplefb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/simplefb.c b/drivers/video/fbdev/

[PATCH 2/4] drm/i915/intel_dsi: Move initialization of encoder variables up a bit

2018-06-20 Thread Hans de Goede
Move the initialization of encoder variables a bit higher inside the intel_dsi_init() function. So that the encoder can safely be passed to intel_connector_get_hw_state() inside intel_dsi_vbt_init(). This is a preparation patch for reading back the GOP configured pclk from intel_dsi_vbt_init(). S

Re: [PATCH V3 3/7] backlight: qcom-wled: Add new properties for PMI8998

2018-06-20 Thread Bjorn Andersson
On Tue 19 Jun 04:13 PDT 2018, Kiran Gunda wrote: > diff --git a/Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt > b/Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt [..] > - qcom,num-strings > Usage:optional > Value type: > Definition: #

Re: [PATCH V3 4/7] backlight: qcom-wled: Rename PM8941* to WLED3

2018-06-20 Thread Bjorn Andersson
On Tue 19 Jun 04:13 PDT 2018, Kiran Gunda wrote: > Rename the PM8941* references as WLED3 to make the > driver generic and have WLED support for other PMICs. > Looks good, just three minor comments below. > Signed-off-by: Kiran Gunda > --- > drivers/video/backlight/qcom-wled.c | 248 > ++

[PATCH 3/4] drm/i915/intel_dsi: Make intel_connector_get_hw_state() non static

2018-06-20 Thread Hans de Goede
Make intel_connector_get_hw_state() non static so that it can be called from the intel_dsi_vbt.c code. This is a preparation patch for reading back the GOP configured pclk from intel_dsi_vbt_init(). Signed-off-by: Hans de Goede --- drivers/gpu/drm/i915/intel_dsi.c | 3 +-- drivers/gpu/drm/i915/

Re: [PATCH V3 7/7] backlight: qcom-wled: Add auto string detection logic

2018-06-20 Thread Bjorn Andersson
On Tue 19 Jun 04:13 PDT 2018, Kiran Gunda wrote: > The auto string detection algorithm checks if the current WLED > sink configuration is valid. It tries enabling every sink and > checks if the OVP fault is observed. Based on this information > it detects and enables the valid sink configuration.

Re: [PATCH V3 5/7] backlight: qcom-wled: Add support for WLED4 peripheral

2018-06-20 Thread Bjorn Andersson
On Tue 19 Jun 04:13 PDT 2018, Kiran Gunda wrote: > WLED4 peripheral is present on some PMICs like pmi8998 and > pm660l. It has a different register map and configurations > are also different. Add support for it. > > Signed-off-by: Kiran Gunda > --- > drivers/video/backlight/qcom-wled.c | 635

Re: [PATCH V3 6/7] backlight: qcom-wled: add support for short circuit handling

2018-06-20 Thread Bjorn Andersson
On Tue 19 Jun 04:13 PDT 2018, Kiran Gunda wrote: > Handle the short circuit interrupt and check if the short circuit > interrupt is valid. Re-enable the module to check if it goes > away. Disable the module altogether if the short circuit event > persists. > > Signed-off-by: Kiran Gunda > --- >

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

2018-06-20 Thread Tony Lindgren
* Tomi Valkeinen [180619 08:29]: > On 19/06/18 09:24, Tony Lindgren wrote: > > * Tomi Valkeinen [180618 13:25]: > >> Hi, > >> > >> > >> This is a new DRM driver for Texas Instruments' Keystone K2G an

[PATCH 0/4] drm/i915/intel_dsi: Read back and use pclk set by the GOP

2018-06-20 Thread Hans de Goede
Hi All, This patch-set is the result of the work I've been doing recently to give people a smooth "flickerfree" boot experience where the display keeps displaying the logo put there by the firmware until it smoothly fades into the Linux GUI (e.g. gdm). While testing this on some BYT/CHT devices I

Re: [PATCH V3 1/7] backlight: qcom-wled: Rename pm8941-wled.c to qcom-wled.c

2018-06-20 Thread kgunda
On 2018-06-20 04:24, Bjorn Andersson wrote: On Tue 19 Jun 04:13 PDT 2018, Kiran Gunda wrote: pm8941-wled.c driver is supporting the WLED peripheral on pm8941. Rename it to qcom-wled.c so that it can support WLED on multiple PMICs. Signed-off-by: Kiran Gunda Please carry any tags acquired wh

Re: [PATCH V3 2/7] backlight: qcom-wled: restructure the qcom-wled bindings

2018-06-20 Thread Bjorn Andersson
On Tue 19 Jun 04:13 PDT 2018, Kiran Gunda wrote: > Restructure the qcom-wled bindings for the better readability. > > Signed-off-by: Kiran Gunda Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > .../bindings/leds/backlight/qcom-wled.txt | 110 > - > 1 file ch

Re: [PATCH] drm/nouveau/secboot/acr: Remove VLA usage

2018-06-20 Thread Kees Cook
On Thu, May 24, 2018 at 10:24 AM, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > allocates the working buffers before starting the writing so it won't > abort in the middle. This needs an initial walk of the lists to figure > out how large the buffer shoul

Re: [PATCH V3 4/7] backlight: qcom-wled: Rename PM8941* to WLED3

2018-06-20 Thread kgunda
On 2018-06-20 04:41, Bjorn Andersson wrote: On Tue 19 Jun 04:13 PDT 2018, Kiran Gunda wrote: Rename the PM8941* references as WLED3 to make the driver generic and have WLED support for other PMICs. Looks good, just three minor comments below. Signed-off-by: Kiran Gunda --- drivers/video/

[PATCH 1/4] drm/i915/intel_dsi: Allow calling intel_dsi_get_pclk with a NULL config

2018-06-20 Thread Hans de Goede
Allow calling intel_dsi_get_pclk without passing in an intel_crtc_state. This is a preparation patch for reading back the GOP configured DSI clk during probe. Signed-off-by: Hans de Goede --- drivers/gpu/drm/i915/intel_dsi_pll.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions

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

2018-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106940 --- Comment #14 from Michel Dänzer --- (In reply to SET from comment #13) > I'm giving up on bisecting, it's getting out of control, sorry. What's the problem? -- You are receiving this mail because: You are the assignee for the bug._

Re: [PATCH v6 12/29] drm/mediatek: Update the definition of connection from RDMA1 to DPI0

2018-06-20 Thread Stu Hsieh
Hi, CK: On Tue, 2018-06-19 at 16:20 +0800, CK Hu wrote: > Hi, Stu: > > On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > > This patch update the definition of connection from RDMA1 to DPI0. > > Change the term MOUT to SOUT. > > > > I would like commit message describe 'why' of this patch. B

[PATCH v7 01/29] drm/mediatek: update dt-bindings for mt2712

2018-06-20 Thread Stu Hsieh
Update device tree binding documentation for the display subsystem for Mediatek MT2712 SoCs. Signed-off-by: Stu Hsieh Acked-by: CK Hu Acked-by: Rob Herring --- Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v7 03/29] drm/mediatek: add ddp component AAL1

2018-06-20 Thread Stu Hsieh
This patch add component AAL1 and rename AAL to AAL0 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 2 +- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 3 ++- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 3 ++- drivers/gpu/drm/mediatek/mtk_drm_drv

[PATCH v7 22/29] drm/mediatek: add connection from RDMA2 to DSI1

2018-06-20 Thread Stu Hsieh
This patch add the connection from RDMA2 to DSI1 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index a4b418302f32

[PATCH v7 02/29] drm/mediatek: support maximum 64 mutex mod

2018-06-20 Thread Stu Hsieh
This patch support that if modules more than 32, add index more than 31 when using DISP_REG_MUTEX_MOD2 bit Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 75 +- 1 file changed, 47 insertions(+), 28 deletions(-) diff --gi

[PATCH v7 15/29] drm/mediatek: add connection from RDMA0 to DSI3

2018-06-20 Thread Stu Hsieh
This patch add the connection from RDMA0 to DSI3 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index f985bad61d83..46

[PATCH v7 00/29] Add support for mediatek SOC MT2712

2018-06-20 Thread Stu Hsieh
This patch add support for the Mediatek MT2712 DISP subsystem. MT2712 is base on MT8173, there are some difference as following: MT2712 support three disp output(two ovl and one rdma) Change in v6: - Update commit message for the patch "drm/mediatek: Update the definition of connection from RDMA

[PATCH v7 08/29] drm/mediatek: add component DSI2

2018-06-20 Thread Stu Hsieh
This patch add the component DSI2 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 2 ++ drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/

[PATCH v7 14/29] drm/mediatek: add connection from RDMA0 to DSI2

2018-06-20 Thread Stu Hsieh
This patch add the connection from RDMA0 to DSI2 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 3a3f37f523f2..f9

[PATCH v7 04/29] drm/mediatek: add ddp component OD1

2018-06-20 Thread Stu Hsieh
This patch add the component OD1 and rename the OD to OD0 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 4 ++-- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 3 ++- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 3 ++- drivers/gpu/drm/mediatek/mtk_

[PATCH v7 06/29] drm/mediatek: add ddp component PWM2

2018-06-20 Thread Stu Hsieh
This patch add component PWM2 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/media

[PATCH v7 09/29] drm/mediatek: add component DSI3

2018-06-20 Thread Stu Hsieh
This patch add the component DSI3 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 2 ++ drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/

[PATCH v7 24/29] drm/mediatek: add connection from RDMA2 to DSI3

2018-06-20 Thread Stu Hsieh
This patch add the connection from RDMA2 to DSI3 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index e5db1ab51c9b

[PATCH v7 10/29] drm/mediatek: add the DSI1 for component init condition

2018-06-20 Thread Stu Hsieh
This patch add the DSI1 for component init condition Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c index 1

[PATCH v7 16/29] drm/mediatek: add connection from RDMA1 to DPI1

2018-06-20 Thread Stu Hsieh
This patch add the connection from RDMA1 to DPI1 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 463ed7830d17

[PATCH v7 07/29] drm/mediatek: add component DPI1

2018-06-20 Thread Stu Hsieh
This patch add the component DPI1 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 2 ++ drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/

[PATCH v7 17/29] drm/mediatek: add connection from RDMA1 to DSI1

2018-06-20 Thread Stu Hsieh
This patch add the connection from RDMA1 to DSI1 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 13e91903f49

[PATCH v7 21/29] drm/mediatek: add connection from RDMA2 to DPI1

2018-06-20 Thread Stu Hsieh
This patch add the connection from RDMA2 to DPI1 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index c88742a6c2b9

[PATCH v7 19/29] drm/mediatek: add connection from RDMA1 to DSI3

2018-06-20 Thread Stu Hsieh
This patch add the connection from RDMA1 to DSI3 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 9cf2fcb4932a

[PATCH v7 25/29] drm/mediatek: add DPI1 support for mutex

2018-06-20 Thread Stu Hsieh
This patch add the DPI1 support for mutex Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 0a1b967cab1b..4c203d01

[PATCH v7 13/29] drm/mediatek: add connection from RDMA0 to DPI0

2018-06-20 Thread Stu Hsieh
This patch add the connection from RDMA0 to DPI0 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 977df8facb79..3

[PATCH v7 12/29] drm/mediatek: Update the definition of connection from RDMA1 to DPI0

2018-06-20 Thread Stu Hsieh
This patch update the definition of connection from RDMA1 to DPI0. Change the term MOUT to SOUT. Because our HW datasheet use the term SOUT to match its function for RDMA. For consistency, changing the name from MOUT to SOUT is better. Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_d

[PATCH v7 11/29] drm/mediatek: add connection from OD1 to RDMA1

2018-06-20 Thread Stu Hsieh
This patch add the connection from OD1 to RDMA1 for ext path. Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 58e

[PATCH v7 23/29] drm/mediatek: add connection from RDMA2 to DSI2

2018-06-20 Thread Stu Hsieh
This patch add the connection from RDMA2 to DSI2 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index db78fad785e3

[PATCH v7 26/29] drm/mediatek: add DSI2 support for mutex

2018-06-20 Thread Stu Hsieh
This patch add the DSI2 support for mutex Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 4c203d013d7c..a0b526b1

[PATCH v7 28/29] drm/mediatek: add third ddp path

2018-06-20 Thread Stu Hsieh
This patch create third crtc by third ddp path Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 3 +++ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 5 + drivers/gpu/drm/mediatek/mtk_drm_drv.h | 5 - 3 files changed, 12 insertions(+), 1 deletion(-)

[PATCH v7 18/29] drm/mediatek: add connection from RDMA1 to DSI2

2018-06-20 Thread Stu Hsieh
This patch add the connection from RDMA1 to DSI2 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 90228cad051

[PATCH v7 29/29] drm/mediatek: Add support for mediatek SOC MT2712

2018-06-20 Thread Stu Hsieh
This patch add support for the Mediatek MT2712 DISP subsystem. There are two OVL engine and three disp output in MT2712. Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 39 ++ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 38 ++

[PATCH v7 20/29] drm/mediatek: add connection from RDMA2 to DPI0

2018-06-20 Thread Stu Hsieh
This patch add the connection from RDMA2 to DPI0 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index d0d5f337ce1

[PATCH v7 27/29] drm/mediatek: add DSI3 support for mutex

2018-06-20 Thread Stu Hsieh
This patch add the DSI3 support for mutex Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index a0b526b16da1..15e436d4

[PATCH v7 05/29] drm/mediatek: add ddp component PWM1

2018-06-20 Thread Stu Hsieh
This patch add component PWM1 in mtk_ddp_matches Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c index 87acf

Re: [PATCH v7 12/29] drm/mediatek: Update the definition of connection from RDMA1 to DPI0

2018-06-20 Thread CK Hu
On Wed, 2018-06-20 at 16:19 +0800, Stu Hsieh wrote: > This patch update the definition of connection from RDMA1 to DPI0. > Change the term MOUT to SOUT. > > Because our HW datasheet use the term SOUT to match its function for RDMA. > For consistency, changing the name from MOUT to SOUT is better.

Re: [PATCH] drm: fix pci_dev root device is NULL without check.

2018-06-20 Thread Maarten Lankhorst
Op 19-06-18 om 09:47 schreef Caicai: > on my laptop with ATI Radeon R7 350 graphics card,I found root was > NULL,we should check > the device before get/set pcie speed cap mask. Here is my messages. > [8.996093] [drm] radeon kernel modesetting enabled. > [8.996093] [drm] in

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

2018-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106940 --- Comment #15 from SET --- After narrowing good and bad commits between june 4th and 6th, it started to test commits in april, then december. Some commits don't compile and must be skipped. This is going endless, can't continue. -- You are r

[Bug 199619] screen stays dark for long on bootup since kernel 4.17.0-rc2+

2018-06-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199619 --- Comment #10 from Giorgio (giorgio.colacc...@gmail.com) --- Hi Elmar, sorry that I couldn't be of any help to you.I hope that the the next (kernel) incremental patches will fix the bug... -- You are receiving this mail because: You are w

Re: [PATCH v2 05/14] drm/sti: Try to fix up the tvout possible clones

2018-06-20 Thread Benjamin Gaignard
2018-06-18 14:38 GMT+02:00 Ville Syrjala : > From: Ville Syrjälä > > The current possible_clones setup doesn't look sensible. I'm assuming > the 0 and 1 are supposed to refer to the indexes of the hdmi and hda > encoders? So it kinda looks like we want hda+hdmi cloning, but then > dvo also claims

[Bug 106747] [CI] igt@* - crash - An internal exception that should have been handled was not: UnicodeDecodeError

2018-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106747 --- Comment #3 from Petri Latvala --- The UnicodeDecodeError is in the results.json file as is, so it's produced at test run time, not an visualization generation error. The test printed something that wasn't valid UTF-8, and piglit is assuming

[Bug 105166] account request for drm-misc

2018-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105166 --- Comment #2 from Daniel Vetter --- Acked from my side. See https://01.org/linuxgraphics/gfx-docs/maintainer-tools/getting-started.html for getting started once you have commit rights. -- You are receiving this mail because: You are the ass

[Bug 105166] account request for drm-misc

2018-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105166 Daniel Vetter changed: What|Removed |Added Product|DRI |freedesktop.org Component|Gene

Re: [PATCH v2 0/4] drm/tinydrm: new dirver for ILI9341 displays

2018-06-20 Thread Daniel Vetter
On Tue, Jun 19, 2018 at 5:36 PM, Noralf Trønnes wrote: > > Den 05.06.2018 17.49, skrev Noralf Trønnes: >> >> (cc: drm-misc maintainers) >> >> >> Den 04.06.2018 03.21, skrev David Lechner: >>> >>> >>> >>> On 6/3/18 5:00 PM, Noralf Trønnes wrote: Den 25.05.2018 21.36, skrev David Lech

Re: [PATCH 9/9] drm/msm: Always obey implicit fencing

2018-06-20 Thread Daniel Vetter
On Thu, Apr 05, 2018 at 05:44:49PM +0200, Daniel Vetter wrote: > Again same justification as for drm_gem_fb_prepare_fb(). > > Definitely needs some testing because Rob doesn't remember why he did > this, and Google/git.fd.o or anything also doesn't shed some light on > it. > > Signed-off-by: Dani

Re: [RFC PATCH v2 1/2] drm: Add generic colorkey properties

2018-06-20 Thread Daniel Vetter
On Tue, Jun 19, 2018 at 06:40:12PM +0100, Russell King - ARM Linux wrote: > On Tue, May 29, 2018 at 10:11:03AM +0300, Ville Syrjälä wrote: > > On Tue, May 29, 2018 at 02:48:22AM +0300, Dmitry Osipenko wrote: > > > Though maybe "color components replacement" and "replacement with a > > > complete >

Re: [Intel-gfx] [PATCH v2 09/12] drm/debugfs: Add internal client debugfs file

2018-06-20 Thread Daniel Vetter
On Mon, Jun 18, 2018 at 04:17:36PM +0200, Noralf Trønnes wrote: > Print the names of the internal clients currently attached. > > Signed-off-by: Noralf Trønnes Reviewed-by: Daniel Vetter > --- > drivers/gpu/drm/drm_client.c | 28 > drivers/gpu/drm/drm_debugfs.c |

[Bug 106363] Powerplay support for SI asics

2018-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106363 --- Comment #4 from Gregor Münch --- (In reply to Alex Deucher from comment #3) > dpm is enabled by default on SI parts so setting dpm=1 doesn't change > anything. This depends if you use amdgpu instead of radeon on SI. In that case amdgpu.dpm

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

2018-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106940 --- Comment #16 from Michel Dänzer --- (In reply to SET from comment #15) > After narrowing good and bad commits between june 4th and 6th, it started to > test commits in april, then december. That's normal, due to the non-linear Git history of

Re: [Intel-gfx] [PATCH v2 00/12] drm: Add generic fbdev emulation

2018-06-20 Thread Daniel Vetter
On Mon, Jun 18, 2018 at 04:17:27PM +0200, Noralf Trønnes wrote: > This patchset adds generic fbdev emulation for drivers that supports GEM > based dumb buffers which support .gem_prime_vmap and gem_prime_mmap. An > API is begun to support in-kernel clients in general. > > Notable changes since ver

Re: [RFC PATCH v2 1/2] drm: Add generic colorkey properties

2018-06-20 Thread Daniel Vetter
On Wed, Jun 20, 2018 at 11:33 AM, Russell King - ARM Linux wrote: > On Wed, Jun 20, 2018 at 11:17:50AM +0200, Daniel Vetter wrote: >> Yes -modesetting (or whichever other driver) would need to set up the >> properties correctly for Xvideo color keying. Since default assumption for >> all other (ge

Re: [PATCH v4 39/41] drm/i915: Implement the HDCP2.2 support for HDMI

2018-06-20 Thread Ramalingam C
On Thursday 31 May 2018 12:54 PM, Daniel Vetter wrote: On Mon, May 21, 2018 at 06:23:58PM +0530, Ramalingam C wrote: 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 Chang

Re: [PATCH v4 38/41] drm/i915: Implement the HDCP2.2 support for DP

2018-06-20 Thread Ramalingam C
On Thursday 31 May 2018 12:52 PM, Daniel Vetter wrote: On Mon, May 21, 2018 at 06:23:57PM +0530, Ramalingam C wrote: 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

Re: [PATCH] drm/exynos: gsc: Get device id from OF alias

2018-06-20 Thread Krzysztof Kozlowski
On 15 June 2018 at 14:26, Marek Szyprowski wrote: > Platform devices instantiated from device-tree always have pdev->id set to > -1, so use of_get_alias_id() helper to retrieve proper device id. > > Signed-off-by: Marek Szyprowski > --- > drivers/gpu/drm/exynos/exynos_drm_gsc.c | 9 +++-- >

[Bug 195159] nouveau incorrect ACPI usgage results in ACPI Error : AE_AML_PACKAGE_LIMIT

2018-06-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=195159 --- Comment #9 from Urgau (lolo.branst...@numericable.fr) --- Any update ? The problem is still here with the kernel 4.17.x -- You are receiving this mail because: You are watching the assignee of the bug. __

Re: [PATCH] drm/exynos: gsc: Get device id from OF alias

2018-06-20 Thread Andrzej Hajda
Hi Krzysztof, On 20.06.2018 12:40, Krzysztof Kozlowski wrote: > On 15 June 2018 at 14:26, Marek Szyprowski wrote: >> Platform devices instantiated from device-tree always have pdev->id set to >> -1, so use of_get_alias_id() helper to retrieve proper device id. >> >> Signed-off-by: Marek Szyprowsk

Re: [PATCH v4 38/41] drm/i915: Implement the HDCP2.2 support for DP

2018-06-20 Thread Daniel Vetter
On Wed, Jun 20, 2018 at 12:19 PM, Ramalingam C wrote: > > > On Thursday 31 May 2018 12:52 PM, Daniel Vetter wrote: >> >> On Mon, May 21, 2018 at 06:23:57PM +0530, Ramalingam C wrote: >>> >>> Implements the DP adaptation specific HDCP2.2 functions. >>> >>> These functions perform the DPCD read and

Re: [PATCH] drm/exynos: gsc: Get device id from OF alias

2018-06-20 Thread Krzysztof Kozlowski
On 20 June 2018 at 13:38, Andrzej Hajda wrote: > Hi Krzysztof, > > On 20.06.2018 12:40, Krzysztof Kozlowski wrote: >> On 15 June 2018 at 14:26, Marek Szyprowski wrote: >>> Platform devices instantiated from device-tree always have pdev->id set to >>> -1, so use of_get_alias_id() helper to retriev

RE: [PATCH v4 38/41] drm/i915: Implement the HDCP2.2 support for DP

2018-06-20 Thread C, Ramalingam
Best Regards, Ramalingam C > -Original Message- > From: daniel.vet...@ffwll.ch [mailto:daniel.vet...@ffwll.ch] On Behalf Of > Daniel Vetter > Sent: Wednesday, June 20, 2018 5:14 PM > To: C, Ramalingam > Cc: intel-gfx ; dri-devel de...@lists.freedesktop.org>; Sean Paul ; Chris > Wilson

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

2018-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106940 --- Comment #17 from SET --- This is where I'm up to : git bisect start # bad: [135c5504a600ff9b06e321694fbcac78a9530cd4] Merge tag 'drm-next-2018-06-06-1' of git://anongit.freedesktop.org/drm/drm git bisect bad 135c5504a600ff9b06e321694fbcac78

Re: [PATCH] drm/exynos: gsc: Get device id from OF alias

2018-06-20 Thread Andrzej Hajda
On 20.06.2018 13:53, Krzysztof Kozlowski wrote: > On 20 June 2018 at 13:38, Andrzej Hajda wrote: >> Hi Krzysztof, >> >> On 20.06.2018 12:40, Krzysztof Kozlowski wrote: >>> On 15 June 2018 at 14:26, Marek Szyprowski wrote: Platform devices instantiated from device-tree always have pdev->id se

Re: [PATCH 2/5] dma-buf: remove kmap_atomic interface

2018-06-20 Thread Christian König
Am 19.06.2018 um 17:35 schrieb Daniel Vetter: On Tue, Jun 19, 2018 at 4:47 PM, Christian König wrote: Am 18.06.2018 um 10:18 schrieb Daniel Vetter: On Fri, Jun 01, 2018 at 02:00:17PM +0200, Christian König wrote: Neither used nor correctly implemented anywhere. Just completely remove the inte

Re: [PATCH 7/9] drm/gem-fb-helper: Always do implicit sync

2018-06-20 Thread Daniel Vetter
On Tue, Apr 24, 2018 at 02:04:10PM +0200, Daniel Vetter wrote: > On Fri, Apr 20, 2018 at 03:11:24PM -0700, Eric Anholt wrote: > > Daniel Vetter writes: > > > > > I've done a lot of history digging. The first signs of this > > > optimization was introduced in i915: > > > > I can't come up with an

[DPU PATCH 1/5] drm/msm/dpu: remove smart dma support

2018-06-20 Thread Sravanthi Kollukuduru
Removing the smart dma feature implementation as it is currently not enabled on dpu driver. Signed-off-by: Sravanthi Kollukuduru --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 51 + drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 25 +-- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.

[DPU PATCH 2/5] drm/msm/dpu: enable cursor plane for primary crtc

2018-06-20 Thread Sravanthi Kollukuduru
Reserve one DMA pipe as cursor plane and also, update crtc support of cursor in crtc_init. Signed-off-by: Sravanthi Kollukuduru --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 7 ++-- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 3 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 5

[DPU PATCH 0/5] Introduce plane virtualization in DPU driver

2018-06-20 Thread Sravanthi Kollukuduru
Currently, each drm plane controls a single HW pipe. For all use cases where plane width exceeds the maximum pipe width, the DPU driver will require more than one HW pipe. This patchset enables virtualization of planes through the following changes: (1) Expose all the planes with the superset of f

[DPU PATCH 3/5] drm/msm/dpu: remove static binding of hw pipe to plane

2018-06-20 Thread Sravanthi Kollukuduru
Expose all planes with superset of formats and with no hw pipe static binding. Accordingly, remove checks from atomic_check reflecting the decoupling. Signed-off-by: Sravanthi Kollukuduru --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 26 +--- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.

[DPU PATCH 4/5] drm/msm/dpu: introduce state based plane resource management

2018-06-20 Thread Sravanthi Kollukuduru
A plane can be attached to a maximum of two hw pipes in case of wide resolution greater than pipe's max width limit. This mapping of hw pipe(s) to plane and number of pipes will be maintained in the plane state. Resource manager (RM) will handle the SSPP blocks reservation for a given plane. Signe

[DPU PATCH 5/5] drm/msm/dpu: dynamic assignment of hw pipe to plane

2018-06-20 Thread Sravanthi Kollukuduru
Currently, there exists a static binding of hw pipe to plane. This restricts wide plane support where plane width exceeds the pipe's maximum width. To enable such use cases, the hw pipes are dynamically (re)allocated to a plane during atomic check based on the plane capabilities. Signed-off-by: Sr

Re: [PATCH 2/5] dma-buf: remove kmap_atomic interface

2018-06-20 Thread Daniel Vetter
On Wed, Jun 20, 2018 at 2:46 PM, Christian König wrote: > Am 19.06.2018 um 17:35 schrieb Daniel Vetter: >> >> On Tue, Jun 19, 2018 at 4:47 PM, Christian König >> wrote: >>> >>> Am 18.06.2018 um 10:18 schrieb Daniel Vetter: On Fri, Jun 01, 2018 at 02:00:17PM +0200, Christian König wrote:

[PATCH] drm/tegra: Fix comparison operator for buffer size

2018-06-20 Thread Mikko Perttunen
Here we are checking for the buffer length, not an offset for writing to, so using > is correct. The current code incorrectly rejects a command buffer ending at the memory buffer's end. Signed-off-by: Mikko Perttunen --- drivers/gpu/drm/tegra/drm.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

[PATCH][next] drm/i915/psr: fix copy-paste error with setting of tp2_wakeup_time_us

2018-06-20 Thread Colin King
From: Colin Ian King Currently for the psr_table->tp2_tp3_wakeup_time case 3 there appears to be a copy-paste error from the previous switch statement where dev_priv->vbt.psr.tp1_wakeup_time_us is being assigned and I believe it should be dev_priv->vbt.psr.tp2_tp3_wakeup_time_us that should be as

Re: [DPU PATCH 2/5] drm/msm/dpu: enable cursor plane for primary crtc

2018-06-20 Thread Rob Clark
On Wed, Jun 20, 2018 at 8:50 AM, Sravanthi Kollukuduru wrote: > Reserve one DMA pipe as cursor plane and also, update crtc > support of cursor in crtc_init. hmm, mdp5 in 820 had real cursor planes in hw, did these go away? If so I guess DMA plane is best candidate for cursor.. BR, -R > > Signe

Re: [Intel-gfx] [PATCH v2 00/12] drm: Add generic fbdev emulation

2018-06-20 Thread Noralf Trønnes
Den 20.06.2018 11.34, skrev Daniel Vetter: On Mon, Jun 18, 2018 at 04:17:27PM +0200, Noralf Trønnes wrote: This patchset adds generic fbdev emulation for drivers that supports GEM based dumb buffers which support .gem_prime_vmap and gem_prime_mmap. An API is begun to support in-kernel clients i

Re: [PATCH 2/5] dma-buf: remove kmap_atomic interface

2018-06-20 Thread Christian König
Am 20.06.2018 um 14:52 schrieb Daniel Vetter: On Wed, Jun 20, 2018 at 2:46 PM, Christian König wrote: [SNIP] Go ahead, that's the point of commit rights. dim might complain if you cherry picked them and didn't pick them up using dim apply though ... I've fixed up the Link tags, but when I tr

[Bug 106363] Powerplay support for SI asics

2018-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106363 --- Comment #5 from Alex Deucher --- (In reply to Gregor Münch from comment #4) > (In reply to Alex Deucher from comment #3) > > dpm is enabled by default on SI parts so setting dpm=1 doesn't change > > anything. > > This depends if you use amd

Re: [PATCH 2/5] dma-buf: remove kmap_atomic interface

2018-06-20 Thread Christian König
Am 20.06.2018 um 16:04 schrieb Christian König: Am 20.06.2018 um 14:52 schrieb Daniel Vetter: On Wed, Jun 20, 2018 at 2:46 PM, Christian König wrote: [SNIP] Go ahead, that's the point of commit rights. dim might complain if you cherry picked them and didn't pick them up using dim apply though

Re: [PATCH] drm: fix pci_dev root device is NULL without check.

2018-06-20 Thread Alex Deucher
On Wed, Jun 20, 2018 at 4:39 AM, Maarten Lankhorst wrote: > Op 19-06-18 om 09:47 schreef Caicai: >> on my laptop with ATI Radeon R7 350 graphics card,I found root was >> NULL,we should check >> the device before get/set pcie speed cap mask. Here is my messages. >> [8.996093] [drm]

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

2018-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106940 --- Comment #18 from Michel Dänzer --- What's the compile error you're getting with the current commit? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing

Re: [PATCH v11 3/5] dt-bindings: drm/bridge: Document sn65dsi86 bridge bindings

2018-06-20 Thread Rob Herring
On Fri, Jun 15, 2018 at 12:13:41PM +0530, Sandeep Panda wrote: > Document the bindings used for the sn65dsi86 DSI to eDP bridge. > > Changes in v1: > - Rephrase the dt-binding descriptions to be more inline with existing >bindings (Andrzej Hajda). > - Add missing dt-binding that are parsed b

Re: [PATCH v4 04/26] docs: fix broken references with multiple hints

2018-06-20 Thread Rob Herring
On Fri, Jun 15, 2018 at 01:30:32PM -0300, Mauro Carvalho Chehab wrote: > The script: > ./scripts/documentation-file-ref-check --fix > > Gives multiple hints for broken references on some files. > Manually use the one that applies for some files. > > Acked-by: Steven Rostedt (VMware) > Sign

Re: [Intel-gfx] [PATCH v2 00/12] drm: Add generic fbdev emulation

2018-06-20 Thread Noralf Trønnes
Den 20.06.2018 15.52, skrev Noralf Trønnes: Den 20.06.2018 11.34, skrev Daniel Vetter: On Mon, Jun 18, 2018 at 04:17:27PM +0200, Noralf Trønnes wrote: This patchset adds generic fbdev emulation for drivers that supports GEM based dumb buffers which support .gem_prime_vmap and gem_prime_mmap.

  1   2   >