[PATCH 14/17] drm/radeon: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/radeon/atombios_encoders.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios_encoders.c b/drivers/gpu/drm/radeon/atombios_encoders.c index 01b20e1..1603751 100644 --- a/drivers/gpu/drm/radeon/atombios_encoders.c +++ b/drivers/gpu/drm/ra

[PATCH 16/17] drm/sti: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/sti/sti_tvout.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_tvout.c b/drivers/gpu/drm/sti/sti_tvout.c index f2afcf5..24a3735 100644 --- a/drivers/gpu/drm/sti/sti_tvout.c +++ b/drivers/gpu/drm/sti/sti_tvout.c @@ -440,13 +440,6 @@ static

[PATCH 17/17] drm/tilcdc: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/tilcdc/tilcdc_panel.c | 9 - drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 9 - 2 files changed, 18 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_panel.c b/drivers/gpu/drm/tilcdc/tilcdc_panel.c index 4dda6e2..8dcf02a 100644 --- a/drivers/gpu/drm/tilcdc/t

[PATCH 12/17] drm/mgag200: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/mgag200/mgag200_mode.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/mgag200/mgag200_mode.c b/drivers/gpu/drm/mgag200/mgag200_mode.c index dc13c48..af8b4c1 100644 --- a/drivers/gpu/drm/mgag200/mgag200_mode.c +++ b/drivers/gpu/drm/mgag200/mgag200_mo

[PATCH 06/29] drm/amd/dal: Adapter Service

2016-02-12 Thread Wentland, Harry
Hi Dave, There should be one instance of amdgpu per GPU, so one instance of DAL per GPU, hence this should be per GPU. We haven't really done any multi-GPU testing with this code, though, but I briefly tried and can light up with two displays connected to a Tonga and Bonaire (Bonaire is suppor

[PATCH v9] dma-buf: Add ioctls to allow userspace to flush

2016-02-12 Thread David Herrmann
Hi On Thu, Feb 11, 2016 at 11:04 PM, Tiago Vignatti wrote: > From: Daniel Vetter > > The userspace might need some sort of cache coherency management e.g. when CPU > and GPU domains are being accessed through dma-buf at the same time. To > circumvent this problem there are begin/end coherency ma

[PATCH v9] dma-buf: Add ioctls to allow userspace to flush

2016-02-12 Thread Daniel Vetter
On Fri, Feb 12, 2016 at 03:50:02PM +0100, David Herrmann wrote: > Hi > > On Thu, Feb 11, 2016 at 11:04 PM, Tiago Vignatti > wrote: > > From: Daniel Vetter > > > > The userspace might need some sort of cache coherency management e.g. when > > CPU > > and GPU domains are being accessed through dm

[PATCH RFC] drm/atomic: Fall back to legacy call back in *_connector_dpms()

2016-02-12 Thread Jyri Sarha
Fall back to legacy drm_helper_connector_dpms() call back in drm_atomic_helper_connector_dpms() if DRIVER_ATOMIC feature is not present. Calling drm_atomic_helper_connector_dpms() from non atomic driver causes undefined behavior. This is a problem with componentized encoder/connector drivers that

[PATCH RFC] drm/atomic: Fall back to legacy call back in *_connector_dpms()

2016-02-12 Thread Daniel Vetter
On Fri, Feb 12, 2016 at 05:17:19PM +0200, Jyri Sarha wrote: > Fall back to legacy drm_helper_connector_dpms() call back in > drm_atomic_helper_connector_dpms() if DRIVER_ATOMIC feature is not > present. > > Calling drm_atomic_helper_connector_dpms() from non atomic driver > causes undefined behavi

[PATCH 04/17] drm/amdgpu: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Alex Deucher
On Fri, Feb 12, 2016 at 8:50 AM, Carlos Palminha wrote: > --- > drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 8 > drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 8 > drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 8 > 3 files changed, 24 deletions(-) Reviewed-by: Alex Deucher > > di

[PATCH 14/17] drm/radeon: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Alex Deucher
On Fri, Feb 12, 2016 at 8:55 AM, Carlos Palminha wrote: > --- > drivers/gpu/drm/radeon/atombios_encoders.c | 8 > 1 file changed, 8 deletions(-) Reviewed-by: Alex Deucher > > diff --git a/drivers/gpu/drm/radeon/atombios_encoders.c > b/drivers/gpu/drm/radeon/atombios_encoders.c > inde

[Bug 94119] playback of AVC Baseline@L3 video with vdpau hardware decoding on Radeon 5450 (Cedar) flickers

2016-02-12 Thread bugzilla-dae...@freedesktop.org
*without* --hwdec=vdpau played back fine -- 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/20160212/de43f5c5/attachment.html>

[PATCH RFC] drm/atomic: Fall back to legacy call back in *_connector_dpms()

2016-02-12 Thread Tomi Valkeinen
... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160212/8f8152c9/attachment-0001.sig>

[PATCH RFC] drm/atomic: Fall back to legacy call back in *_connector_dpms()

2016-02-12 Thread Ville Syrjälä
On Fri, Feb 12, 2016 at 07:08:46PM +0200, Tomi Valkeinen wrote: > On 12/02/16 17:34, Daniel Vetter wrote: > > On Fri, Feb 12, 2016 at 05:17:19PM +0200, Jyri Sarha wrote: > >> Fall back to legacy drm_helper_connector_dpms() call back in > >> drm_atomic_helper_connector_dpms() if DRIVER_ATOMIC featur

[PATCH 4/4] drm/exynos: use arch independent types in uapi header

2016-02-12 Thread Emil Velikov
On 12 February 2016 at 12:13, Andrzej Hajda wrote: > User API structs should not use types which size/alignment/padding depends > on architecture. The patch fixes it for all structures except > drm_exynos_g2d_userptr, as g2d related stuff seems to be more complicated > and will be reviewed/adjuste

Respin: drm vblank regression fixes for Linux 4.4+ (v2)

2016-02-12 Thread Mario Kleiner
Here the respin of my series of vblank bug fixes for stable Linux 4.4/4.5 with all review comments by Daniel and Ville taken into account and reviewd-by's and tested-by's added. I've removed the stable patch "drm: Prevent vblank counter jumps with timestamp based update method." for the moment. I'

[PATCH 1/6] drm: No-Op redundant calls to drm_vblank_off() (v2)

2016-02-12 Thread Mario Kleiner
Otherwise if a kms driver calls into drm_vblank_off() more than once before calling drm_vblank_on() again, the redundant calls to vblank_disable_and_save() will call drm_update_vblank_count() while hw vblank counters and vblank timestamping are in a undefined state during modesets, dpms off etc. A

[PATCH 2/6] drm: Prevent vblank counter bumps > 1 with active vblank clients. (v2)

2016-02-12 Thread Mario Kleiner
This fixes a regression introduced by the new drm_update_vblank_count() implementation in Linux 4.4: Restrict the bump of the software vblank counter in drm_update_vblank_count() to a safe maximum value of +1 whenever there is the possibility that concurrent readers of vblank timestamps could be a

[PATCH 3/6] drm: Fix drm_vblank_pre/post_modeset regression from Linux 4.4

2016-02-12 Thread Mario Kleiner
Changes to drm_update_vblank_count() in Linux 4.4 broke the behaviour of the pre/post modeset functions as the new update code doesn't deal with hw vblank counter resets inbetween calls to drm_vblank_pre_modeset an drm_vblank_post_modeset, as it should. This causes mistreatment of such hw counter

[PATCH 4/6] drm: Fix treatment of drm_vblank_offdelay in drm_vblank_on() (v2)

2016-02-12 Thread Mario Kleiner
drm_vblank_offdelay can have three different types of values: < 0 is to be always treated the same as dev->vblank_disable_immediate = 0 is to be treated as "never disable vblanks" > 0 is to be treated as disable immediate if kms driver wants it that way via dev->vblank_disable_immediate. Other

[PATCH 5/6] drm/radeon/pm: Handle failure of drm_vblank_get.

2016-02-12 Thread Mario Kleiner
Make sure that drm_vblank_get/put() stay balanced in case drm_vblank_get fails, by skipping the corresponding put. Signed-off-by: Mario Kleiner Reviewed-by: Daniel Vetter Cc: michel at daenzer.net Cc: dri-devel at lists.freedesktop.org Cc: alexander.deucher at amd.com Cc: christian.koenig at amd

[PATCH 6/6] drm/nouveau/display: Enable vblank irqs after display engine is on again.

2016-02-12 Thread Mario Kleiner
In the display resume path, move the calls to drm_vblank_on() after the point when the display engine is running again. Since changes were made to drm_update_vblank_count() in Linux 4.4+ to emulate hw vblank counters via vblank timestamping, the function drm_vblank_on() now needs working high prec

[PATCH v3 2/2] drm: remove drm_device_is_unplugged and related code

2016-02-12 Thread Haixia Shi
v1: Remove the general drm_device_is_unplugged() checks, and move the unplugged flag handling logic into drm/udl. In general we want to keep driver-specific logic out of common drm code. v2: Based on discussion with Stephane and David, drop most of the unplugged flag handling logic in drm/udl exce

[Intel-gfx] [PATCH v10 3/4] drm/i915: Set aux.dev to the drm_connector device, instead of drm_device.

2016-02-12 Thread Imre Deak
On Thu, 2016-01-21 at 15:10 -0800, Rafael Antognolli wrote: > So far, the i915 driver and some other drivers set it to the > drm_device, > which doesn't allow one to know which DP a given aux channel is > related > to. Changing this to be the drm_connector provides proper nesting, > still > allowin

[PATCH v10 4/4] drm/radeon: Fix WARN_ON if DRM_DP_AUX_CHARDEV is enabled

2016-02-12 Thread Alex Deucher
On Thu, Jan 21, 2016 at 6:10 PM, Rafael Antognolli wrote: > From: Lukas Wunner > > Rafael Antognolli's new DRM_DP_AUX_CHARDEV feature causes a WARN_ON > if drm_dp_aux->dev == drm_connector->kdev and drm_dp_aux_unregister() > is called after drm_connector_unregister(). radeon is the only driver >

<    1   2