[PATCH v2 03/10] drm/hisilicon: Add hisilicon DRM master driver

2015-12-03 Thread Rob Herring
On Sat, Nov 28, 2015 at 4:38 AM, Xinliang Liu wrote: > Add DRM master driver for hi6220 SoC which used in HiKey board. > Add dumb buffer feature. > Add prime dmabuf feature. > > Signed-off-by: Xinliang Liu > Signed-off-by: Xinwei Kong > Signed-off-by: Andy Green > --- > +static int hisi_gem_c

Implementing Miracast?

2015-12-03 Thread Ilia Mirkin
On Thu, Dec 3, 2015 at 11:10 AM, Laurent Pinchart wrote: > Hi Ilia, > > On Thursday 03 December 2015 11:03:28 Ilia Mirkin wrote: >> On Thu, Dec 3, 2015 at 10:53 AM, Laurent Pinchart wrote: >> > On Thursday 03 December 2015 10:42:50 Ilia Mirkin wrote: >> >> On Thu, Dec 3, 2015 at 10:34 AM, Laurent

[PATCH v4 0/4] drm: Add support for the ARM HDLCD display controller

2015-12-03 Thread Russell King - ARM Linux
On Thu, Dec 03, 2015 at 10:40:45AM +, Liviu Dudau wrote: > This series depends on Sudeep Holla's SCPI driver (now in mainline) and on > the tda998x patches that have been queued on Russell's patch system here [1]. Now merged into my tree. Can I ask a fairly obvious question... > drivers/gpu

[PATCH v2 12/14] ASoC: hdac_hdmi: Add infoframe support for dp audio

2015-12-03 Thread Daniel Stone
Hi Subhransu, On 3 December 2015 at 21:09, Subhransu S. Prusty wrote: > + if (conn_type == DRM_ELD_CONN_TYPE_HDMI) { > + hdmi_audio_infoframe_init(&frame); > + > + /* Default stereo for now */ > + frame.channels = channels; > + > + ret

Implementing Miracast?

2015-12-03 Thread Martin Peres
On 03/12/15 18:38, Ilia Mirkin wrote: > On Thu, Dec 3, 2015 at 11:10 AM, Laurent Pinchart > wrote: >> Hi Ilia, >> >> On Thursday 03 December 2015 11:03:28 Ilia Mirkin wrote: >>> On Thu, Dec 3, 2015 at 10:53 AM, Laurent Pinchart wrote: On Thursday 03 December 2015 10:42:50 Ilia Mirkin wrote: >

[Bug 93147] [regression bisected] Stuttering in games caused by commit 4dfd6486 "drm: Use vblank timestamps to guesstimate how many vblanks were missed"

2015-12-03 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151203/5ba4e513/attachment.html>

[PATCH 2/3] drm/amdgpu: take a BO reference in the dispaly code

2015-12-03 Thread Christian König
From: Christian König No need for the GEM reference here. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_

[PATCH 3/3] drm/amdgpu: take a BO reference for the user fence

2015-12-03 Thread Christian König
From: Christian König No need for a GEM reference here. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c index 1

[PATCH 1/3] drm/amdgpu: set snooped flags only on system addresses

2015-12-03 Thread Christian König
From: Christian König Not necessary for VRAM. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c index 8051cb9

Fw: add find_bo_from_cpu_mapping interface

2015-12-03 Thread Christian König
ds, > > David Zhou > > > > ___ > dri-devel mailing list > dri-devel at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/

[PATCH] drm/amdgpu: partially revert "drm/amdgpu: fix VM_CONTEXT*_PAGE_TABLE_END_ADDR" v2

2015-12-03 Thread Christian König
From: Christian König The gtt_end is already inclusive, we don't need to subtract one here. v2 (chk): keep the fix for the VM code, cause here it really applies. Signed-off-by: Christian König Signed-off-by: Anatoli Antonovitch Reviewed-by: Alex Deucher Cc: stable at vger.kernel.org --- d

[PATCH] drm: Fix an unwanted master inheritance v2

2015-12-03 Thread Thomas Hellstrom
Hi, On 12/03/2015 12:12 PM, Jani Nikula wrote: > On Wed, 02 Dec 2015, Thomas Hellstrom wrote: >> A client calling drmSetMaster() using a file descriptor that was opened >> when another client was master would inherit the latter client's master >> object and all its authenticated clients. >> >> Th

[PATCH 0/7] drm: Fix mode pruning

2015-12-03 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Turns out I broke mode pruning when the connector mode lists changes without the connector getting disconnected in between. Mostly a problem for i-g-t EDID forcing stuff I suppose, but maybe someone is fast enough that they can swap cables without the system noticing until t

[PATCH 1/7] drm: Don't overwrite UNVERFIED mode status to OK

2015-12-03 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä The way the mode probing works is this: 1. All modes currently on the mode list are marked as UNVERIFIED 2. New modes are on the probed_modes list (they start with status OK) 3. Modes are moved from the probed_modes list to the actual mode list. If a mode already on th

[PATCH 2/7] drm: Rename MODE_UNVERIFIED to MODE_STALE

2015-12-03 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä MODE_UNVERIFIED actually means that the mode came from a previous probe, and if the new probe doesn't produce a matching mode it will get pruned from the list. Rename the flag to MODE_STALE to better convey the meaning. Cc: Adam Jackson Signed-off-by: Ville Syrjälä ---

[PATCH 3/7] drm: Reindent enum drm_mode_status

2015-12-03 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä There's some random mix of spaces and tabs used within the enum drm_mode_status definition. Fix it up to use just tabs. Cc: Adam Jackson Signed-off-by: Ville Syrjälä --- include/drm/drm_modes.h | 78 - 1 file changed, 39

[PATCH 4/7] drm: Flatten drm_mode_connector_list_update() a bit

2015-12-03 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Use 'continue' to eliminate one indent level from drm_mode_connector_list_update(). And while at it, make 'found_it' bool. Cc: Adam Jackson Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_modes.c | 36 ++-- 1 file changed, 18 insert

[PATCH 5/7] drm: Only merge mode type bits between new probed modes

2015-12-03 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Currently most drivers request that any mode appearing on both the old mode list and the new probed_modes list get their type bits ORed together if the modes are deemed to otherwise match each other. I don't know why anyone would want to merge in the mode type bits from any

[PATCH 6/7] drm: Drop drm_helper_probe_single_connector_modes_nomerge()

2015-12-03 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Now that the mode type bit merge logic is fixed to only merge between new probed modes, hopefully we can eliminat the special case for qxl and virtio. That is make the merge the mode type bits from all matching new probed modes, just like every other driver. qxl and virtio

[PATCH 7/7] drm/sti: Drop bogus drm_mode_sort() call

2015-12-03 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä sti seems confused about which mode list is used in its .get_modes() hook. It adds the modes to the probed_modes list (as is appropriate) but then for some reason it tries to sort the old mode list. Just drop the sorting since it does nothing, and let the probe helper do it

[PATCH 2/2] drm/i915: Limit the busy wait on requests to 2us not 10ms!

2015-12-03 Thread Pavel Machek
Hi! > Reported-by: Jens Axboe > Link: https://lkml.org/lkml/2015/11/12/621 > Cc: Jens Axboe > Cc; "Rogozhkin, Dmitry V" > Cc: Daniel Vetter > Cc: Tvrtko Ursulin > Cc: Eero Tamminen > Cc: "Rantala, Valtteri" > Cc: stable at kernel.vger.org > --- > drivers/gpu/drm/i915/i915_gem.c | 28 ++

[PATCH v2 1/2] drm/exynos: dp: add of_graph dt binding support for panel

2015-12-03 Thread Rob Herring
On Wed, Dec 2, 2015 at 5:57 AM, Inki Dae wrote: > This patch adds of_graph dt binding support for panel device > and also keeps the backward compatibility. > > i.e., > The dts file for Exynos5800 based peach pi board > has a panel property so we need to keep the backward compatibility. > > Changel

[PATCH v9 0/3] Add drm_dp_aux chardev support.

2015-12-03 Thread Rafael Antognolli
This series implement support to a drm_dp_aux chardev that allows reading and writing an arbitrary amount of bytes to arbitrary dpcd register addresses using regular read, write and lseek operations. Rafael Antognolli (3): drm/kms_helper: Add a common place to call init and exit functions. drm

[PATCH v9 2/3] drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers.

2015-12-03 Thread Rafael Antognolli
This module is heavily based on i2c-dev. Once loaded, it provides one dev node per DP AUX channel, named drm_dp_auxN, where N is an integer. It's possible to know which connector owns this aux channel by looking at the respective sysfs /sys/class/drm_aux_dev/drm_dp_auxN/connector, if the connector

[PATCH v9 3/3] drm/dp: Set aux.dev to the drm_connector device, instead of drm_device.

2015-12-03 Thread Rafael Antognolli
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 allowing one to get the drm_device from it. Some drivers already set it to the dr

[PATCH v9 1/3] drm/kms_helper: Add a common place to call init and exit functions.

2015-12-03 Thread Rafael Antognolli
The module_init and module_exit functions will start here, and call the subsequent init's and exit's. Signed-off-by: Rafael Antognolli --- drivers/gpu/drm/Makefile| 4 ++- drivers/gpu/drm/drm_fb_helper.c | 9 +++ drivers/gpu/drm/drm_kms_helper_common.c | 43

[PATCH 7/9] drm/i915: Fix random aux transactions failures.

2015-12-03 Thread Rodrigo Vivi
ecv_bytes = recv_size; > > -- > 2.4.3 > > ___ > dri-devel mailing list > dri-devel at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151203/132b15b3/attachment.html>

[PATCH v2] drm/radeon: Retry DDC probing on DVI on failure if we got an HPD interrupt

2015-12-03 Thread cp...@redhat.com
From: Lyude HPD signals on DVI ports can be fired off before the pins required for DDC probing actually make contact, due to the pins for HPD making contact first. This results in a HPD signal being asserted but DDC probing failing, resulting in hotplugging occasionally failing. This is somewhat

[PATCH 3/3] dt-bindings: exynos-dp: update ports node binding for panel

2015-12-03 Thread Rob Herring
On Thu, Dec 03, 2015 at 06:30:10PM +0900, Inki Dae wrote: > This patch updates a ports node binding for panel. > > With this, dp node can have a ports node which describes > a remote endpoint node that can be connected to panel or bridge > node. > > Signed-off-by: Inki Dae > --- > .../bindings/

[PATCH 8/9] drm/vc4: Add support for async pageflips.

2015-12-03 Thread Eric Anholt
to core DRM preclose) We've already got a preclose callback that reaps crtc->event -- see vc4_cancel_page_flip(). -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http:/

<    1   2