[Bug 97605] AMDGPU Black Screen when Booting

2016-09-06 Thread bugzilla-dae...@freedesktop.org
was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/8c4d78c1/attachment.html>

[PATCH v10 5/5] drm/rockchip: Add dmc notifier in vop driver

2016-09-06 Thread kbuild test robot
Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -- next part -- A non-text attachment was scrubbed... Name: .config.gz Type: application/octet-stream Size: 38827 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/a4c3cb58/attachment-0001.obj>

[Bug 97025] flip queue failed: Device or resource busy

2016-09-06 Thread bugzilla-dae...@freedesktop.org
that. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/76bddc24/attachment.html>

[PATCH v7 2/9] drm/mediatek: add *driver_data for different hardware settings

2016-09-06 Thread CK Hu
Hi, YT: On Fri, 2016-09-02 at 19:24 +0800, YT Shen wrote: > There are some hardware settings changed, between MT8173 & MT2701: > DISP_OVL address offset changed, color format definition changed. > DISP_RDMA fifo size changed. > DISP_COLOR offset changed. > MIPI_TX pll setting changed. > And add

[PATCH v7 4/9] drm/mediatek: update display module connections

2016-09-06 Thread CK Hu
Hi, YT: On Fri, 2016-09-02 at 19:24 +0800, YT Shen wrote: > update connections for OVL, RDMA, BLS, DSI > > Signed-off-by: YT Shen > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 25 + > 1 file changed, 25 insertions(+) > [snip...] > @@ -111,6 +119,9 @@ static

[Bug 97593] [amdgpu SI] low performace, low (about 1/4) VRAM usage

2016-09-06 Thread bugzilla-dae...@freedesktop.org
ail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/baf5e4f9/attachment.html>

[PATCH] drm/arm: mark symbols static where possible

2016-09-06 Thread liviu.du...@arm.com
On Tue, Sep 06, 2016 at 03:23:28PM +0800, Baoyou Xie wrote: > We get 2 warnings when building kernel with W=1: > drivers/gpu/drm/arm/malidp_planes.c:49:25: warning: no previous prototype for > 'malidp_duplicate_plane_state' [-Wmissing-prototypes] > drivers/gpu/drm/arm/malidp_planes.c:66:6:

[PATCH 0/3] drm/tilcdc: Fix cpufreq transition related race + cleanup

2016-09-06 Thread Jyri Sarha
There was a race between mode_set_nofb() and cpufreq_transition() calling tilcdc_crtc_update_clk() without locking. The first patch fixes the race in with a minimal change by taking drm_mode_config mutex for the duration of the clock update. The second patch goes a step forward and cleans up the

[PATCH 1/3] drm/tilcdc: Take mode config lock while updating the crtc clock rate

2016-09-06 Thread Jyri Sarha
Take mode config lock while updating the crtc clock rate. To avoid a race in tilcdc_crtc_update_clk(), we do not want the mode to change while we update crtc clock. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 5 + drivers/gpu/drm/tilcdc/tilcdc_drv.h | 2 ++ 2 files

[PATCH 2/3] drm/tilcdc: Add tilcdc_crtc_set_clk() and cleanup cpufreq_transition()

2016-09-06 Thread Jyri Sarha
Add tilcdc_crtc_set_clk() and cleanup cpufreq_transition(). The new tilcdc_crtc_set_clk() is used in tilcdc_crtc_mode_set_nofb() instead tilcdc_crtc_update_clk(). New tilcdc_crtc_update_clk() is implemented using tilcdc_crtc_set_clk() for cpufreq_transition() alone. Signed-off-by: Jyri Sarha ---

[PATCH 3/3] drm/tilcdc: Add mutex to protect crtc enable and disable routines

2016-09-06 Thread Jyri Sarha
Add mutex to protect crtc enable and disable routines. The tilcdc_crtc_disable() function waits for frame done interrupt, the internal data will get out of sync, should another enable arrive while waiting for the interrupt. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 15

[Bug 96866] REGRESSION System frozen after resume

2016-09-06 Thread bugzilla-dae...@freedesktop.org
are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/ad8a8415/attachment.html>

[PATCH] drm/amd/powerplay/fiji: mark symbols static where possible

2016-09-06 Thread Christian König
Am 06.09.2016 um 08:16 schrieb Baoyou Xie: > We get a few warnings when building kernel with W=1: > drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/fiji_hwmgr.c:1633:9: warning: > no previous prototype > for 'fiji_get_voltage_index' [-Wmissing-prototypes] >

[PATCH 4/7] drm/panel: Add Sinlinx SinA33 7" panel

2016-09-06 Thread Thierry Reding
eneric panel for Q8 tablets". Also, how is it that these panels are unidentified? Has nobody tried to open them up and look at the panel to find a model number? Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-si

[Intel-gfx] Linux 4.8-rc?: WARNING: at drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write Missing switch case (16) in gen6_check_mailbox_status

2016-09-06 Thread Jani Nikula
Lyude, this is due to commit 87660502f1a4d51fb043e89a45d30c9917787c22 Author: Lyude Date: Wed Aug 17 15:55:53 2016 -0400 drm/i915/gen6+: Interpret mailbox error flags and on its way to stable. BR, Jani. On Tue, 06 Sep 2016, linux at eikelenboom.it wrote: > L.S., > > Since one of the

[PATCH 1/3] drm/tilcdc: Take mode config lock while updating the crtc clock rate

2016-09-06 Thread Tomi Valkeinen
omi -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/47953370/attachment.sig>

i915 WARNING: Missing switch case (16) in gen6_check_mailbox_status

2016-09-06 Thread Jani Nikula
Lyude, this is due to commit 87660502f1a4d51fb043e89a45d30c9917787c22 Author: Lyude Date: Wed Aug 17 15:55:53 2016 -0400 drm/i915/gen6+: Interpret mailbox error flags and on its way to stable. BR, Jani. On Mon, 29 Aug 2016, Meelis Roos wrote: > Tried 4.8-rc4 on my i5-2400 PC, got

[PATCH 8/9] drm: Unify handling of blob and object properties

2016-09-06 Thread Ying Liu
On Mon, Aug 29, 2016 at 4:27 PM, Daniel Vetter wrote: > They work exactly the same now, after the refcounting unification a bit > ago. The only reason they're distinct is backwards compat with existing > userspace. > > Cc: Daniel Stone > Reviewed-by: Archit Taneja > Signed-off-by: Daniel

i915 WARNING: Missing switch case (16) in gen6_check_mailbox_status

2016-09-06 Thread Jani Nikula
Meelis, what does 'lspci -nns 2' say for you? BR, Jani. On Tue, 06 Sep 2016, Jani Nikula wrote: > Lyude, this is due to > > commit 87660502f1a4d51fb043e89a45d30c9917787c22 > Author: Lyude > Date: Wed Aug 17 15:55:53 2016 -0400 > > drm/i915/gen6+: Interpret mailbox error flags > > and on

[Intel-gfx] Linux 4.8-rc?: WARNING: at drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write Missing switch case (16) in gen6_check_mailbox_status

2016-09-06 Thread Jani Nikula
On Tue, 06 Sep 2016, linux at eikelenboom.it wrote: > L.S., > > Since one of the last 4.8 RC's i'm getting the warning below when > booting on my sandybridge based thinkpad. > From what it seems the machine still works fine though. What does 'lspci -nns 2' say for you? BR, Jani. > > -- >

[PATCH v4 0/4] IPUv3 prep for i.MX5/6 v4l2 staging drivers, v4

2016-09-06 Thread Philipp Zabel
Am Montag, den 05.09.2016, 11:41 -0300 schrieb Fabio Estevam: > Hi Philipp, > > On Thu, Aug 25, 2016 at 11:17 AM, Tim Harvey wrote: > > > Philipp, > > > > Have you had a chance to review this last series of Steve's submitted > > last week? We are down to 4 patches in gpu/ipu-v3 needed in order

[PATCH v4 3/4] gpu: ipu-ic: Add complete image conversion support with tiling

2016-09-06 Thread Philipp Zabel
Hi Steve, Am Mittwoch, den 17.08.2016, 17:50 -0700 schrieb Steve Longerbeam: > This patch implements complete image conversion support to ipu-ic, > with tiling to support scaling to and from images up to 4096x4096. > Image rotation is also supported. > > The internal API is subsystem agnostic

[PATCH v4 4/4] gpu: ipu-ic: allow multiple handles to ic

2016-09-06 Thread Philipp Zabel
Am Mittwoch, den 17.08.2016, 17:50 -0700 schrieb Steve Longerbeam: > The image converter kernel API supports conversion contexts and > job queues, so we should allow more than one handle to the IC, so > that multiple users can add jobs to the queue. The image converter queue can be shared, but

i915 WARNING: Missing switch case (16) in gen6_check_mailbox_status

2016-09-06 Thread Meelis Roos
> Meelis, what does 'lspci -nns 2' say for you? 00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0102] (rev 09) > > BR, > Jani. > > On Tue, 06 Sep 2016, Jani Nikula wrote: > > Lyude, this is due to > > > >

[PATCH 3/3] drm/tilcdc: Add mutex to protect crtc enable and disable routines

2016-09-06 Thread Tomi Valkeinen
the per-crtc modeset lock work for this? Tomi -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20

[PATCH 1/1] drm: i915: don't use OpRegion for XPS 13 IvyBridge

2016-09-06 Thread Ville Syrjälä
On Sun, Aug 28, 2016 at 05:28:46PM +0200, Andrea Arcangeli wrote: > Skylake was already singled out, but it doesn't cover the XPS 13 L332X > model which is based on IvyBridge. > > The commit that introduced the regression is > 1d6da87a3241deb13d073c4125d19ed0e5a0c62c > > The Skylake workaround

[PATCH 2/3] drm/tilcdc: Add tilcdc_crtc_set_clk() and cleanup cpufreq_transition()

2016-09-06 Thread Tomi Valkeinen
hives/dri-devel/attachments/20160906/929824e1/attachment.sig>

[PATCH 2/3] drm/tilcdc: Add tilcdc_crtc_set_clk() and cleanup cpufreq_transition()

2016-09-06 Thread Tomi Valkeinen
sc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/416c817d/attachment.sig>

[Intel-gfx] [PATCH 1/1] drm/i915/dsi: silence a warning about uninitialized return value

2016-09-06 Thread Dave Gordon
On 04/09/16 19:58, Nicolas Iooss wrote: > When building the kernel with clang and some warning flags, the compiler > reports that the return value of dcs_get_backlight() may be > uninitialized: > > drivers/gpu/drm/i915/intel_dsi_dcs_backlight.c:53:2: error: variable > 'data' is used

[Bug 100871] radeon fails to initialize one DisplayPort monitor

2016-09-06 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=100871 Reg changed: What|Removed |Added Attachment #231661|0 |1 is obsolete|

[Bug 100871] radeon fails to initialize one DisplayPort monitor

2016-09-06 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=100871 --- Comment #15 from Reg --- Hm, I can't edit that last message. Here are a couple of corrections: Where I showed: xrandr --output DisplayPort-${1} --mode 1920x1080 sleep xrandr --output DisplayPort-${1} --mode 2560x1440 It should

[PATCH 1/1] drm: i915: don't use OpRegion for XPS 13 IvyBridge

2016-09-06 Thread Ville Syrjälä
On Tue, Sep 06, 2016 at 12:20:51PM +0300, Ville Syrjälä wrote: > On Sun, Aug 28, 2016 at 05:28:46PM +0200, Andrea Arcangeli wrote: > > Skylake was already singled out, but it doesn't cover the XPS 13 L332X > > model which is based on IvyBridge. > > > > The commit that introduced the regression

[RFC] drm/gma500: add virtual mapping support for fbdev.

2016-09-06 Thread jiang.bi...@zte.com.cn
gma500/framebuffer.h b/drivers/gpu/drm/gma500/framebuffer.h index 395f20b..50b384e 100644 --- a/drivers/gpu/drm/gma500/framebuffer.h +++ b/drivers/gpu/drm/gma500/framebuffer.h @@ -32,6 +32,8 @@ struct psb_framebuffer { struct address_space *addr_space; struct fb_info *fbdev; struct gtt_range *gtt; + bool vm_map; + }; struct psb_fbdev { -- 2.1.0 -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/c5754d69/attachment-0001.html>

[PATCH 1/3] drm/tilcdc: Take mode config lock while updating the crtc clock rate

2016-09-06 Thread Jyri Sarha
On 09/06/16 12:07, Tomi Valkeinen wrote: > > > On 06/09/16 11:19, Jyri Sarha wrote: >> Take mode config lock while updating the crtc clock rate. To avoid a >> race in tilcdc_crtc_update_clk(), we do not want the mode to change >> while we update crtc clock. >> >> Signed-off-by: Jyri Sarha >>

[PATCH 3/3] drm/tilcdc: Add mutex to protect crtc enable and disable routines

2016-09-06 Thread Jyri Sarha
On 09/06/16 12:30, Tomi Valkeinen wrote: > On 06/09/16 11:19, Jyri Sarha wrote: >> Add mutex to protect crtc enable and disable routines. The >> tilcdc_crtc_disable() function waits for frame done interrupt, the >> internal data will get out of sync, should another enable arrive while >> waiting

[PATCH 1/1] Revert "gpu: drm: omapdrm: dss-of: add missing of_node_put after calling of_parse_phandle"

2016-09-06 Thread Tomi Valkeinen
> - return np_parent; > + return np; > } > > struct device_node * > -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/18af42c3/attachment.sig>

[PULL] drm/atmel-hlcdc: fixes for 4.8-rc6

2016-09-06 Thread Boris Brezillon
Hi Dave, Here are two fixes for 4.8-rc6. I was supposed to send this PR just after -rc1, but I completely forgot, so if you feel it's too late for this release, I can queue them for 4.9 (note that the fixes are trivial, and I don't think they can introduce a regression). Regards, Boris The

[Bug 97119] screen flickerin under KDE when compositor was dis- and reenabled

2016-09-06 Thread bugzilla-dae...@freedesktop.org
: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/6d7cd6eb/attachment.html>

[PATCH, RESEND] drm: exynos: avoid unused function warning

2016-09-06 Thread Arnd Bergmann
When CONFIG_PM is not set, we get a warning about an unused function: drivers/gpu/drm/exynos/exynos_drm_gsc.c:1219:12: error: 'gsc_clk_ctrl' defined but not used [-Werror=unused-function] static int gsc_clk_ctrl(struct gsc_context *ctx, bool enable) ^~~~ This removes the

[PATCH v5 1/4] drm: two more (drm_)printk() wrapper macros

2016-09-06 Thread Sean Paul
On Fri, Aug 26, 2016 at 1:50 PM, Dave Gordon wrote: > We had only DRM_INFO() and DRM_ERROR(), whereas the underlying printk() > provides several other useful intermediate levels such as NOTICE and > WARNING. So this patch fills out the set by providing simple macros for > the additional levels.

[PATCH] drm/armada: mark symbols static where possible

2016-09-06 Thread Arnd Bergmann
On Tuesday, September 6, 2016 3:37:55 PM CEST Baoyou Xie wrote: > We get 2 warnings when building kernel with W=1: > drivers/gpu/drm/armada/armada_gem.c:215:27: warning: no previous prototype > for 'armada_gem_alloc_object' [-Wmissing-prototypes] > drivers/gpu/drm/armada/armada_gem.c:423:1:

[PATCH] drm/atmel-hlcdc: mark atmel_hlcdc_crtc_reset() static

2016-09-06 Thread Arnd Bergmann
On Tuesday, September 6, 2016 3:46:16 PM CEST Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c:390:6: warning: no previous > prototype for 'atmel_hlcdc_crtc_reset' [-Wmissing-prototypes] > > In fact, this function is only used

[PATCH] drm/atmel-hlcdc: mark atmel_hlcdc_crtc_reset() static

2016-09-06 Thread Boris Brezillon
On Tue, 06 Sep 2016 15:43:45 +0200 Arnd Bergmann wrote: > On Tuesday, September 6, 2016 3:46:16 PM CEST Baoyou Xie wrote: > > We get 1 warning when building kernel with W=1: > > drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c:390:6: warning: no previous > > prototype for 'atmel_hlcdc_crtc_reset'

[linux-sunxi] [PATCH 3/7] drm/sun4i: Add SAT and DRC drivers

2016-09-06 Thread Maxime Ripard
brightness/contrast based on > histogram measurements for LCD content adaptive backlight control. You're right, I changed it. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/35bfc0a5/attachment.sig>

[PATCH, RESEND] drm: exynos: avoid unused function warning

2016-09-06 Thread Andrzej Hajda
On 09/06/2016 03:30 PM, Arnd Bergmann wrote: > When CONFIG_PM is not set, we get a warning about an unused function: > > drivers/gpu/drm/exynos/exynos_drm_gsc.c:1219:12: error: 'gsc_clk_ctrl' > defined but not used [-Werror=unused-function] > static int gsc_clk_ctrl(struct gsc_context *ctx, bool

[PATCH 4/7] drm/panel: Add Sinlinx SinA33 7" panel

2016-09-06 Thread Maxime Ripard
t that. The reference is from an unknown brand, but at least the part number shows up on Google, I'll use that. Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/dcec7aca/attachment.sig>

[PATCH] drm: modify drm_global_item_ref to avoid two times of writing ref->object

2016-09-06 Thread Sean Paul
On Mon, Sep 5, 2016 at 3:00 AM, Huang Rui wrote: > In previous drm_global_item_ref, there are two times of writing > ref->object if item->refcount is 0. So this patch does a minor update > to put alloc and init ref firstly, and then to modify the item of glob > array. Use "else" to avoid two

[PATCH v2 0/9] drm/sun4i: Introduce A33 display driver

2016-09-06 Thread Maxime Ripard
Hi everyone, This serie introduces the support in the sun4i-drm driver for the A33. Beside the new IPs and special cases for the A33 new IPs, there's nothing really outstanding, and is now at feature parity with the A13. This serie is based on my A33 CCU patches posted earlier today here:

[PATCH v2 2/9] drm/sun4i: support A33 tcon

2016-09-06 Thread Maxime Ripard
The A33 has a significantly different pipeline, with components that differ too. Make sure we had compatible for them. Signed-off-by: Maxime Ripard --- Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 7 ++- drivers/gpu/drm/sun4i/sun4i_backend.c | 1 +

[PATCH v2 1/9] drm/sun4i: support TCONs without channel 1

2016-09-06 Thread Maxime Ripard
Some Allwinner SoCs, such as the A33, have a variation of the TCON that doesn't have a second channel (or it is not wired to anything). Make sure we can handle that case. Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_tcon.c | 34

[PATCH v2 3/9] drm/sun4i: backend: Handle the SAT

2016-09-06 Thread Maxime Ripard
The A33 has an block called SAT that is part of the backend that needs to be clocked and out of reset to be able for the backend to operate properly. Extend the binding to have the SAT resources listed, and claim them when the backend probes. Signed-off-by: Maxime Ripard ---

[PATCH v2 4/9] drm/sun4i: Add a DRC driver

2016-09-06 Thread Maxime Ripard
The A33 pipeline also has a component called DRC. Even though its exact features and programming model is not known (or documented), it needs to be clocked for the pipeline to carry the video signal all the way. Add a minimal driver for it that just claim the needed resources for the pipeline to

[PATCH v2 6/9] drm/panel: Add Netron DY E231732

2016-09-06 Thread Maxime Ripard
The E231732 is a 7" panel with a resolution of 800x480. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/panel/panel-simple.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index

[PATCH v2 5/9] of: Add vendor prefix for Netron DY

2016-09-06 Thread Maxime Ripard
Netron DY is a brand of LCD panels found on SBCs and tablets. Signed-off-by: Maxime Ripard --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH v2 8/9] ARM: sun8i: a23/a33: Add RGB666 pins

2016-09-06 Thread Maxime Ripard
The LCD output needs to be muxed. Add the proper pinctrl node. Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a23-a33.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi

[PATCH v2 7/9] ARM: sun8i: a33: Add display pipeline

2016-09-06 Thread Maxime Ripard
Add all the needed blocks to the A33 DTSI. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun8i-a33.dtsi | 152 +++ 1 file changed, 152 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi index

[PATCH v2 9/9] ARM: sun8i: sina33: Enable display

2016-09-06 Thread Maxime Ripard
Enable the display pipeline with the associated 7" panel sold with the SinA33. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 34 ++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts

[PATCH] drm/atomic: mode_set encoders when routing changes

2016-09-06 Thread Brian Starkey
crtc_set_mode() only checks if the CRTC mode has changed when deciding whether encoders require a mode_set. This is insufficient when the CRTC mode isn't changed but a new encoder is added to it, leading to encoders never getting mode_set. Fix this by also checking that a connector's CRTC and

[PATCH 0/7] drm/sun4i: Introduce A33 display driver

2016-09-06 Thread Chen-Yu Tsai
On Tue, Sep 6, 2016 at 4:37 AM, Maxime Ripard wrote: > On Sat, Sep 03, 2016 at 09:43:59AM +0800, Chen-Yu Tsai wrote: >> On Sat, Sep 3, 2016 at 3:06 AM, Maxime Ripard >> wrote: >> > Hi Icenowy, >> > >> > On Fri, Sep 02, 2016 at 09:30:05AM +0800, Icenowy Zheng wrote: >> >> >> >> >> >> 01.09.2016,

[PATCH 4/7] drm/panel: Add Sinlinx SinA33 7" panel

2016-09-06 Thread Chen-Yu Tsai
On Tue, Sep 6, 2016 at 4:02 AM, Maxime Ripard wrote: > Hi, > > On Mon, Sep 05, 2016 at 01:03:03AM +0800, Icenowy Zheng wrote: >> Hi Everyone, >> >> 01.09.2016, 23:40, "Maxime Ripard" : >> > The SinA33 has an unidentified panel. Add the timings for it under a new >> > compatible. >> >> >> >>

RE: [PATCH v10 5/5] drm/rockchip: Add dmc notifier in vop driver

2016-09-06 Thread MyungJoo Ham
> when in ddr frequency scaling process, vop can not do enable or > disable operation, since in dcf we check vop clock to see whether > vop work. If vop work, dcf do ddr frequency scaling when vop > in vblank status, and we need to read vop register to check whether > vop go into vblank status. If

[PATCH] drm/amd/powerplay/fiji: mark symbols static where possible

2016-09-06 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/fiji_hwmgr.c:1633:9: warning: no previous prototype for 'fiji_get_voltage_index' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/fiji_hwmgr.c:5412:5: warning: no previous

[PATCH 5/7] ARM: sun8i: a33: Add display pipeline

2016-09-06 Thread Chen-Yu Tsai
On Tue, Sep 6, 2016 at 4:21 AM, Maxime Ripard wrote: > Hi, > > On Fri, Sep 02, 2016 at 02:28:54PM +0800, Chen-Yu Tsai wrote: >> > + be0: display-backend at 01e6 { >> > + compatible = "allwinner,sun8i-a33-display-backend"; >> > + reg =

[PATCH] drm/amd/powerplay/polaris10: mark symbols static where possible

2016-09-06 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/polaris10_clockpowergating.c:34:5: warning: no previous prototype for 'polaris10_phm_powerup_uvd' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/polaris10_thermal.c:428:5:

[PATCH] drm/arm: mark symbols static where possible

2016-09-06 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/gpu/drm/arm/malidp_planes.c:49:25: warning: no previous prototype for 'malidp_duplicate_plane_state' [-Wmissing-prototypes] drivers/gpu/drm/arm/malidp_planes.c:66:6: warning: no previous prototype for 'malidp_destroy_plane_state'

[PATCH] drm/armada: mark symbols static where possible

2016-09-06 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/gpu/drm/armada/armada_gem.c:215:27: warning: no previous prototype for 'armada_gem_alloc_object' [-Wmissing-prototypes] drivers/gpu/drm/armada/armada_gem.c:423:1: warning: no previous prototype for 'armada_gem_prime_map_dma_buf'

[PATCH] drm/atmel-hlcdc: mark atmel_hlcdc_crtc_reset() static

2016-09-06 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c:390:6: warning: no previous prototype for 'atmel_hlcdc_crtc_reset' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but can

Linux 4.8-rc?: WARNING: at drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write Missing switch case (16) in gen6_check_mailbox_status

2016-09-06 Thread li...@eikelenboom.it
L.S., Since one of the last 4.8 RC's i'm getting the warning below when booting on my sandybridge based thinkpad. From what it seems the machine still works fine though. -- Sander [2.846265] [ cut here ] [2.846280] WARNING: CPU: 0 PID: 4 at

[PATCH] gpu/drm: fix signed integer overflow

2016-09-06 Thread Xie XiuQi
Use 1UL for unsigned long, or we'll meet a overflow issue with UBSAN. [ 15.589489] UBSAN: Undefined behaviour in drivers/gpu/drm/drm_hashtab.c:145:35 [ 15.589500] signed integer overflow: [ 15.58] -2147483648 - 1 cannot be represented in type 'int' [ 15.590434] CPU: 2 PID: 294 Comm:

[Intel-gfx] Linux 4.8-rc?: WARNING: at drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write Missing switch case (16) in gen6_check_mailbox_status

2016-09-06 Thread li...@eikelenboom.it
On 2016-09-06 11:25, Jani Nikula wrote: > On Tue, 06 Sep 2016, linux at eikelenboom.it wrote: >> L.S., >> >> Since one of the last 4.8 RC's i'm getting the warning below when >> booting on my sandybridge based thinkpad. >> From what it seems the machine still works fine though. > > What does

[question]Implemention of drm_driver.dumb_create

2016-09-06 Thread Rongrong Zou
Hi, all I want to implement memory management for my new drm driver, it is for a display controller attached to PCIe bus of our SOC, however, I found two kind of implementions in existing kernel drivers: one is implemented with gem + ttm, such as bochs/cirrus/amdgpu, the other is

[PATCH 2/2] libdrm: add etnaviv tests

2016-09-06 Thread Christian Gmeiner
Hi Daniel, 2016-08-30 11:08 GMT+02:00 Daniel Vetter : > On Tue, Aug 30, 2016 at 09:14:51AM +0200, Christian Gmeiner wrote: >> From: The etnaviv authors >> >> This adds the following basic unit tests: >> >> - etnaviv_2d_test >> Let the 2D core render a defined pattern into a bo >> and store

[PATCH 2/2] libdrm: add etnaviv tests

2016-09-06 Thread Christian Gmeiner
Hi Emil, again thanks for the review. 2016-08-30 15:15 GMT+02:00 Emil Velikov : > On 30 August 2016 at 10:08, Daniel Vetter wrote: >> On Tue, Aug 30, 2016 at 09:14:51AM +0200, Christian Gmeiner wrote: >>> From: The etnaviv authors >>> >>> This adds the following basic unit tests: >>> >>> -

[PATCH v2 0/2] etnaviv_libdrm

2016-09-06 Thread Christian Gmeiner
As the original patchstack is now about 80 patches, I have choosen to squash the patches together into two seperate parts. The libdrm_etnaviv implementation and tests. All seperate patches can be found here: https://github.com/austriancoder/libdrm/tree/master As this work is a collaborative

[PATCH v2 1/2] libdrm: add etnaviv drm support

2016-09-06 Thread Christian Gmeiner
From: The etnaviv authors Add the libdrm_etnaviv helper library to encapsulate etnaviv-specific interfaces to the DRM. Signed-off-by: Christian Gmeiner Signed-off-by: Lucas Stach --- .gitignore | 1 + Makefile.am | 6 +

[PATCH v2 2/2] libdrm: add etnaviv tests

2016-09-06 Thread Christian Gmeiner
From: The etnaviv authors This adds the following basic unit tests: - etnaviv_2d_test Let the 2D core render a defined pattern into a bo and store it as bmp. - etnaviv_bo_cache_test Basic tests to validate the bo-cache behavior. - etnaviv_cmd_stream_test

[Intel-gfx] [PATCH 10/10] drm: Remove dirty property from docs

2016-09-06 Thread Sean Paul
On Wed, Aug 31, 2016 at 12:09 PM, Daniel Vetter wrote: > We removed it in > > commit 6ab10b76ff6252bd9be0849c40f5865e39a29961 > Author: Daniel Vetter > Date: Fri Aug 12 22:48:45 2016 +0200 > > drm/kms: Nuke dirty_info property > > Signed-off-by: Daniel Vetter Reviewed-by: Sean Paul >

[Intel-gfx] [PATCH 09/10] drm/doc: Document color space handling

2016-09-06 Thread Sean Paul
On Wed, Aug 31, 2016 at 12:09 PM, Daniel Vetter wrote: > Again move it from the unmaintainable csv into DOC free-form overview > sections. > > Cc: Lionel Landwerlin > Signed-off-by: Daniel Vetter A few more comment nits, after those are fixed, Reviewed-by: Sean Paul > --- >

[PATCH 07/10] drm/doc: Polish plane composition property docs

2016-09-06 Thread Sean Paul
On Wed, Aug 31, 2016 at 12:09 PM, Daniel Vetter wrote: > Try to spec a bit more precisely how they all fit together, now that > at least the code is for all the additional properties is in one > place. > > Also remove the entries for the standardized properties from the > table, because that

[PATCH 06/10] drm: Conslidate blending properties in drm_blend.[hc]

2016-09-06 Thread Sean Paul
On Wed, Aug 31, 2016 at 12:09 PM, Daniel Vetter wrote: > Imo zpos, rotatation, blending eq (once we have it) and all that > should be in drm_blend.c, since those are all about how exactly the > pixels are rendered onto the CRTC's visible area. Also noticed that > one exported function

[Intel-gfx] [PATCH 04/10] drm: Extract drm_plane.[hc]

2016-09-06 Thread Sean Paul
On Wed, Aug 31, 2016 at 12:09 PM, Daniel Vetter wrote: > Just pure code movement, cleanup and polish will happen in later > patches. > > v2: Don't forget all the ioctl! To extract those cleanly I decided to > put check_src_coords into drm_framebuffer.c (and give it a > drm_framebuffer_ prefix),

[PATCH 03/10] drm: Move all decl for drm_edid.c to drm_edid.h

2016-09-06 Thread Sean Paul
On Wed, Aug 31, 2016 at 12:09 PM, Daniel Vetter wrote: > Some were still left in drm_crtc.h. Also include drm_edid.h in the > rst files. > > Signed-off-by: Daniel Vetter Reviewed-by: Sean Paul > --- > Documentation/gpu/drm-kms-helpers.rst | 3 +++ > include/drm/drm_crtc.h|

[Intel-gfx] [PATCH 01/10] drm: Move a few macros away from drm_crtc.h

2016-09-06 Thread Sean Paul
On Wed, Aug 31, 2016 at 12:09 PM, Daniel Vetter wrote: > Now that there's less stuff in there I noticed that I overlooked them. > Sprinkle some docs over them while at it. > > Signed-off-by: Daniel Vetter Reviewed-by: Sean Paul > --- > include/drm/drm_connector.h | 24

[PATCH 2/2] drm/udl: implement usb_driver suspend/resume.

2016-09-06 Thread Sean Paul
On Tue, Aug 30, 2016 at 5:50 PM, Haixia Shi wrote: > The usb_driver suspend and resume function pointers must be populated > to prevent forced unbinding of USB interface driver. See usb/core/driver.c: > unbind_no_pm_drivers_interfaces(). > > Restore mode and damage the entire frame buffer upon

[Bug 100871] radeon fails to initialize one DisplayPort monitor

2016-09-06 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=100871 --- Comment #16 from Reg --- Update: Regarding c14 (comment 14) about the ./display-on.sh. Even though running this script can turn the display on that was erroneously off during boot the display will turn itself back off after a few seconds or

[PATCH 1/1] drm: i915: don't use OpRegion for XPS 13 IvyBridge

2016-09-06 Thread Ville Syrjälä
On Tue, Sep 06, 2016 at 01:56:20PM +0300, Ville Syrjälä wrote: > On Tue, Sep 06, 2016 at 12:20:51PM +0300, Ville Syrjälä wrote: > > On Sun, Aug 28, 2016 at 05:28:46PM +0200, Andrea Arcangeli wrote: > > > Skylake was already singled out, but it doesn't cover the XPS 13 L332X > > > model which

[Bug 97593] [amdgpu SI] low performace, low (about 1/4) VRAM usage

2016-09-06 Thread bugzilla-dae...@freedesktop.org
helped in my case - FPS in Heaven increased from 1 to 15 and VRAM usage was optimal. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attac

[PATCH 0/7] drm/sun4i: Introduce A33 display driver

2016-09-06 Thread Maxime Ripard
on either connectors, and we can't have both output running at the same time for the same reason than mention above. Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- next part -- A non-text attachment was scrubbed... Name:

[Bug 97594] [amdgpu SI] "drm/amd/amdgpu: Add GRBM lock to various SI functions" breaks amdgpu support for SI

2016-09-06 Thread bugzilla-dae...@freedesktop.org
se: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/6ddcf253/attachment.html>

[PATCH] drm/rockchip: Fix up bug in psr state machine

2016-09-06 Thread Sean Paul
The ->set() callback would always be called when transitioning from FLUSH->DISABLE since we assign state to psr->state right above the skip condition. Reported-by: Daniel Kurtz Signed-off-by: Sean Paul --- drivers/gpu/drm/rockchip/rockchip_drm_psr.c | 8 +--- 1 file changed, 5

[PATCH] drm/bridge: analogix_dp: detect Sink PSR state after configuring the PSR

2016-09-06 Thread Sean Paul
On Fri, Aug 26, 2016 at 6:19 AM, Yakir Yang wrote: > Make sure the request PSR state could effect in analogix_dp_send_psr_spd() > function, or printing the error Sink PSR state if we failed to effect > the request PSR setting. > > Signed-off-by: Yakir Yang > --- >

[Bug 97593] [amdgpu SI] low performace, low (about 1/4) VRAM usage

2016-09-06 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/0d780927/attachment.html>

[Intel-gfx] [PATCH 1/1] drm/i915/dsi: silence a warning about uninitialized return value

2016-09-06 Thread Nicolas Iooss
On 06/09/16 12:21, Dave Gordon wrote: > On 04/09/16 19:58, Nicolas Iooss wrote: >> When building the kernel with clang and some warning flags, the compiler >> reports that the return value of dcs_get_backlight() may be >> uninitialized: >> >>

[Bug 97593] [amdgpu SI] low performace, low (about 1/4) VRAM usage

2016-09-06 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20160906/88d63d41/attachment.html>

[RFC] drm/gma500: add virtual mapping support for fbdev.

2016-09-06 Thread Alan Cox
On Tue, 2016-09-06 at 19:28 +0800, jiang.biao2 at zte.com.cn wrote: > Hi,  > > I found current gma500 fbdev driver does not support the virtual  > mapping for the fb pages, instead it only uses stolen pages and  > supports high resolution console by reducing the color depth. It  > works well

[Bug 97594] [amdgpu SI] "drm/amd/amdgpu: Add GRBM lock to various SI functions" breaks amdgpu support for SI

2016-09-06 Thread bugzilla-dae...@freedesktop.org
achment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/f71eeca6/attachment.html>

[Bug 97618] W600 (Cape Verde PRO): reproducible hang on piglit test spec@ext_texture_lod_bias@lodbias in drmCommandWrite()

2016-09-06 Thread bugzilla-dae...@freedesktop.org
astpath+0x16/0x71 -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/7b26cbd0/attachment-0001.html>

[Bug 97618] W600 (Cape Verde PRO): reproducible hang on piglit test spec@ext_texture_lod_bias@lodbias in drmCommandWrite()

2016-09-06 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160906/57865f9f/attachment.html>

[PATCH 0/4 v2] Audio support for adv7511 hdmi bridge

2016-09-06 Thread John Stultz
On Tue, Aug 30, 2016 at 2:23 AM, Laurent Pinchart wrote: > Hi John, > > Thank you for the patches. Thanks so much for the review! I'm reworking the patchset now and will be sending out an updated set soon! >> This patchset, along with the i2s driver and dts changes allows >> HDMI audio to work

[PATCH 1/4 v2] drm/bridge: adv7511: Move the common data structures to header file

2016-09-06 Thread John Stultz
On Tue, Aug 30, 2016 at 1:56 AM, Laurent Pinchart wrote: > Hi John, > > Thank you for the patch. > > On Monday 29 Aug 2016 16:41:33 John Stultz wrote: >> From: Archit Taneja >> >> This patch moves the adv7511 data structure to header file so that the >> audio driver file could use it. > >

  1   2   >