[PATCH v4 7/7] drm: Remove obsolete drm_helper_crtc_enable_color_mgmt()

2016-05-25 Thread Jyri Sarha
Remove obsolete drm_helper_crtc_enable_color_mgmt(). The function is replaced by drm_crtc_enable_color_mgmt(). Signed-off-by: Jyri Sarha --- drivers/gpu/drm/drm_crtc_helper.c | 33 - include/drm/drm_crtc_helper.h | 3 --- 2 files changed, 36 deletions(-) dif

[PATCH v4 6/7] drm/i915: Use drm_crtc_enable_color_mgmt()

2016-05-25 Thread Jyri Sarha
Use drm_crtc_enable_color_mgmt() in intel_color_init() instead of obsolete drm_helper_crtc_enable_color_mgmt(). Signed-off-by: Jyri Sarha CC: Lionel Landwerlin --- I have not tested this change, only compiled it, but functionally it should be the same. Probably it would make sense to get rid off

[PATCH v4 5/7] drm/omapdrm: Use drm_crtc_enable_color_mgmt() to enable gamma properties

2016-05-25 Thread Jyri Sarha
Use new drm_crtc_enable_color_mgmt() to enable gamma lut properties. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/omapdrm/omap_crtc.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index

[PATCH v4 4/7] drm: Add drm_crtc_enable_color_mgmt()

2016-05-25 Thread Jyri Sarha
Add drm_crtc_enable_color_mgmt() to. The new function makes the old drm_helper_crtc_enable_color_mgmt() obsolete. The new function is more flexible. It allows driver to enable only the feature it has without forcing to enable all three color management features: gegamma lut, csc matrix (ctm), and g

[PATCH v4 3/7] drm/omapdrm: Implement gamma_lut atomic crtc properties

2016-05-25 Thread Jyri Sarha
Implement gamma_lut atomic crtc properties, set crtc gamma size to 256 for all crtcs and use drm_atomic_helper_legacy_gamma_set() as gamma_set func. The tv-out crtc has 1024 element gamma table (with 10bit precision) in HW, but current Xorg server does not accept anything else but 256 elements so t

[PATCH v4 2/7] drm/omapdrm: Workaround for errata i734 (LCD1 Gamma) in DSS dispc

2016-05-25 Thread Jyri Sarha
Workaround for errata i734 in DSS dispc - LCD1 Gamma Correction Is Not Working When GFX Pipe Is Disabled For gamma tables to work on LCD1 the GFX plane has to be used at least once after DSS HW has come out of reset. The workaround sets up a minimal LCD setup with GFX plane and waits for one vert

[PATCH v4 1/7] drm/omapdrm: Add gamma table support to DSS dispc

2016-05-25 Thread Jyri Sarha
Add gamma table support to DSS dispc. DSS driver initializes the default gamma table at component bind time and holds a copy of all gamma tables in its internal data structure. Each call to dispc_mgr_set_gamma() updates the internal table and triggers write to the HW, if it is enabled. The tables

[PATCH v4 0/7] drm/omapdrm: gamma table support + drm_crtc_enable_color_mgmt()

2016-05-25 Thread Jyri Sarha
Implements gamma tables for OMAP4, OMAP5, and dra7xx SoCs and adds a work-a-round for errata that may break LCD1 channel if gamma tables are in use. Also adds new drm_crtc_enable_color_mgmt() as suggested[1] by Daniel Vetter and get rid of the old drm_helper_crtc_enable_color_mgmt(). I have not te

[Bug 95517] Constant GPU VM faults

2016-05-25 Thread bugzilla-dae...@freedesktop.org
e the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160525/2f2954bb/attachment-0001.html>

[PATCH v4 4/7] drm: Add drm_crtc_enable_color_mgmt()

2016-05-25 Thread Emil Velikov
On 25 May 2016 at 22:05, Emil Velikov wrote: > On 25 May 2016 at 21:43, Jyri Sarha wrote: >> Add drm_crtc_enable_color_mgmt() to. The new function makes the old >> drm_helper_crtc_enable_color_mgmt() obsolete. The new function is more >> flexible. It allows driver to enable only the feature it ha

[PATCH] drm/amd: add Kconfig dependency for ACP on DRM_AMDGPU

2016-05-25 Thread Emil Velikov
Hi Jeff, I'm thinking out loud so here are a few suggestions/ideas. Please don't take them too seriously although they do make sense from this end. On 24 May 2016 at 18:47, Jeff Mahoney wrote: > The DRM_AMD_ACP option doesn't have any dependencies and selects > MFD_CORE, which results in MFD_COR

[PATCH v4 4/7] drm: Add drm_crtc_enable_color_mgmt()

2016-05-25 Thread Emil Velikov
On 25 May 2016 at 21:43, Jyri Sarha wrote: > Add drm_crtc_enable_color_mgmt() to. The new function makes the old > drm_helper_crtc_enable_color_mgmt() obsolete. The new function is more > flexible. It allows driver to enable only the feature it has without > forcing to enable all three color manag

[Bug 118701] x86_64 GMA500 reports /dev/dri/card0: failed to set DRM interface version 1.4: Inappropriate ioctl for device

2016-05-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=118701 --- Comment #5 from Patrik Jakobsson --- Thanks for testing, queued for next and stable -- You are receiving this mail because: You are watching the assignee of the bug.

[RFC] drm: Introduce max width and height properties for planes

2016-05-25 Thread Daniel Vetter
On Wed, May 25, 2016 at 7:57 PM, Rob Clark wrote: >> As far as virtualizing the resources goes. I think that would need a >> whole new API. Or at least a separate set of objects perhaps. I'm too >> lazy to dig up all the old arguments now, but I'm pretty sure there >> were many. If this would be d

[Bug 88861] [efi, i915, vgaswitcheroo, black screen, nouveau] Screen goes black when switching from dedicated nvidia graphics card (nouveau) to integrated

2016-05-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=88861 --- Comment #20 from Wilfried Klaebe --- No Xorg config. Especially nothing special for intel or radeon. No special rEFInd features. Files attached. -- You are receiving this mail because: You are the assignee for the bug.

[Bug 88861] [efi, i915, vgaswitcheroo, black screen, nouveau] Screen goes black when switching from dedicated nvidia graphics card (nouveau) to integrated

2016-05-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=88861 --- Comment #19 from Wilfried Klaebe --- Created attachment 217581 --> https://bugzilla.kernel.org/attachment.cgi?id=217581&action=edit refind_linux.conf of both cases -- You are receiving this mail because: You are the assignee for the bug.

[Bug 88861] [efi, i915, vgaswitcheroo, black screen, nouveau] Screen goes black when switching from dedicated nvidia graphics card (nouveau) to integrated

2016-05-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=88861 --- Comment #18 from Wilfried Klaebe --- Created attachment 217571 --> https://bugzilla.kernel.org/attachment.cgi?id=217571&action=edit Xorg.log on working Linux 4.6.0 (commit reverted) -- You are receiving this mail because: You are the assig

[Bug 88861] [efi, i915, vgaswitcheroo, black screen, nouveau] Screen goes black when switching from dedicated nvidia graphics card (nouveau) to integrated

2016-05-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=88861 --- Comment #17 from Wilfried Klaebe --- Created attachment 217561 --> https://bugzilla.kernel.org/attachment.cgi?id=217561&action=edit Xorg.log on non-working Linux 4.6.0 -- You are receiving this mail because: You are the assignee for the bu

[Bug 88861] [efi, i915, vgaswitcheroo, black screen, nouveau] Screen goes black when switching from dedicated nvidia graphics card (nouveau) to integrated

2016-05-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=88861 --- Comment #16 from Wilfried Klaebe --- Created attachment 217551 --> https://bugzilla.kernel.org/attachment.cgi?id=217551&action=edit kern.log / dmesg of working Linux 4.6.0 (commit reverted) -- You are receiving this mail because: You are t

[Bug 88861] [efi, i915, vgaswitcheroo, black screen, nouveau] Screen goes black when switching from dedicated nvidia graphics card (nouveau) to integrated

2016-05-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=88861 --- Comment #15 from Wilfried Klaebe --- Created attachment 217541 --> https://bugzilla.kernel.org/attachment.cgi?id=217541&action=edit kern.log / dmesg of non-working Linux 4.6.0 -- You are receiving this mail because: You are the assignee fo

[Bug 88861] [efi, i915, vgaswitcheroo, black screen, nouveau] Screen goes black when switching from dedicated nvidia graphics card (nouveau) to integrated

2016-05-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=88861 --- Comment #14 from Wilfried Klaebe --- Created attachment 217531 --> https://bugzilla.kernel.org/attachment.cgi?id=217531&action=edit config of working Linux 4.6.0 (with commit reverted) -- You are receiving this mail because: You are the as

[Bug 88861] [efi, i915, vgaswitcheroo, black screen, nouveau] Screen goes black when switching from dedicated nvidia graphics card (nouveau) to integrated

2016-05-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=88861 --- Comment #13 from Wilfried Klaebe --- Created attachment 217521 --> https://bugzilla.kernel.org/attachment.cgi?id=217521&action=edit config of non-working Linux 4.6.0 -- You are receiving this mail because: You are the assignee for the bug.

[RFC] drm: Introduce max width and height properties for planes

2016-05-25 Thread Ville Syrjälä
On Wed, May 25, 2016 at 12:36:53PM -0400, Rob Clark wrote: > On Wed, May 25, 2016 at 9:12 AM, Daniel Vetter wrote: > > On Wed, May 25, 2016 at 04:28:36PM +0530, Archit Taneja wrote: > >> On 05/25/2016 12:40 PM, Daniel Vetter wrote: > >> >- Is the size/width really independent of e.g. rotation/pixe

[PATCH] drm: expand cea861 mode timing table

2016-05-25 Thread Yang, Eric
Hi Thierry Reding, enum hdmi_picture_aspect { > HDMI_PICTURE_ASPECT_NONE, > HDMI_PICTURE_ASPECT_4_3, > HDMI_PICTURE_ASPECT_16_9, > + HDMI_PICTURE_ASPECT_64_27, > + HDMI_PICTURE_ASPECT_256_135, > HDMI_PICTURE_ASPECT_RESERVED, > }; These are defined since CEA861F de

[Bug 95094] Flat uniform gets overwrites previous uniform

2016-05-25 Thread bugzilla-dae...@freedesktop.org
: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160525/219ad566/attachment.html>

[Bug 95072] [wine] Rendering bug in GTA IV

2016-05-25 Thread bugzilla-dae...@freedesktop.org
HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160525/53025d69/attachment-0001.html>

[PATCH] Add virtio gpu driver.

2016-05-25 Thread Daniel Vetter
On Mon, Mar 30, 2015 at 4:49 PM, Daniel Vetter wrote: > On Mon, Mar 30, 2015 at 02:23:47PM +0200, Gerd Hoffmann wrote: >> > > Signed-off-by: Dave Airlie >> > > Signed-off-by: Gerd Hoffmann >> > >> > Standard request from my side for new drm drivers (especially if they're >> > this simple): Can y

[PATCH v3 7/7] [wip] virtio-gpu: add page flip support

2016-05-25 Thread Daniel Vetter
On Fri, Oct 2, 2015 at 1:58 PM, Gerd Hoffmann wrote: > Signed-off-by: Gerd Hoffmann So I entirely missed this, but this isn't really how to implement page_flip for an atomic driver. Working on some stuff and will hack up a likely totally broken patch, but should be enough as guideline. -Daniel

[PATCH 12/20] drm/sun4i: Add bridge support

2016-05-25 Thread Maxime Ripard
lectrons Embedded Linux, Kernel and Android 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/20160525/56a7f4a6/attachment.sig>

[PATCH 2/3] Define fb_open_adj_file()

2016-05-25 Thread Max Staudt
On 05/24/2016 06:51 PM, Daniel Vetter wrote: > On Tue, May 24, 2016 at 6:28 PM, Max Staudt wrote: >> Hi Daniel, >> >> Thanks for the feedback! Comments below: >> >> >> On 05/23/2016 03:44 PM, Daniel Vetter wrote: >>> Do we _really_ care about fbdev mmap support so much that we want to add >>> more

[PATCH 04/14] gpu: ipu-v3: ipu-dmfc: Use static DMFC FIFO allocation mechanism

2016-05-25 Thread Ying Liu
On Tue, May 24, 2016 at 10:23 PM, Philipp Zabel wrote: > Am Dienstag, den 24.05.2016, 18:10 +0800 schrieb Liu Ying: >> For normal video modes such as 1280x720p at 60Hz and 1920x1080p at 60Hz, > > I'm very happy to drop all this code if possible, but the stated reason > is not good enough. Rather

[git pull] drm for v4.7

2016-05-25 Thread Emil Velikov
On 25 May 2016 at 17:13, Linus Torvalds wrote: > On Wed, May 25, 2016 at 1:28 AM, Jani Nikula > wrote: >> >> There may be better ones out there, but Artem's "aiaiai" has some >> helpers [1] for diffing build logs, if you want something simple to >> integrate into existing scripts. > > It would b

[PATCH] Add virtio gpu driver.

2016-05-25 Thread Emil Velikov
On 25 May 2016 at 17:40, Daniel Vetter wrote: > On Mon, Mar 30, 2015 at 4:49 PM, Daniel Vetter wrote: >> On Mon, Mar 30, 2015 at 02:23:47PM +0200, Gerd Hoffmann wrote: >>> > > Signed-off-by: Dave Airlie >>> > > Signed-off-by: Gerd Hoffmann >>> > >>> > Standard request from my side for new drm d

[PATCH] drm/admgpu/powerplay/polaris: fix powertune table upload

2016-05-25 Thread Alex Deucher
From: Rex Zhu Exclude AVFS related fields when update powertune table to hw. The driver shouldn't set them directly. Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_powertune.c | 2 +- 1 file changed, 1 insertion(

[PATCH 05/14] drm/crtc_helper: Disable and reenable primary plane in drm_helper_crtc_mode_set

2016-05-25 Thread Ying Liu
On Tue, May 24, 2016 at 6:57 PM, Daniel Vetter wrote: > On Tue, May 24, 2016 at 06:10:44PM +0800, Liu Ying wrote: >> Since CRTC has already been disabled in crtc_funcs->prepare(), it doesn't >> hurt >> to disable the primary plane in drm_helper_crtc_mode_set() before enabling it >> in drm_helper_

[PATCH] drm/amdgpu/iceland: Set SC_PA_RASTER_CONFIG according to different RB enabled

2016-05-25 Thread Alex Deucher
From: Ken Wang fix the raster config setting for different iceland configs. Signed-off-by: Ken Wang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amd

[PATCH 10/14] drm/atomic-helper: Disable planes when suspending

2016-05-25 Thread Ying Liu
On Tue, May 24, 2016 at 7:00 PM, Daniel Vetter wrote: > On Tue, May 24, 2016 at 06:10:49PM +0800, Liu Ying wrote: >> We should disable planes explicitly when suspending. >> Especially, this is meaningful for those display controllers which >> don't support active planes without relevant CRTCs bein

[PATCH 5/5] drm/amd/powerplay: add mclk OD(overdrive) support for Polaris10

2016-05-25 Thread Alex Deucher
From: Eric Huang The maximum OD percentage is 20. Reviewed-by: Alex Deucher Signed-off-by: Eric Huang Signed-off-by: Alex Deucher --- .../gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c | 43 ++ 1 file changed, 43 insertions(+) diff --git a/drivers/gpu/drm/amd/powerplay/h

[PATCH 4/5] drm/amd/powerplay: add mclk OD(overdrive) support for Fiji

2016-05-25 Thread Alex Deucher
From: Eric Huang The maximum OD percentage is 20. Reviewed-by: Alex Deucher Signed-off-by: Eric Huang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c | 44 1 file changed, 44 insertions(+) diff --git a/drivers/gpu/drm/amd/powerplay/h

[PATCH 3/5] drm/amd/powerplay: add mclk OD(overdrive) support for Tonga

2016-05-25 Thread Alex Deucher
From: Eric Huang The maximum OD percentage is 20. Reviewed-by: Alex Deucher Signed-off-by: Eric Huang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c | 44 +++ 1 file changed, 44 insertions(+) diff --git a/drivers/gpu/drm/amd/powerplay/h

[PATCH 2/5] drm/amdgpu: add mclk OD(overdrive) support for CI

2016-05-25 Thread Alex Deucher
From: Eric Huang The maximum OD percentage is 20. Reviewed-by: Alex Deucher Signed-off-by: Eric Huang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 36 1 file changed, 36 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/ci_dp

[PATCH 1/5] drm/amdgpu: add the common code to support mclk OD

2016-05-25 Thread Alex Deucher
From: Eric Huang This implements mclk OverDrive(OD) through sysfs. The new entry pp_mclk_od is read/write. The value of input/output is an integer of the overclocking percentage. Reviewed-by: Alex Deucher Signed-off-by: Eric Huang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/am

[PATCH 0/5] Add mclk OD (OverDrive) support

2016-05-25 Thread Alex Deucher
This patch set adds mclk (memory clock) overclocking support to amdgpu for dGPUs. The interface is the same as for sclk (engine clock), a percentage from 0 to 20. Eric Huang (5): drm/amdgpu: add the common code to support mclk OD drm/amdgpu: add mclk OD(overdrive) support for CI drm/amd/pow

[PATCH 13/14] drm/imx: atomic phase 3 step 4: Use generic atomic page flip

2016-05-25 Thread Ying Liu
On Tue, May 24, 2016 at 7:11 PM, Daniel Vetter wrote: > On Tue, May 24, 2016 at 06:10:52PM +0800, Liu Ying wrote: >> To support generic atomic page flip, this patch customizes ->atomic_commit >> for async commits. > > It's now called nonblocking instead of async. Please run s/async/nonblock/ > ove

[PATCH 00/14] imx drm atomic mode setting conversion

2016-05-25 Thread Ying Liu
On Tue, May 24, 2016 at 10:19 PM, Philipp Zabel wrote: > Hi Liu, > > Am Dienstag, den 24.05.2016, 18:10 +0800 schrieb Liu Ying: >> Hi, >> >> This patch set converts imx drm into atomic mode setting. >> It takes 3 phases to achieve the goal as recommended. >> This patch set may apply to Philipp Za

[PATCH 03/14] drm: imx: ipuv3 plane: Check different types of plane separately

2016-05-25 Thread Ying Liu
On Tue, May 24, 2016 at 10:20 PM, Philipp Zabel wrote: > Am Dienstag, den 24.05.2016, 18:10 +0800 schrieb Liu Ying: >> The IPUv3 primary plane doesn't support partial off screen. >> So, this patch separates plane check logics for primary plane and overlay >> plane and adds more limitations on the

[PATCH] drm/amdgpu: add powercontainment module parameter

2016-05-25 Thread Alex Deucher
From: Huang Rui This patch makes powercontainment feature configurable. Currently, the powercontainment is not very stable, so add a module parameter to enable/disable it via user mode. Signed-off-by: Huang Rui Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amd

[PATCH 2/2] drm/amdgpu/gfx6: Assign num_rbs

2016-05-25 Thread Alex Deucher
From: Ken Wang This got missed in the rebase as the code changed. Signed-off-by: Ken Wang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c b/drivers/gpu/d

[PATCH 1/2] drm/amdgpu: Add SI Family information

2016-05-25 Thread Alex Deucher
From: Ken Wang Signed-off-by: Ken Wang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 + include/uapi/drm/amdgpu_drm.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/dri

[PATCH 8/8] drm/amdgpu: fix and cleanup job destruction

2016-05-25 Thread Alex Deucher
From: Christian König Remove the job reference counting and just properly destroy it from a work item which blocks on any potential running timeout handler. Signed-off-by: Christian König Reviewed-by: Monk.Liu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h |

[PATCH 7/8] drm/amdgpu: move locking into the functions who need it

2016-05-25 Thread Alex Deucher
From: Christian König Otherwise the locking becomes rather confusing. Signed-off-by: Christian König Reviewed-by: Monk.Liu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dr

[PATCH 6/8] drm/amdgpu: properly abstract scheduler timeout handling

2016-05-25 Thread Alex Deucher
From: Christian König The driver shouldn't mess with the scheduler internals. Signed-off-by: Christian König Reviewed-by: Monk.Liu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c| 3 +-- drivers/gpu/drm/a

[PATCH 5/8] drm/amdgpu: remove use_shed hack in job cleanup

2016-05-25 Thread Alex Deucher
From: Christian König Remembering the code path in a variable to cleanup differently is usually not a good idea at all. Signed-off-by: Christian König Reviewed-by: Monk.Liu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 13 - drivers/gpu/drm/amd

[PATCH 4/8] drm/amdgpu: fix coding style in amdgpu_job_free

2016-05-25 Thread Alex Deucher
From: Christian König Ther should be a new line between code and decleration. Also use amdgpu_ib_free() instead of releasing the member manually. Signed-off-by: Christian König Reviewed-by: Monk.Liu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 7 --- 1 file

[PATCH 3/8] drm/amdgpu: remove duplicated timeout callback

2016-05-25 Thread Alex Deucher
From: Christian König No need for double housekeeping here. Signed-off-by: Christian König Reviewed-by: Monk.Liu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 5 + drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 1 - 2 files changed, 1 insertion(+), 5

[PATCH 2/8] drm/amdgpu: remove begin_job/finish_job

2016-05-25 Thread Alex Deucher
From: Christian König Completely pointless and confusing to use a callback to call into the same code file. Signed-off-by: Christian König Reviewed-by: Monk.Liu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 2 -- drivers/gpu/drm/amd/scheduler/gpu_schedule

[PATCH 1/8] drm/amdgpu: fix coding style in the scheduler v2

2016-05-25 Thread Alex Deucher
From: Christian König v2: fix even more Signed-off-by: Christian König Reviewed-by: Monk.Liu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 25 +++-- drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 21 - drivers/gpu/d

[PATCH 0/8] scheduler code cleanup

2016-05-25 Thread Alex Deucher
Just some general cleanup in the GPU scheduler. Christian König (8): drm/amdgpu: fix coding style in the scheduler v2 drm/amdgpu: remove begin_job/finish_job drm/amdgpu: remove duplicated timeout callback drm/amdgpu: fix coding style in amdgpu_job_free drm/amdgpu: remove use_shed hack i

[pull] amdgpu drm-next-4.7

2016-05-25 Thread Alex Deucher
Hi Dave, A few fixes and cleanups for amdgpu for 4.7 The following changes since commit 3b59c344ab6e2d00b0f4ad946024572618c87502: drm/amd/powerplay: fix bugs of checking if dpm is running on Tonga (2016-05-18 09:22:30 -0400) are available in the git repository at: git://people.freedesktop

[PATCH 4/4] drm/nouveau/acpi: fix lockup with PCIe runtime PM

2016-05-25 Thread Mika Westerberg
On Wed, May 25, 2016 at 12:53:01AM +0200, Peter Wu wrote: > Since "PCI: Add runtime PM support for PCIe ports", the parent PCIe port > can be runtime-suspended which disables power resources via ACPI. This > is incompatible with DSM, resulting in a GPU device which is still in D3 > and locks up the

objtool warning: "duplicate frame pointer save"

2016-05-25 Thread Linus Torvalds
On Wed, May 25, 2016 at 10:56 AM, Josh Poimboeuf wrote: > > I used to have a STACKTOOL_IGNORE_INSN macro that would tell the tool to > skip warnings for specific instructions in inline asm: > > Here's an example of it how it was used: Ok, looking at that, I'm starting to suspect that it is simple

[PATCH 06/14] drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpers

2016-05-25 Thread Ying Liu
On Tue, May 24, 2016 at 10:23 PM, Philipp Zabel wrote: > Am Dienstag, den 24.05.2016, 18:10 +0800 schrieb Liu Ying: >> Use the drm_plane_helper_update/disable() and drm_helper_crtc_mode_set() >> transistional atomic helpers. The crtc->mode_set_nofb callback is added >> so that the primary plane

DRM DMA Engine

2016-05-25 Thread Jose Abreu
Hi all, Currently I am trying to develop a DRM driver that will use Xilinx VDMA to transfer video data to a HDMI TX Phy and I am facing a difficulty regarding the understanding of the DRM DMA Engine. I looked at several sources and at the DRM core source but the flow of creating and interfacing wi

[PATCH] drm/dp/mst: Always clear proposed vcpi table for port.

2016-05-25 Thread Andrey Grodzovsky
Not clearing mst manager's proposed vcpis table for destroyed connectors when the manager is stopped leaves it pointing to unrefernced memory, this causes pagefault when the manager is restarted when plugging back a branch. Fixes: 91a25e463130 ("drm/dp/mst: deallocate payload on port destruction")

[PATCH 07/14] drm/imx: atomic phase 2 step 1: Wire up state ->reset, ->duplicate and ->destroy

2016-05-25 Thread Ying Liu
On Tue, May 24, 2016 at 10:23 PM, Philipp Zabel wrote: > Am Dienstag, den 24.05.2016, 18:10 +0800 schrieb Liu Ying: >> Wire up CRTCs', planes' and connectors' ->reset, ->duplicate and ->destroy >> state >> hooks to use the default implementations from the atomic helper library. >> The helpers tr

[Bug 96213] Missing DRI support for TRIDENT Cyberblade-i1

2016-05-25 Thread bugzilla-dae...@freedesktop.org
ktop.org/archives/dri-devel/attachments/20160525/69ca1450/attachment.html>

[RFC] drm: Introduce max width and height properties for planes

2016-05-25 Thread Archit Taneja
On 05/25/2016 12:40 PM, Daniel Vetter wrote: > On Wed, May 25, 2016 at 12:03:39PM +0530, Archit Taneja wrote: >> High resoultion modes (4K/5K) are supported by encoder/crtc hardware, but >> the backing hardware planes to scanout these buffers generally don't >> support such large widths. Two (or

[Nouveau] [PATCH 9/9] drm: Turn off crtc before tearing down its data structure

2016-05-25 Thread Daniel Vetter
On Wed, May 25, 2016 at 12:51 PM, Lukas Wunner wrote: > > On Tue, May 24, 2016 at 11:30:42PM +0200, Daniel Vetter wrote: >> On Tue, May 24, 2016 at 06:03:27PM +0200, Lukas Wunner wrote: >> > When a drm_crtc structure is destroyed with drm_crtc_cleanup(), the DRM >> > core does not turn off the crt

DRM DMA Engine

2016-05-25 Thread Jose Abreu
Hi all, Currently I am trying to develop a DRM driver that will use Xilinx VDMA to transfer video data to a HDMI TX Phy and I am facing a difficulty regarding the understanding of the DRM DMA Engine. I looked at several sources and at the DRM core source but the flow of creating and interfacing wi

[PATCHv3 1/1] drm/imx: convey the pixelclk-active and de-active flags from DT to the ipu-di driver

2016-05-25 Thread Lothar Waßmann
The 'de-active' and 'pixelclk-active' DT properties are evaluated by of_parse_display_timing() called from of_get_drm_display_mode(), but later lost in the conversion from videomode.flags to drm_display_mode.flags. Use an open coded version of of_get_drm_display_mode() to get access to these flags

[RFC] drm: Introduce max width and height properties for planes

2016-05-25 Thread Daniel Vetter
On Wed, May 25, 2016 at 04:28:36PM +0530, Archit Taneja wrote: > On 05/25/2016 12:40 PM, Daniel Vetter wrote: > >- Is the size/width really independent of e.g. rotation/pixel format/... > > Should it be the maximum that's possible under best circumstance (things > > could still fail), or the mi

[PATCH 1/2] drm/exynos: g2d: Add support for old S5Pv210 type

2016-05-25 Thread Tobias Jakobi
Hey Krzysztof, Krzysztof Kozlowski wrote: > On 05/24/2016 06:05 PM, Tobias Jakobi wrote: >> Hello Krzysztof, >> >> >> Krzysztof Kozlowski wrote: >>> On 05/24/2016 03:49 PM, Tobias Jakobi wrote: Hello Krzysztof, are you sure that these are the only differences. Because AFAIK there >

[PATCH 6/6] ARM: dts: sun5i: q8-common: Enable display pipeline and LCD display

2016-05-25 Thread Maxime Ripard
ot available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160525/50918e19/attachment.sig>

[PATCH 5/6] ARM: dts: sun5i: q8-common: Enable audio codec

2016-05-25 Thread Maxime Ripard
Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160525/4ba23d8c/attachment.sig>

[PATCH] drm/exynos: g2d: drop the _REG postfix from the stride defines

2016-05-25 Thread Tobias Jakobi
This makes the defines consistent with the rest. Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exynos_drm_g2d.c index 01b7

[PATCH 4/6] ARM: dts: sun5i: q8-common: Enable USB power supply

2016-05-25 Thread Maxime Ripard
//lists.freedesktop.org/archives/dri-devel/attachments/20160525/ee47c2a1/attachment.sig>

[PATCH 0/6] ARM: dts: sun5i: q8-common: Enable various peripherals

2016-05-25 Thread Maxime Ripard
--- 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/20160525/2d9b7f8e/attachment.sig>

[PATCH 2/6] ARM: dts: axp209: Disable ldo5 by default

2016-05-25 Thread Maxime Ripard
available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160525/67730757/attachment.sig>

[PATCH 1/6] drm: sun4i: do cleanup if RGB output init fails

2016-05-25 Thread Maxime Ripard
ed Linux, Kernel and Android 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/20160525/fd557265/attachment.sig>

[PATCH] drm/exynos: remove superfluous inclusions of fbdev header

2016-05-25 Thread Tobias Jakobi
Neither of these files issue any fbdev related calls. Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/exynos/exynos7_drm_decon.c | 1 - drivers/gpu/drm/exynos/exynos_drm_core.c | 1 - drivers/gpu/drm/exynos/exynos_drm_fimd.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/gpu/d

[PATCH 14/20] ARM: sun5i: a13: Add LCD pins

2016-05-25 Thread Maxime Ripard
uot;; > > + allwinner,function = "lcd0"; > > + allwinner,drive = ; > > Just a thought: would we ever need to increase the drive strength for very > high > resolutions? I don't think we need to, but we can always change that late

[Bug 90284] GPU lockup with DOTA2

2016-05-25 Thread bugzilla-dae...@freedesktop.org
--- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160525/76361d11/attachment.html>

[PATCH] drm/exynos: use logical AND in exynos_drm_plane_check_size()

2016-05-25 Thread Tobias Jakobi
The current bitwise AND should result in the same assembler but this is what the code is actually supposed to do. Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/exynos/exynos_drm_plane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_plane

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

2016-05-25 Thread Alexander Stein
On Wednesday 25 May 2016 10:25:29, Meng Yi wrote: > Hi Alexander, > Thanks for your reply. > > > Commit d761701c55a99598477f3cb25c03d939a7711e74 only has one child > > commit in my repo. Both touch only i915 related things. Please do a proper > > bisect and name the offending commit. On which comm

[Bug 95474] Bioshock Infinite and DiRT Showdown perform very poorly on any GPU with GCN >=1.1

2016-05-25 Thread bugzilla-dae...@freedesktop.org
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/20160525/8af5c49c/attachment.html>

[PATCH 1/2] drm/exynos: g2d: Add support for old S5Pv210 type

2016-05-25 Thread Krzysztof Kozlowski
On 05/24/2016 06:05 PM, Tobias Jakobi wrote: > Hello Krzysztof, > > > Krzysztof Kozlowski wrote: >> On 05/24/2016 03:49 PM, Tobias Jakobi wrote: >>> Hello Krzysztof, >>> >>> are you sure that these are the only differences. Because AFAIK there >>> are quite a few more: >>> - DMA submission of com

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

2016-05-25 Thread Lyude
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 that as long as it's set to SSC, the GPU will prevent us from powering down any of the pipes or transcoders using it. A couple of BIOSes ena

[PATCH 09/20] drm/sun4i: defer only if we didn't find our panel

2016-05-25 Thread Maxime Ripard
ns.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/20160525/7695e4da/attachment.sig>

[PATCH 08/20] drm/sun4i: rgb: panel is an error pointer

2016-05-25 Thread Maxime Ripard
lectrons.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/20160525/c766743b/attachment.sig>

[PATCH 06/20] drm/sun4i: allow dclk to modify its parent rate

2016-05-25 Thread Maxime Ripard
: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160525/d359e38d/attachment.sig>

[RFC] drm: Introduce max width and height properties for planes

2016-05-25 Thread Rob Clark
On Wed, May 25, 2016 at 1:20 PM, Ville Syrjälä wrote: > On Wed, May 25, 2016 at 12:36:53PM -0400, Rob Clark wrote: >> On Wed, May 25, 2016 at 9:12 AM, Daniel Vetter wrote: >> > On Wed, May 25, 2016 at 04:28:36PM +0530, Archit Taneja wrote: >> >> On 05/25/2016 12:40 PM, Daniel Vetter wrote: >> >

[PATCH v2 05/10] drm/rockchip: analogix_dp: add rk3399 eDP support

2016-05-25 Thread Yakir Yang
On 05/24/2016 06:17 PM, Heiko Stuebner wrote: > Am Dienstag, 24. Mai 2016, 14:57:23 schrieb Yakir Yang: > [] >> diff --git a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c >> b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c index 29c4105..d5d4e04 >> 100644 >> --- a/drivers/gpu/drm/rockc

[PATCH v2 05/10] drm/rockchip: analogix_dp: add rk3399 eDP support

2016-05-25 Thread Yakir Yang
On 05/25/2016 02:23 AM, Heiko Stuebner wrote: > Am Dienstag, 24. Mai 2016, 11:12:20 schrieb Doug Anderson: >> Hi, >> >> On Tue, May 24, 2016 at 3:17 AM, Heiko Stuebner wrote: --- a/Documentation/devicetree/bindings/display/bridge/analogix_dp.txt +++ b/Documentation/devicetree/bindings/d

objtool warning: "duplicate frame pointer save"

2016-05-25 Thread Josh Poimboeuf
On Wed, May 25, 2016 at 10:14:24AM -0700, Linus Torvalds wrote: > Josh, > my current git version (with gcc 5.3.1) makes objtool warn about > "duplicate frame pointer save" in drivers/gpu/drm/vmwgfx/vmwgfx_msg.c > for both vmw_send_msg() and vmw_host_get_guestinfo(). > > The reason is that VMW_POR

[Nouveau] [PATCH 9/9] drm: Turn off crtc before tearing down its data structure

2016-05-25 Thread Lukas Wunner
Hi Daniel, On Tue, May 24, 2016 at 11:30:42PM +0200, Daniel Vetter wrote: > On Tue, May 24, 2016 at 06:03:27PM +0200, Lukas Wunner wrote: > > When a drm_crtc structure is destroyed with drm_crtc_cleanup(), the DRM > > core does not turn off the crtc first and neither do the drivers. With > > nouve

[Bug 88861] [efi, i915, vgaswitcheroo, black screen, nouveau] Screen goes black when switching from dedicated nvidia graphics card (nouveau) to integrated

2016-05-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=88861 --- Comment #12 from Lukas Wunner --- Thanks for the report, Wilfried. Could you please create attachments with dmesg output and Xorg output, both with and without this commit. Your kernel config and Xorg config (if any) would also be helpful. Do

[RFC] drm: Introduce max width and height properties for planes

2016-05-25 Thread Rob Clark
On Wed, May 25, 2016 at 9:12 AM, Daniel Vetter wrote: > On Wed, May 25, 2016 at 04:28:36PM +0530, Archit Taneja wrote: >> On 05/25/2016 12:40 PM, Daniel Vetter wrote: >> >- Is the size/width really independent of e.g. rotation/pixel format/... >> > Should it be the maximum that's possible under

[PATCH 10/14] drm/atomic-helper: Disable planes when suspending

2016-05-25 Thread Daniel Vetter
On Wed, May 25, 2016 at 05:30:05PM +0800, Ying Liu wrote: > On Tue, May 24, 2016 at 7:00 PM, Daniel Vetter wrote: > > On Tue, May 24, 2016 at 06:10:49PM +0800, Liu Ying wrote: > >> We should disable planes explicitly when suspending. > >> Especially, this is meaningful for those display controller

[PATCH 05/14] drm/crtc_helper: Disable and reenable primary plane in drm_helper_crtc_mode_set

2016-05-25 Thread Daniel Vetter
On Wed, May 25, 2016 at 05:37:41PM +0800, Ying Liu wrote: > On Tue, May 24, 2016 at 6:57 PM, Daniel Vetter wrote: > > On Tue, May 24, 2016 at 06:10:44PM +0800, Liu Ying wrote: > >> Since CRTC has already been disabled in crtc_funcs->prepare(), it doesn't > >> hurt > >> to disable the primary plan

[PATCHv2 2/3] drm/imx: convey the pixelclk-active and de-active flags from DT to the ipu-di driver

2016-05-25 Thread Philipp Zabel
Am Mittwoch, den 25.05.2016, 08:11 +0200 schrieb Lothar Waßmann: [...] > > > @@ -81,10 +87,27 @@ static int imx_pd_connector_get_modes(struct > > > drm_connector *connector) > > > > > > if (np) { > > > struct drm_display_mode *mode = drm_mode_create(connector->dev); > > > +

  1   2   >