[PATCH v3 00/27] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-06-06 Thread Tony Lindgren
* Peter Ujfalusi [160603 06:10]: > On 06/03/16 14:03, Peter Ujfalusi wrote: > > > > I have prepared two branches on top of v4.7-rc1: > > [1] https://github.com/omap-audio/linux-audio.git > > peter/for-4.8_omapdss_part1 > > > > containing: > > ARM: OMAP: rx51-video: Do not set TV

[Bug 103561] unable to handle kernel paging request with csgo in wine+nine, ttm_bo_del_from_lru

2016-06-06 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=103561 --- Comment #7 from Christoph Haag --- Created attachment 219231 --> https://bugzilla.kernel.org/attachment.cgi?id=219231=edit dmesg with gpufault R600_DEBUG=nodma I can not confirm it 100%, but I think R600_DEBUG=nodma helps. So far the

[PATCH v2 00/27] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-06-06 Thread Tony Lindgren
* Tomi Valkeinen [160603 03:53]: > > > On 02/06/16 18:23, Tony Lindgren wrote: > > * Tomi Valkeinen [160602 05:28]: > >> > >> Tony, can you have a look at the arch/arm parts here and give your ack > >> if they're fine? They should be quite small and display specific, so I > >> don't see much

[Bug 35457] [rs690m] Graphics corruption with ati x1200

2016-06-06 Thread bugzilla-dae...@freedesktop.org
someone who can fix the issue. :-) -- 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/20160606/cae6868b/attachment.html>

[PATCH 2/2] drm/amd/powerplay: Delete unused functions in ppevvmath.h

2016-06-06 Thread Nils Wallménius
gt; static fInt Divide (int X, int Y) > > { > > fInt A, B, Quotient; > > @@ -578,14 +529,6 @@ static int uPow(int base, int power) > > return (base)*uPow(base, power - 1); > > } > > > > -static fInt fAbs(fInt A) > > -{ > > - if (A.partial.real < 0) > > - return (fMultiply(A, ConvertToFraction(-1))); > > - else > > - return A; > > -} > > - > > static int uAbs(int X) > > { > > if (X < 0) > > -- > > 2.8.0.rc3 > > > > ___ > > dri-devel mailing list > > dri-devel at lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/dri-devel > -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160606/945e85f0/attachment.html>

[PATCH 14/14] drm/shmobile: use drm_crtc_vblank_{get,put}()

2016-06-06 Thread Laurent Pinchart
Hi Gustavo, Thank you for the patch. On Monday 06 Jun 2016 11:41:45 Gustavo Padovan wrote: > From: Gustavo Padovan > > Replace the legacy drm_vblank_{get,put}() with the new helper functions. > > Signed-off-by: Gustavo Padovan Acked-by: Laurent Pinchart > --- >

[PATCH] tree-wide: replace config_enabled() with IS_ENABLED()

2016-06-06 Thread Masahiro Yamada
The use of config_enabled() against config options is ambiguous. In practical terms, config_enabled() is equivalent to IS_BUILTIN(), but the author might have used it for the meaning of IS_ENABLED(). Using IS_ENABLED(), IS_BUILTIN(), IS_MODULE() etc. makes the intention clearer. This commit

[PATCH] drm/qxl: Remove useless drm_fb_get_bpp_depth() call

2016-06-06 Thread Laurent Pinchart
The function has no side effect and its returned values are ignored, don't call it. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/qxl/qxl_fb.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_fb.c b/drivers/gpu/drm/qxl/qxl_fb.c index

[PATCH] drm/ast: Remove useless drm_fb_get_bpp_depth() call

2016-06-06 Thread Laurent Pinchart
The function has no side effect and its returned values are ignored, don't call it. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/ast/ast_fb.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/ast/ast_fb.c b/drivers/gpu/drm/ast/ast_fb.c index 5320f8c57884..c017a9330a18

[PATCH 2/2] drm/dsi: Implement dcs backlight brightness

2016-06-06 Thread Jani Nikula
On Mon, 06 Jun 2016, Vinay Simha wrote: > On Mon, Jun 6, 2016 at 1:07 PM, Jani Nikula > wrote: >> On Thu, 02 Jun 2016, Vinay Simha BN wrote: >>> Provide a small convenience wrapper that set/get the >>> backlight brightness control and creates the backlight >>> device for the panel interface >>

[Bug 96343] oom since st/mesa: implement PBO downloads for ReadPixels

2016-06-06 Thread bugzilla-dae...@freedesktop.org
org/archives/dri-devel/attachments/20160606/82276726/attachment.html>

fsl-dcu not works on latest "drm-next"

2016-06-06 Thread Stefan Agner
On 2016-06-06 19:16, Meng Yi wrote: > Hi Stefan, > > Sorry for reply late, I was on PTO. And another PTO on June 9~11, 2016.UTC+8 > >> >> static const struct regmap_config fsl_dcu_regmap_config = { >> >> .reg_bits = 32, >> >> .reg_stride = 4, >> >> .val_bits = 32, >> >>

[Mesa-dev] radeonfb: BAR 0: can't reserve [mem 0x98000000-0x9fffffff pref]

2016-06-06 Thread Marek Olšák
[+ dri-devel] On Mon, Jun 6, 2016 at 8:42 AM, Mathieu Malaterre wrote: > Hi, > > Before reporting a possible invalid bug report. Does anyone knows why > radeaonfb is not configured the same way radeon is ? For instance on a > PowerPC machine, when Open Firmware Frame Buffer is used (OFfb), I >

[PATCH] drm/core: Change declaration for gamma_set.

2016-06-06 Thread Maarten Lankhorst
Op 06-06-16 om 18:25 schreef Emil Velikov: > On 6 June 2016 at 17:15, Maarten Lankhorst > wrote: >> Op 06-06-16 om 18:11 schreef Emil Velikov: >>> On 6 June 2016 at 17:00, Daniel Vetter wrote: On Mon, Jun 06, 2016 at 11:18:09AM +0200, Maarten Lankhorst wrote: > Change return value to

[PATCH] drm/core: Change declaration for gamma_set.

2016-06-06 Thread Maarten Lankhorst
Op 06-06-16 om 18:17 schreef Emil Velikov: > Hi Maarten, > > On 6 June 2016 at 10:18, Maarten Lankhorst > wrote: > >> --- a/drivers/gpu/drm/drm_fb_helper.c >> +++ b/drivers/gpu/drm/drm_fb_helper.c >> @@ -1076,8 +1076,6 @@ static int setcolreg(struct drm_crtc *crtc, u16 red, >> u16 green, >>

[PATCH] drm/core: Change declaration for gamma_set.

2016-06-06 Thread Maarten Lankhorst
Op 06-06-16 om 18:11 schreef Emil Velikov: > On 6 June 2016 at 17:00, Daniel Vetter wrote: >> On Mon, Jun 06, 2016 at 11:18:09AM +0200, Maarten Lankhorst wrote: >>> Change return value to int to propagate errors from gamma_set, >>> and remove start parameter. Updates always use the full size, >>>

[RFC PATCH v2 6/6] drm/rockchip: Add dmc notifier in vop driver

2016-06-06 Thread Lin Huang
when in ddr frequency scaling process, vop can not do enable or disable operate, since dcf will base on vop vblank time to do frequency scaling and need to get vop irq if there have vop enabled. So need register to dmc notifier, and we can get the dmc status. Signed-off-by: Lin Huang ---

[RFC PATCH v2 5/6] PM / devfreq: rockchip: add devfreq driver for rk3399 dmc

2016-06-06 Thread Lin Huang
base on dfi result, we do ddr frequency scaling, register dmc driver to devfreq framework, and use simple-ondemand policy. Signed-off-by: Lin Huang --- Changes in v2: - None Changes in v1: - move dfi controller to event - fix set voltage sequence when set rate fail - change Kconfig type from

[RFC PATCH v2 4/6] PM / devfreq: event: support rockchip dfi controller

2016-06-06 Thread Lin Huang
on rk3399 platform, there is dfi conroller can monitor ddr load, base on this result, we can do ddr freqency scaling. Signed-off-by: Lin Huang Acked-by: Chanwoo Choi --- Changes in v2: - use clk_disable_unprepare and clk_enable_prepare - remove clk_enable_prepare in probe - remove

[RFC PATCH v2 3/6] clk: rockchip: rk3399: add ddrc clock support

2016-06-06 Thread Lin Huang
add ddrc clock setting, so we can do ddr frequency scaling on rk3399 platform in future. Signed-off-by: Lin Huang --- Changes in v2: - remove clk_ddrc_dpll_src from critical clock list Changes in v1: - remove ddrc source CLK_IGNORE_UNUSED flag - move clk_ddrc and clk_ddrc_dpll_src to critical

[RFC PATCH v2 2/6] clk: rockchip: rk3399: add SCLK_DDRCLK ID for ddrc

2016-06-06 Thread Lin Huang
Signed-off-by: Lin Huang --- Changes in v2: - None Changes in v1: - None include/dt-bindings/clock/rk3399-cru.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/rk3399-cru.h b/include/dt-bindings/clock/rk3399-cru.h index 50a44cf..8a0f0442 100644 ---

[RFC PATCH v2 1/6] clk: rockchip: add new clock-type for the ddrclk

2016-06-06 Thread Lin Huang
On new rockchip platform(rk3399 etc), there have dcf controller to do ddr frequency scaling, and this controller will implement in arm-trust-firmware. We add a special clock-type to handle that. Signed-off-by: Lin Huang --- Changes in v2: - use GENMASK instead val_mask - use

[RFC PATCH v2 0/6] rk3399 support ddr frequency scaling

2016-06-06 Thread Lin Huang
rk3399 platform have dfi controller can monitor ddr load, and dcf controller to handle ddr register so we can get the right ddr frequency and make ddr controller happy work(which will implement in bl31). So we do ddr frequency scaling with following flow: kernel

[PATCH] Documentation: add fence-array to kernel DocBook

2016-06-06 Thread Daniel Vetter
On Mon, Jun 06, 2016 at 12:21:05PM -0300, Gustavo Padovan wrote: > From: Gustavo Padovan > > Include fence-array files in the DocBook. > > Signed-off-by: Gustavo Padovan > > --- > This should go to drm-misc, as fence-array are only present there > at the moment. Applied, thanks. -Daniel >

[PATCH 08/14] drm/amdgpu: use drm_crtc_vblank_{get,put}()

2016-06-06 Thread Daniel Vetter
On Mon, Jun 06, 2016 at 12:35:26PM -0300, Gustavo Padovan wrote: > 2016-06-06 Alex Deucher : > > > On Mon, Jun 6, 2016 at 10:41 AM, Gustavo Padovan > > wrote: > > > From: Gustavo Padovan > > > > > > Replace the legacy drm_vblank_{get,put}() with the new helper functions. > > > > > >

[PATCH 01/14] drm/nouveau: use drm_crtc_send_vblank_event() v2

2016-06-06 Thread Daniel Vetter
On Mon, Jun 06, 2016 at 11:41:32AM -0300, Gustavo Padovan wrote: > From: Gustavo Padovan > > Replace the legacy drm_send_vblank_event() with the new helper function. > > v2: add crtc to nouveau_page_flip_state (comment from Mario Kleiner) > > Cc: Mario Kleiner > Signed-off-by: Gustavo Padovan

[PATCH] drm/core: Change declaration for gamma_set.

2016-06-06 Thread Daniel Vetter
On Mon, Jun 06, 2016 at 11:18:09AM +0200, Maarten Lankhorst wrote: > Change return value to int to propagate errors from gamma_set, > and remove start parameter. Updates always use the full size, > and some drivers even ignore the start parameter altogether. Commit message should explain why we

[Bug 96296] clpeak causes a GPU hang

2016-06-06 Thread bugzilla-dae...@freedesktop.org
bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160606/2e5ee60c/attachment.html>

[PATCH] drm/exynos: fimd: fix trigger mode change regression

2016-06-06 Thread Marc Zyngier
On 2016-06-01 06:53, Inki Dae wrote: > This patch fixes a regression that Display panel doesn't work > since HW trigger mode was supported. > > The trigger mode should be changed on PSR(Panel Self Refresh) > mode of Panel device according to HW guy's saying. However, > with previous HW trigger

[PATCH v4 3/3] drm: Add helper for simple display pipeline

2016-06-06 Thread Noralf Trønnes
Den 12.05.2016 20:25, skrev Noralf Trønnes: > Provides helper functions for drivers that have a simple display > pipeline. Plane, crtc and encoder are collapsed into one entity. > > Cc: jsarha at ti.com > Signed-off-by: Noralf Trønnes > --- [...] > diff --git

274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")

2016-06-06 Thread Jerome Glisse
> Hi, > > commit in $Subject breaks suspend to disk on my box here. Reverting it > ontop of 4.7-rc2 fixes the problem. DRM-specific messages in dmesg are: > Brokens how ? Symptoms ? Cheers, Jérôme

[PATCH] drm/core: Change declaration for gamma_set.

2016-06-06 Thread Emil Velikov
On 6 June 2016 at 17:15, Maarten Lankhorst wrote: > Op 06-06-16 om 18:11 schreef Emil Velikov: >> On 6 June 2016 at 17:00, Daniel Vetter wrote: >>> On Mon, Jun 06, 2016 at 11:18:09AM +0200, Maarten Lankhorst wrote: Change return value to int to propagate errors from gamma_set, and

[PATCH] drm/core: Change declaration for gamma_set.

2016-06-06 Thread Emil Velikov
Hi Maarten, On 6 June 2016 at 10:18, Maarten Lankhorst wrote: > --- a/drivers/gpu/drm/drm_fb_helper.c > +++ b/drivers/gpu/drm/drm_fb_helper.c > @@ -1076,8 +1076,6 @@ static int setcolreg(struct drm_crtc *crtc, u16 red, > u16 green, > WARN_ON(fb->bits_per_pixel != 8); > >

[PATCH 11/11] drm/amdgpu: remove now unnecessary checks

2016-06-06 Thread Alex Deucher
On Wed, Jun 1, 2016 at 9:10 AM, Christian König wrote: > From: Christian König > > vm_flush() now comes directly after vm_grab_id(). > > Signed-off-by: Christian König For the series: Acked-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 - >

[PATCH] drm/core: Change declaration for gamma_set.

2016-06-06 Thread Emil Velikov
On 6 June 2016 at 17:00, Daniel Vetter wrote: > On Mon, Jun 06, 2016 at 11:18:09AM +0200, Maarten Lankhorst wrote: >> Change return value to int to propagate errors from gamma_set, >> and remove start parameter. Updates always use the full size, >> and some drivers even ignore the start parameter

[PATCH 2/2] drm/rockchip: Resume DP early

2016-06-06 Thread Tomeu Vizoso
The DP needs to have resumed once the DRM driver calls drm_atomic_helper_resume, otherwise the DP clock is still disabled when the DRM core enables the DP bridge. Would be nice to use device_pm_wait_for_dev to synchronize these devices, but the DRM device doesn't know what specific implementation

[PATCH 1/2] drm/rockchip: Use atomic PM helpers

2016-06-06 Thread Tomeu Vizoso
This driver was still using the old legacy helpers and that caused a few NULL dereferences when trying to call empty callbacks. Signed-off-by: Tomeu Vizoso Cc: Caesar Wang Cc: Douglas Anderson Cc: Heiko Stuebner Cc: Yakir Yang --- Hi, these two patches apply on top of Daniel Vetter's

[PATCH] drm: bridge: analogix/dp: Don't disable interrupts

2016-06-06 Thread Tomeu Vizoso
Regardless of the status of the bridge, we want to receive HPD events. Only disable it when suspending. Signed-off-by: Tomeu Vizoso Cc: Caesar Wang Cc: Douglas Anderson Cc: Heiko Stuebner Cc: Javier Martinez Canillas Cc: Yakir Yang --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 7

[PATCH v4 11/11] drm/i915: Add DP branch device info on debugfs

2016-06-06 Thread Mika Kahola
Read DisplayPort branch device info from through debugfs interface. v2: use drm_dp_helper routines to collect data Signed-off-by: Mika Kahola --- drivers/gpu/drm/i915/i915_debugfs.c | 66 + 1 file changed, 66 insertions(+) diff --git

[PATCH v4 10/11] drm/i915: Update bits per component for display info

2016-06-06 Thread Mika Kahola
DisplayPort branch device may define max supported bits per component. Update display info based on this value if bpc is defined. Signed-off-by: Mika Kahola --- drivers/gpu/drm/i915/intel_dp.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_dp.c

[PATCH v4 09/11] drm/i915: Check pixel rate for DP to VGA dongle

2016-06-06 Thread Mika Kahola
Filter out a mode that exceeds the max pixel rate setting for DP to VGA dongle. This is defined in DPCD register 0x81 if detailed cap info i.e. info field is 4 bytes long and it is available for DP downstream port. The register defines the pixel rate divided by 8 in MP/s. v2: DPCD read outs and

[PATCH v4 08/11] drm: Read DP branch device SW revision

2016-06-06 Thread Mika Kahola
SW revision is mandatory field for DisplayPort branch devices. This is defined in DPCD register field 0x50A. Signed-off-by: Mika Kahola --- drivers/gpu/drm/drm_dp_helper.c | 22 ++ include/drm/drm_dp_helper.h | 4 +++- 2 files changed, 25 insertions(+), 1 deletion(-)

[PATCH v4 07/11] drm: Read DP branch device HW revision

2016-06-06 Thread Mika Kahola
HW revision is mandatory field for DisplayPort branch devices. This is defined in DPCD register field 0x509. Signed-off-by: Mika Kahola --- drivers/gpu/drm/drm_dp_helper.c | 21 + include/drm/drm_dp_helper.h | 7 +++ 2 files changed, 28 insertions(+) diff --git

[PATCH v4 06/11] drm: Read DP branch device id

2016-06-06 Thread Mika Kahola
Read DisplayPort branch device id string. Signed-off-by: Mika Kahola --- drivers/gpu/drm/drm_dp_helper.c | 12 include/drm/drm_dp_helper.h | 2 ++ 2 files changed, 14 insertions(+) diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c index

[PATCH v4 05/11] drm: Helper to read max bits per component

2016-06-06 Thread Mika Kahola
Helper routine to read out maximum supported bits per component for DisplayPort legay converters. Signed-off-by: Mika Kahola --- drivers/gpu/drm/drm_dp_helper.c | 31 +++ include/drm/drm_dp_helper.h | 2 ++ 2 files changed, 33 insertions(+) diff --git

[PATCH v4 04/11] drm: Helper to read max clock rate

2016-06-06 Thread Mika Kahola
Helper routine to read out maximum supported pixel rate for DisplayPort legay VGA converter or TMDS clock rate for other digital legacy converters. The helper returns clock rate in kHz. Signed-off-by: Mika Kahola --- drivers/gpu/drm/drm_dp_helper.c | 28

[PATCH v4 03/11] drm: Helper to read DP branch device type

2016-06-06 Thread Mika Kahola
Helper routine to read out DisplayPort branch device type. The spec defines these type as following 0 DisplayPort 1 Analog VGA 2 DVI 3 HDMI 4 Others without EDID support 5 DP++ 6 Wireless 7 Reserved Signed-off-by:

[PATCH v4 02/11] drm: Read DP downstream port capabilities

2016-06-06 Thread Mika Kahola
Read DisplayPort downstream port capabilities. Depending on the DP port the capabilities are defined in length of 1 byte or 4 bytes depending if the detailed capability information is available. Signed-off-by: Mika Kahola --- drivers/gpu/drm/drm_dp_helper.c | 27 +++

[PATCH v4 01/11] drm: Add missing DP downstream port types

2016-06-06 Thread Mika Kahola
Add missing DisplayPort downstream port types. The introduced new port types are DP++ and Wireless. Signed-off-by: Mika Kahola --- include/drm/drm_dp_helper.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index 5a848e7..e384c7f

[PATCH v4 00/11] drm/i915: DP branch devices

2016-06-06 Thread Mika Kahola
Prep work for DP branch device handling This series of patches reads DPCD register 0x80h for receiver capabilities for DP branch devices. The branch device types are converters for the following standards - DP to VGA - DP to DVI - DP to HDMI - DP++ dual mode - Wireless WiGig DPCD register

[PATCH 1/3] drm/arcpgu: Make ARC PGU usable on simulation platforms

2016-06-06 Thread Daniel Vetter
On Mon, Jun 06, 2016 at 01:56:23PM +0300, Alexey Brodkin wrote: > From: Ruud Derwig > > Initially ARC PGU required real encoder/trnasmitter to exist. > That was fine for real HW such as ARC SDP boards. > > But on some simulaiton platroms like ARC VDK or nSIM OSCI we have model > of the same ARC

274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")

2016-06-06 Thread Borislav Petkov
Hi, commit in $Subject breaks suspend to disk on my box here. Reverting it ontop of 4.7-rc2 fixes the problem. DRM-specific messages in dmesg are: [6.837698] [drm] radeon kernel modesetting enabled. [6.871372] [drm] initializing kernel modesetting (RV635 0x1002:0x9598 0x1043:0x01DA

[PATCH] drm/core: Change declaration for gamma_set.

2016-06-06 Thread Deucher, Alexander
> -Original Message- > From: Daniel Vetter [mailto:daniel.vetter at ffwll.ch] On Behalf Of Daniel > Vetter > Sent: Monday, June 06, 2016 12:00 PM > To: Maarten Lankhorst > Cc: dri-devel at lists.freedesktop.org; intel-gfx at lists.freedesktop.org; > Mathieu Larouche; VMware Graphics; Ben

[PATCH 2/2] drm/rockchip: vop: correct the source size of uv scale factor setting

2016-06-06 Thread Yakir Yang
From: Mark Yao When the input color format is YUV, we need to do some external scale for CBCR. Like, * In YUV420 data format: cbcr_xscale = dst_w / src_w * 2; cbcr_yscale = dst_h / src_h * 2; * In YUV422 data format: cbcr_xscale = dst_w / src_w * 2;

[PATCH 1/2] drm/rockchip: vop: add uv_vir register field for RK3036 VOP

2016-06-06 Thread Yakir Yang
The WIN0 of RK3036 VOP could support YUV data format, but driver forget to add the uv_vir register field for it. Signed-off-by: Yakir Yang --- drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c

[Intel-gfx] [PATCH v4] drm/i915/ilk: Don't disable SSC source if it's in use

2016-06-06 Thread Lyude Paul
On Mon, 2016-06-06 at 14:30 +0300, Ville Syrjälä wrote: > On Thu, May 26, 2016 at 09:54:56AM +0200, Daniel Vetter wrote: > > > > On Wed, May 25, 2016 at 02:11:02PM -0400, Lyude wrote: > > > > > > Thanks to Ville Syrjälä for pointing me towards the cause of this issue. > > > > > >

[PATCH] drm/exynos: fimd: fix trigger mode change regression

2016-06-06 Thread Javier Martinez Canillas
0210 [4.182793] pgd = c0004000 [4.185171] [0210] *pgd= [4.188657] Internal error: Oops: 5 [#1] PREEMPT SMP ARM [4.194164] Modules linked in: [4.196964] CPU: 1 PID: 68 Comm: kworker/1:1 Not tainted 4.7.0-rc2-next-20160606-6-g876c3150327a #97 [4.206565] Har

[RFC PATCH] drm: msm: Add ASoC generic hdmi audio codec support.

2016-06-06 Thread Jyri Sarha
On 06/03/16 16:56, Srinivas Kandagatla wrote: > This patch adds support to generic audio codec via > ASoC hdmi-codec infrastucture which is merged recently. > I know nothing about msm HW, but from the hdmi-codec point of view this looks like a correct usage. However, the hdmi-codec could

[PATCH] drm: sun4i: fix LPAE warnings

2016-06-06 Thread Arnd Bergmann
On Friday, June 3, 2016 5:57:31 PM CEST Andre Przywara wrote: > When the sun4i DRM driver is compiled with LPAE enabled, dma_addr_t turns > into a 64-bit type, which causes warnings with some debug printks: > = > In file included from > drivers/gpu/drm/sun4i/sun4i_backend.c:13:: >

[Bug 96278] [amdgpu][tonga]Kernel Hung when starting X while detecting outputs

2016-06-06 Thread bugzilla-dae...@freedesktop.org
are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160606/c47272a2/attachment-0001.html>

[Bug 96278] [amdgpu][tonga]Kernel Hung when starting X while detecting outputs

2016-06-06 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160606/89fb40ab/attachment.html>

[Intel-gfx] [PATCH v4] drm/i915/ilk: Don't disable SSC source if it's in use

2016-06-06 Thread Ville Syrjälä
On Thu, May 26, 2016 at 09:54:56AM +0200, Daniel Vetter wrote: > On Wed, May 25, 2016 at 02:11:02PM -0400, Lyude wrote: > > Thanks to Ville Syrjälä for pointing me towards the cause of this issue. > > > > Unfortunately one of the sideaffects of having the refclk for a DPLL set > > to SSC is

[PATCH] drm/vc4: clean up error exit path on failed dpi_connector allocation

2016-06-06 Thread Eric Anholt
ed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160606/f4a78dfc/attachment.sig>

[RFC PATCH v1 4/6] PM / devfreq: event: support rockchip dfi controller

2016-06-06 Thread hl
Hi Thierry, On 2016年06月04日 00:54, Thierry Reding wrote: > On Fri, Jun 03, 2016 at 05:55:17PM +0800, Lin Huang wrote: > [...] >> +ret = clk_prepare_enable(data->clk); >> +if (ret) { >> +dev_err(>dev, "failed to enable clk: %d\n", ret); >> +

[Bug 96278] [amdgpu][tonga]Kernel Hung when starting X while detecting outputs

2016-06-06 Thread bugzilla-dae...@freedesktop.org
was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160606/2e2f2c3f/attachment.html>

[PATCH 3/3] ARC: [nsimosci] Enable ARC PGU on nSIM OSCI virtual platforms

2016-06-06 Thread Alexey Brodkin
With required ARC PGU updates that allow it to be used on simulation platforms we may finally utilize ARC PGU in nSIM OSCI virtual platforms with modern Linux kernels. Signed-off-by: Alexey Brodkin --- arch/arc/boot/dts/nsimosci.dts | 14 +++---

[PATCH 2/3] ARCv2: [vdk] Enable ARC PGU on HS38 VDK

2016-06-06 Thread Alexey Brodkin
With required ARC PGU updates that allow it to be used on simulation platforms we may finally utilize ARC PGU in HS38 VDK with modern Linux kernels. Signed-off-by: Alexey Brodkin --- arch/arc/boot/dts/vdk_axs10x_mb.dtsi| 13 + arch/arc/boot/dts/vdk_hs38_smp.dts | 2 +-

[PATCH 1/3] drm/arcpgu: Make ARC PGU usable on simulation platforms

2016-06-06 Thread Alexey Brodkin
From: Ruud Derwig Initially ARC PGU required real encoder/trnasmitter to exist. That was fine for real HW such as ARC SDP boards. But on some simulaiton platroms like ARC VDK or nSIM OSCI we have model of the same ARC PGU and ability to output video data in a virtual LCD.

[PATCH 0/3] Make ARC PGU usable on sim platforms

2016-06-06 Thread Alexey Brodkin
Initially ARC PGU required real encoder/trnasmitter to exist. That was fine for real HW such as ARC SDP boards. But on some simulaiton platroms like ARC VDK or nSIM OSCI we have model of the same ARC PGU and ability to output video data in a virtual LCD. To make ARC PGU driver usable in those

[PATCH 07/23] drm: omapdrm: Handle FIFO underflow IRQs internally

2016-06-06 Thread Tomi Valkeinen
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/20160606/4c7bedff/attachment.sig>

[GIT PULL] drm-vc4-fixes-2016-06-06 for 4.7

2016-06-06 Thread Eric Anholt
Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) are available in the git repository at: git at github.com:anholt/linux.git tags/drm-vc4-fixes-2016-06-06 for you to fetch changes up to 56d1fe0979dc9b73c1c12ee07722ac380d42a0c4: drm/vc4: Make pageflip completion handling more robust. (2016-06-06

[RFC PATCH] drm: msm: Add ASoC generic hdmi audio codec support.

2016-06-06 Thread Srinivas Kandagatla
On 06/06/16 13:23, Jyri Sarha wrote: > On 06/03/16 16:56, Srinivas Kandagatla wrote: >> >This patch adds support to generic audio codec via >> >ASoC hdmi-codec infrastucture which is merged recently. >> > > I know nothing about msm HW, but from the hdmi-codec point of view this > looks like a

[PATCH 10/23] drm: omapdrm: Use atomic state instead of local device state

2016-06-06 Thread Tomi Valkeinen
looking at seemingly unrelated information, and deducing from that if the hw is enabled or not. 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/20160606/9d754143/attachment.sig>

[Mesa-dev] radeonfb: BAR 0: can't reserve [mem 0x98000000-0x9fffffff pref]

2016-06-06 Thread Alex Deucher
On Mon, Jun 6, 2016 at 1:16 PM, Marek Olšák wrote: > [+ dri-devel] > > On Mon, Jun 6, 2016 at 8:42 AM, Mathieu Malaterre wrote: >> Hi, >> >> Before reporting a possible invalid bug report. Does anyone knows why >> radeaonfb is not configured the same way radeon is ? For instance on a >>

[PATCH 08/14] drm/amdgpu: use drm_crtc_vblank_{get,put}()

2016-06-06 Thread Gustavo Padovan
2016-06-06 Alex Deucher : > On Mon, Jun 6, 2016 at 10:41 AM, Gustavo Padovan > wrote: > > From: Gustavo Padovan > > > > Replace the legacy drm_vblank_{get,put}() with the new helper functions. > > > > Signed-off-by: Gustavo Padovan > > This and the radeon patch are: > > Reviewed-by: Alex

[PATCH] Documentation: add fence-array to kernel DocBook

2016-06-06 Thread Gustavo Padovan
From: Gustavo Padovan Include fence-array files in the DocBook. Signed-off-by: Gustavo Padovan --- This should go to drm-misc, as fence-array are only present there at the moment. --- Documentation/DocBook/device-drivers.tmpl | 2 ++ 1 file changed, 2

[Bug 94900] HD6950 GPU lockup loop with various steam games (octodad, saints row 4, grid autosport)

2016-06-06 Thread bugzilla-dae...@freedesktop.org
for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160606/6fb8dac8/attachment.html>

[Bug 94900] HD6950 GPU lockup loop with various steam games (octodad, saints row 4, grid autosport)

2016-06-06 Thread bugzilla-dae...@freedesktop.org
bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160606/7dfa2859/attachment.html>

[RFC PATCH v1 4/6] PM / devfreq: event: support rockchip dfi controller

2016-06-06 Thread hl
On 2016年06月03日 18:26, Chanwoo Choi wrote: > Hi Lin, > > I add the some comment on below. If you modify it, > You can add my acked-by tag. Looks good to me. Thanks for you reviewing, i will update the code folloiwing your comment. > Acked-by: Chanwoo Choi > > Also, I'd like you to add me

[PATCH 14/14] drm/shmobile: use drm_crtc_vblank_{get,put}()

2016-06-06 Thread Gustavo Padovan
From: Gustavo Padovan Replace the legacy drm_vblank_{get,put}() with the new helper functions. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 13/14] drm/radeon: use drm_crtc_vblank_{get,put}()

2016-06-06 Thread Gustavo Padovan
From: Gustavo Padovan Replace the legacy drm_vblank_{get,put}() with the new helper functions. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/radeon/radeon_display.c | 6 +++--- drivers/gpu/drm/radeon/radeon_pm.c | 13 + 2 files changed,

[PATCH 12/14] drm/qxl: use drm_crtc_vblank_{get,put}()

2016-06-06 Thread Gustavo Padovan
From: Gustavo Padovan Replace the legacy drm_vblank_{get,put}() with the new helper functions. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/qxl/qxl_display.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 11/14] drm/nouveau: use drm_crtc_vblank_{get,put}()

2016-06-06 Thread Gustavo Padovan
From: Gustavo Padovan Replace the legacy drm_vblank_{get,put}() with the new helper functions. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/nouveau/nouveau_display.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 10/14] drm/atmel: use drm_crtc_vblank_{get,put}()

2016-06-06 Thread Gustavo Padovan
From: Gustavo Padovan Replace the legacy drm_vblank_{get,put}() with the new helper functions. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 09/14] drm/armada: use drm_crtc_vblank_{get,put}()

2016-06-06 Thread Gustavo Padovan
From: Gustavo Padovan Replace the legacy drm_vblank_{get,put}() with the new helper functions. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/armada/armada_crtc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 08/14] drm/amdgpu: use drm_crtc_vblank_{get,put}()

2016-06-06 Thread Gustavo Padovan
From: Gustavo Padovan Replace the legacy drm_vblank_{get,put}() with the new helper functions. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 2 +-

[PATCH 07/14] drm: remove legacy drm_send_vblank_event()

2016-06-06 Thread Gustavo Padovan
From: Gustavo Padovan We don't have any user of this function anymore, let's remove it. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/drm_irq.c | 31 ++- include/drm/drmP.h| 2 -- 2 files changed, 6 insertions(+), 27

[PATCH RESEND 06/14] drm/virtio: use drm_crtc_send_vblank_event()

2016-06-06 Thread Gustavo Padovan
From: Gustavo Padovan Replace the legacy drm_send_vblank_event() with the new helper function. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/virtio/virtgpu_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH RESEND 05/14] drm/udl: use drm_crtc_send_vblank_event()

2016-06-06 Thread Gustavo Padovan
From: Gustavo Padovan Replace the legacy drm_send_vblank_event() with the new helper function. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/udl/udl_modeset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH RESEND 04/14] drm/qxl: use drm_crtc_send_vblank_event()

2016-06-06 Thread Gustavo Padovan
From: Gustavo Padovan Replace the legacy drm_send_vblank_event() with the new helper function. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/qxl/qxl_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH RESEND 03/14] drm/atmel: use drm_crtc_send_vblank_event()

2016-06-06 Thread Gustavo Padovan
From: Gustavo Padovan Replace the legacy drm_send_vblank_event() with the new helper function. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH RESEND 02/14] drm/armada: use drm_crtc_send_vblank_event()

2016-06-06 Thread Gustavo Padovan
From: Gustavo Padovan Replace the legacy drm_send_vblank_event() with the new helper function. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/armada/armada_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 01/14] drm/nouveau: use drm_crtc_send_vblank_event() v2

2016-06-06 Thread Gustavo Padovan
From: Gustavo Padovan Replace the legacy drm_send_vblank_event() with the new helper function. v2: add crtc to nouveau_page_flip_state (comment from Mario Kleiner) Cc: Mario Kleiner Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/nouveau/nouveau_display.c

[PATCH 08/14] drm/amdgpu: use drm_crtc_vblank_{get,put}()

2016-06-06 Thread Alex Deucher
On Mon, Jun 6, 2016 at 10:41 AM, Gustavo Padovan wrote: > From: Gustavo Padovan > > Replace the legacy drm_vblank_{get,put}() with the new helper functions. > > Signed-off-by: Gustavo Padovan This and the radeon patch are: Reviewed-by: Alex Deucher Should I pick this up, or are you planning

[RFC PATCH v1 3/6] clk: rockchip: rk3399: add ddrc clock support

2016-06-06 Thread hl
Hi Heiko, On 2016年06月03日 20:56, Heiko Stübner wrote: > Am Freitag, 3. Juni 2016, 17:55:16 schrieb Lin Huang: >> add ddrc clock setting, so we can do ddr frequency >> scaling on rk3399 platform in future. >> >> Signed-off-by: Lin Huang >> --- >> Changes in v1: >> - remove ddrc source

[RFC PATCH v1 1/6] rockchip: rockchip: add new clock-type for the ddrclk

2016-06-06 Thread hl
Hi Heiko, On 2016年06月03日 20:51, Heiko Stübner wrote: > Am Freitag, 3. Juni 2016, 17:55:14 schrieb Lin Huang: >> On new rockchip platform(rk3399 etc), there have dcf controller to >> do ddr frequency scaling, and this controller will implement in >> arm-trust-firmware. We add a special

[RFC PATCH v1 1/6] rockchip: rockchip: add new clock-type for the ddrclk

2016-06-06 Thread hl
Hi Heiko, On 2016年06月03日 20:51, Heiko Stübner wrote: > Am Freitag, 3. Juni 2016, 17:55:14 schrieb Lin Huang: >> On new rockchip platform(rk3399 etc), there have dcf controller to >> do ddr frequency scaling, and this controller will implement in >> arm-trust-firmware. We add a special

[PATCH] drm/core: Change declaration for gamma_set.

2016-06-06 Thread Maarten Lankhorst
Change return value to int to propagate errors from gamma_set, and remove start parameter. Updates always use the full size, and some drivers even ignore the start parameter altogether. Cc: Alex Deucher Cc: Christian König Cc: David Airlie Cc: Patrik Jakobsson Cc: Ben Skeggs Cc: Eric Anholt

[PATCH 2/2] drm/dsi: Implement dcs backlight brightness

2016-06-06 Thread Jani Nikula
On Thu, 02 Jun 2016, Vinay Simha BN wrote: > Provide a small convenience wrapper that set/get the > backlight brightness control and creates the backlight > device for the panel interface To be pedantic, we should downplay "backlight" in the DSI DCS brightness control... there need not be a

[RFC PATCH v1 1/6] rockchip: rockchip: add new clock-type for the ddrclk

2016-06-06 Thread hl
Hi Shawn, On 2016年06月03日 20:29, Shawn Lin wrote: > Hi Lin, > > It looks good with only a few minor comments. > > On 2016/6/3 17:55, Lin Huang wrote: >> On new rockchip platform(rk3399 etc), there have dcf controller to >> do ddr frequency scaling, and this controller will implement in >>

  1   2   >