[GIT PULL] drm bridge drivers for 4.8 (updated)

2016-08-09 Thread Archit Taneja
On 8/4/2016 1:36 AM, Laurent Pinchart wrote: > Hi Archit, > > On Tuesday 19 Jul 2016 12:06:41 Archit Taneja wrote: >> Hi Dave, >> >> This is an update to the previous drm bridge pull request. The ADV7511 >> driver's conversion from slave encoder to bridge meant that its users >> (the rcar-du kms

problem with 731c7d3, "main drm pull request for 4.8"

2016-08-09 Thread Dave Airlie
On 7 August 2016 at 07:59, Mike Marshall wrote: > Hello everyone... > > I was out of the office yesterday, so I came in today to do the bisect... Okay it appears cirrus doesn't set it's mode config functions until after it sets up modesetting, which causes this to fail. Probably need to audit ot

[drm-intel:topic/drm-misc 4/18] DocBook: drivers/gpu/drm/drm_plane_helper.c:248: warning: No description found for parameter 'dst'

2016-08-09 Thread kbuild test robot
nel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -- next part -- A non-text attachment was scrubbed... Name: .config.gz Type: application/octet-stream Size: 6381 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160809/345c774b/attachment.obj>

Linux 4.8-rc1 Cirrus QEMU crashes on boot.

2016-08-09 Thread Boris Brezillon
Linus, Eric, On Mon, 8 Aug 2016 14:19:23 -0700 Linus Torvalds wrote: > On Mon, Aug 8, 2016 at 1:24 PM, Eric W. Biederman > wrote: > > > > Booting up v4.8-rc1 in qemu today I ran I ran into this beautiful oops. > > > > I am just about to head out the door on vacation until the end of the > > mo

[drm-intel:topic/drm-misc 5/18] drivers/gpu/drm/i915/intel_display.c:14148:23: error: 'struct drm_plane_state' has no member named 'clip'

2016-08-09 Thread kbuild test robot
- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -- next part -- A non-text attachment was scrubbed... Name: .config.gz Type: application/octet-stream Size: 34064 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160809/7159db1f/attachment-0001.obj>

[Bug 97022] Garbage in windows while running a game windowed

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

[PATCH] drm/cirrus: Fix NULL pointer dereference when registering the fbdev

2016-08-09 Thread Boris Brezillon
cirrus_modeset_init() is initializing/registering the emulated fbdev and, since commit c61b93fe51b1 ("drm/atomic: Fix remaining places where !funcs->best_encoder is valid"), DRM internals can access/test some of the fields in mode_config->funcs as part of the fbdev registration process. Make sure d

[Bug 97249] R290x combined with Mg279q, Dp link fail in ubuntu-multihead setup.

2016-08-09 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160809/2bae6339/attachment.html>

[PATCH v2] drm/bridge: analogix_dp: Ensure the panel is properly prepared/unprepared

2016-08-09 Thread Yakir Yang
+ Archit On 08/09/2016 02:53 AM, Sean Paul wrote: > Instead of just preparing the panel on bind, actually prepare/unprepare > during modeset/disable. The panel must be prepared in order to read hpd > status and edid, so we need to keep state around the prepares in order > to ensure we don't accid

[PATCH] drm/rockchip: Properly adjust to a true clock in adjusted_mode

2016-08-09 Thread Yakir Yang
Sean, On 08/09/2016 03:29 AM, Sean Paul wrote: > From: Douglas Anderson > > When fixing up the clock in vop_crtc_mode_fixup() we're not doing it > quite correctly. Specifically if we've got the true clock 26667 Hz, > we'll perform this calculation: > 26667 / 1000 => 26 > > Later

[Intel-gfx] include/drm/i915_drm.h:96: possible bad bitmask ?

2016-08-09 Thread Dave Airlie
On 8 August 2016 at 19:40, Daniel Vetter wrote: > On Mon, Aug 08, 2016 at 10:31:32AM +0100, David Binderman wrote: >> Hello there, >> >> Recent versions of gcc say this: >> >> include/drm/i915_drm.h:96:34: warning: result of ‘65535 << 20’ >> requires 37 bits to represent, but ‘int’ only ha

[PATCH] drm/rockchip: Properly adjust to a true clock in adjusted_mode

2016-08-09 Thread Mark yao
On 2016年08月09日 03:29, Sean Paul wrote: > From: Douglas Anderson > > When fixing up the clock in vop_crtc_mode_fixup() we're not doing it > quite correctly. Specifically if we've got the true clock 26667 Hz, > we'll perform this calculation: > 26667 / 1000 => 26 > > Later whe

HDMI 2.0 Support

2016-08-09 Thread Alex Deucher
On Mon, Aug 8, 2016 at 10:44 AM, Jose Abreu wrote: > Hi, > > Currently I am working on some HDMI 2.0 features using the DRM > infrastructure. I am mainly working in parsing the newly > introduced EDID blocks such as HDMI Forum Vendor Specific Data > Block, YCBCR 420 Video Data Block and YCBCR Capa

[git pull] drm fixes

2016-08-09 Thread Dave Airlie
Hi Linus, I thought I should dequeue this, some of these could have made -rc1 if I'd had less illness. This contains a bunch of amdgpu fixes, and some i915 regression fixes. It also contains some fixes for an older regression with some EDID changes and some 6bpc panels. Then there are the loc

[PATCH 0/7] de-stage SW_SYNC validation frawework

2016-08-09 Thread Daniel Vetter
On Sun, Jul 24, 2016 at 05:00:31PM +0200, Pavel Machek wrote: > On Mon 2016-08-08 16:08:12, Gustavo Padovan wrote: > > 2016-08-07 Pavel Machek : > > > > > On Sun 2016-07-24 15:21:11, Greg Kroah-Hartman wrote: > > > > On Mon, Jul 18, 2016 at 04:12:45PM -0300, Gustavo Padovan wrote: > > > > > Hi, >

[PATCH v2] drm/bridge: analogix_dp: Ensure the panel is properly prepared/unprepared

2016-08-09 Thread Daniel Vetter
On Tue, Aug 09, 2016 at 10:35:57AM +0800, Yakir Yang wrote: > + Archit > > > On 08/09/2016 02:53 AM, Sean Paul wrote: > > Instead of just preparing the panel on bind, actually prepare/unprepare > > during modeset/disable. The panel must be prepared in order to read hpd > > status and edid, so we

[PATCH] drm/i2c: tda998x: don't register the connector

2016-08-09 Thread Daniel Vetter
On Mon, Aug 08, 2016 at 05:04:03PM +0100, Brian Starkey wrote: > Hi, > > On Mon, Jul 25, 2016 at 05:08:21PM +0200, Daniel Vetter wrote: > > On Mon, Jul 25, 2016 at 01:54:06PM +0100, Brian Starkey wrote: > > > Hi Russell, > > > > > > On Mon, Jul 25, 2016 at 01:25:04PM +0100, Russell King - ARM Lin

[PATCH 3/3 v3] drm: bridge/dw-hdmi: Move edid reading to .detect() callback

2016-08-09 Thread Daniel Vetter
On Mon, Aug 08, 2016 at 05:25:38PM +0100, Jose Abreu wrote: > Hi, > > > On 05-08-2016 09:13, Chris Wilson wrote: > > On Fri, Aug 05, 2016 at 10:06:08AM +0200, Daniel Vetter wrote: > >> On Fri, Aug 05, 2016 at 12:01:25AM +0100, Russell King - ARM Linux wrote: > >>> On Thu, Aug 04, 2016 at 06:13:18

[PATCH 0/7] Minor DP aux transaction fixes

2016-08-09 Thread Daniel Vetter
On Mon, Aug 08, 2016 at 01:30:37PM -0400, Alex Deucher wrote: > On Fri, Aug 5, 2016 at 8:30 PM, Lyude wrote: > > While I was investigating an unrelated bug on the radeon driver, I noticed > > that > > it's become rather difficult to actually read through dmesg with drm.debug > > turned on, on acc

VT Switching with Atomic Modeset

2016-08-09 Thread Daniel Vetter
On Mon, Aug 08, 2016 at 01:32:51PM -0500, Scot Doyle wrote: > On Mon, 8 Aug 2016, Daniel Vetter wrote: > > On Sun, Aug 07, 2016 at 06:41:11PM -0500, Scot Doyle wrote: > > > Hi all, > > > > > > I'm interested in discussing ways compositors could cooperate > > > without CONFIG_VT/VT_VACTIVATE/VT_SET

[PATCH] drm/cirrus: Fix NULL pointer dereference when registering the fbdev

2016-08-09 Thread Boris Brezillon
On Mon, 08 Aug 2016 22:36:13 -0500 ebiederm at xmission.com (Eric W. Biederman) wrote: > Boris Brezillon writes: > > > cirrus_modeset_init() is initializing/registering the emulated fbdev > > and, since commit c61b93fe51b1 ("drm/atomic: Fix remaining places where > > !funcs->best_encoder is vali

[Intel-gfx] [PATCH 2/2] drm/i915: Drop reference to current state wait req as soon as it goes unused

2016-08-09 Thread Maarten Lankhorst
Op 08-08-16 om 17:34 schreef Daniel Vetter: > On Mon, Aug 8, 2016 at 1:23 PM, Maarten Lankhorst > wrote: >> There are two paths into intel_cleanup_plane_fb, the normal completion >> path and the failure path. >> >> In the failure case, intel_cleanup_plane_fb is called before >> drm_atomic_helper_s

[PATCH 2/7] staging/android: display sync_pt name on debugfs

2016-08-09 Thread Maarten Lankhorst
Op 08-08-16 om 21:59 schreef Gustavo Padovan: > 2016-08-08 Maarten Lankhorst : > >> Op 20-06-16 om 17:53 schreef Gustavo Padovan: >>> From: Gustavo Padovan >>> >>> When creating a sync_pt the name received wasn't used anywhere. >>> Now we add it to the sync info debug output to make it easier to i

[PATCH 2/2] drm/i915: Drop reference to plane state wait req in destructor.

2016-08-09 Thread Maarten Lankhorst
With gem requests reworked to only keep some memory around after it's completed it's now mostly harmless to keep a reference to the request until the state is destroyed. This makes it easy to hang on to the request until the plane state is destroyed since it is just a bunch of memory now. On my 64

[PATCH v1 0/5] drm/rockchip: Implement CRC debugfs API

2016-08-09 Thread Tomeu Vizoso
Hi, this series builds up on the API for exposing captured CRCs through debugfs and also on the refactoring to the analogix_dp driver for using the DP helpers (so it depends on those not-yet merged series). It adds new DP helpers for starting and stopping CRC capture and gets the Rockchip driver

[PATCH v1 1/5] drm/dp: add connector backpointer to drm_dp_aux

2016-08-09 Thread Tomeu Vizoso
This backpointer allows DP helpers to access the connector it's being used for. Signed-off-by: Tomeu Vizoso --- 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 63b8bd502444..f66cc8501d71 100644 ---

[PATCH v1 2/5] drm/bridge: analogix_dp: set connector to drm_dp_aux

2016-08-09 Thread Tomeu Vizoso
Set the backpointer so that the DP helpers are able to access the connector that the drm_dp_aux is associated with. Signed-off-by: Tomeu Vizoso --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/

[PATCH v1 4/5] drm/bridge: analogix_dp: add helpers for capture of frame CRCs

2016-08-09 Thread Tomeu Vizoso
Add two simple functions that just take the drm_dp_aux from our struct and calls the corresponding DP helpers with it. Signed-off-by: Tomeu Vizoso --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 16 include/drm/bridge/analogix_dp.h | 3 +++ 2 files c

[PATCH v1 3/5] drm/dp: add helpers for capture of frame CRCs

2016-08-09 Thread Tomeu Vizoso
Adds helpers for starting and stopping capture of frame CRCs through the DPCD. When capture is on, a worker waits for vblanks and retrieves the frame CRC to put it in the queue on the CRTC that is using the eDP connector, so it's passed to userspace. Signed-off-by: Tomeu Vizoso --- drivers/gpu/

[PATCH v1 5/5] drm/rockchip: Implement CRC debugfs API

2016-08-09 Thread Tomeu Vizoso
Implement the .set_crc_source() callback and call the DP helpers accordingly to start and stop CRC capture. This is only done if this CRTC is currently using the eDP connector. Signed-off-by: Tomeu Vizoso --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 48 + 1 fil

[PATCH 2/2] drm/i915: Drop reference to plane state wait req in destructor.

2016-08-09 Thread Daniel Vetter
On Tue, Aug 09, 2016 at 12:15:51PM +0200, Maarten Lankhorst wrote: > With gem requests reworked to only keep some memory around after > it's completed it's now mostly harmless to keep a reference to the > request until the state is destroyed. This makes it easy to hang > on to the request until the

[PATCH v1 1/5] drm/dp: add connector backpointer to drm_dp_aux

2016-08-09 Thread Daniel Vetter
On Tue, Aug 09, 2016 at 12:51:32PM +0200, Tomeu Vizoso wrote: > This backpointer allows DP helpers to access the connector it's being > used for. > > Signed-off-by: Tomeu Vizoso > --- > > include/drm/drm_dp_helper.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/drm/drm_dp_

[PULL] drm-amdkfd-fixes

2016-08-09 Thread Oded Gabbay
Hi Dave, Just one patch for -rc that fixes a printk format error. Thanks, Oded The following changes since commit 36e9d08b58f44c3a02974c405ccaaa6ecfaf05b8: drm/cirrus: Fix NULL pointer dereference when registering the fbdev (2016-08-09 13:01:47 +1000) are available in the git repository

[Bug 97022] Garbage in windows while running a game windowed

2016-08-09 Thread bugzilla-dae...@freedesktop.org
Mulholland --- I can confirm the problem is now fixed. Great job :D -- 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/20160

[Bug 97258] Polaris: no sound over HDMI

2016-08-09 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160809/8b9ac321/attachment.html>

[PATCH v10] drm/i915/skl: Add support for the SAGV, fix underrun hangs

2016-08-09 Thread Maarten Lankhorst
Hey, Op 08-08-16 om 23:03 schreef Lyude: > Since the watermark calculations for Skylake are still broken, we're apt > to hitting underruns very easily under multi-monitor configurations. > While it would be lovely if this was fixed, it's not. Another problem > that's been coming from this however,

[Bug 97258] Polaris: no sound over HDMI

2016-08-09 Thread bugzilla-dae...@freedesktop.org
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/20160809/fe514b8d/attachment.html>

[PATCH v2] exynos-drm: Fix unsupported GEM memory type error message to be clear

2016-08-09 Thread Inki Dae
ge to majordomo at vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160809/740246d5/attachment.html>

[Bug 97259] gem_shrink -oom subcases return fail instead of pass

2016-08-09 Thread bugzilla-dae...@freedesktop.org
Subtest pread-oom: FAIL (186.552s) -- 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/20160809/ba03995b/attachment-0001.html>

[PATCH 00/20] more drm doc work

2016-08-09 Thread Daniel Vetter
First part is just a bit of rst fallout to make drm doc builds warning free. But then I started to split out parts of drm_crtc into their own files. framebuffers and connectors are done, next up on my plans are encoders, and then the base stuff around drm_mode_object, properties and blobs. I think

[PATCH 01/20] drm/doc: Fix more kerneldoc/sphinx warnings

2016-08-09 Thread Daniel Vetter
These are the leftovers I could only track down using keep_warnings = True. For some of them we might want to update our style guide on how to reference structures and constants, not sure ... Cc: Markus Heiser Cc: Jonathan Corbet Cc: linux-doc at vger.kernel.org Signed-off-by: Daniel Vetter ---

[PATCH 02/20] drm/doc: Light drm-kms-helper.rst cleanup

2016-08-09 Thread Daniel Vetter
- Move the common vtable stuff to the top - Move "Tile Group" to a more appropriate heading level - Throw away the old intro for the crtc helpers (it's entirely stale, e.g. helpers have become modular years ago), and replace it with a general intro about the motivation behind helpers. - Reorder

[PATCH 03/20] drm/kms-helpers: Extract drm_modeset_helper.[hc]

2016-08-09 Thread Daniel Vetter
While reviewing docs I spotted that we have a few functions that really just don't fit into their containing helper library section. Extract them and shovel them all into a new library for random one-off aux stuff. Signed-off-by: Daniel Vetter --- Documentation/gpu/drm-kms-helpers.rst | 9 ++

[PATCH 05/20] drm/doc: Reorg for drm-kms.rst

2016-08-09 Thread Daniel Vetter
- Again adjust headings a bit, and don't mix up the initialization sections with other stuff. - Remove the doc for output polling, that vfunc is now properly documented in the vfunc reference sections. - Move the grab-bag with all the core stuff (i.e. drm_crtc.[hc]) to the front for a more pr

[PATCH 04/20] drm/doc: Reorg drm-mm.rst

2016-08-09 Thread Daniel Vetter
- Readjust headings - we lost one level through the extraction into a separate .rst file. - Merge helper reference sections with the helper documentation - that split was just an artifact of the docbook toolchain sucking at too deep nesting levels. No such problems with sphinx. - Move the cma

[PATCH 06/20] drm/etnaviv: Don't set drm_device->platformdev

2016-08-09 Thread Daniel Vetter
It's deprecated and only should be used by drivers which still use drm_platform_init, not by anyone else. And indeed it's entirely unused and can be nuked. Cc: Lucas Stach Cc: Russell King Cc: Christian Gmeiner Signed-off-by: Daniel Vetter --- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 2 -- 1

[PATCH 07/20] drm/hisilicon: Don't set drm_device->platformdev

2016-08-09 Thread Daniel Vetter
It's deprecated and only should be used by drivers which still use drm_platform_init, not by anyone else. And indeed it's entirely unused and can be nuked. This required a bit more fudging, but I guess kirin_dc_ops really wants to operate on the platform_device, not something else. Also bonus poi

[PATCH 08/20] drm/doc: Remove outdated FIXME for the page_flip callback

2016-08-09 Thread Daniel Vetter
Since the drm_event cleanup work (as prep for fence support) drivers don't need to bother themselves any more with this, the drm event core takes care of that. Signed-off-by: Daniel Vetter --- include/drm/drm_crtc.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/include/drm/drm_c

[PATCH 09/20] drm/kms: Nuke dirty_info property

2016-08-09 Thread Daniel Vetter
It was added way back together with the dirty_fb ioctl, but neither generic xfree86-modesetting nor the vmware driver use it. Everyone is supposed to just unconditionally call the dirtyfb when they do frontbuffer rendering. And since unused uabi is bad uabi (there's reasons we require open source

[PATCH 10/20] drm/doc: Include drm_atomic.h

2016-08-09 Thread Daniel Vetter
Accidentally the wrong file. Oops. Signed-off-by: Daniel Vetter --- Documentation/gpu/drm-kms.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/gpu/drm-kms.rst b/Documentation/gpu/drm-kms.rst index c92afa82b130..3ae4c12aca08 100644 --- a/Documentation/gpu/drm-

[PATCH 12/20] drm/doc: Update drm_framebuffer docs

2016-08-09 Thread Daniel Vetter
- Move the intro section into a DOC comment, and update it slightly. - kernel-doc for struct drm_framebuffer! Signed-off-by: Daniel Vetter --- Documentation/gpu/drm-kms.rst | 26 +-- drivers/gpu/drm/drm_framebuffer.c | 35 +++ include/drm/drm_framebuffer.h | 94 ++

[PATCH 13/20] drm: Export drm_property_replace_global_blob

2016-08-09 Thread Daniel Vetter
It's really part of the core blob interface, and the drm_connector.c extraction needs it too. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_crtc.c | 13 +++-- include/drm/drm_crtc.h | 6 ++ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/dr

[PATCH 16/20] drm: Don't export dp-aux devnode functions

2016-08-09 Thread Daniel Vetter
They're only used internally within the dp helpers. Also nuke the kerneldoc (we only document the driver interface in the drm shared functions). And move the header file from the public include/ directory to the source files into drm_crtc_helper_internal.h, similar to how we already have drm_crtc_i

[PATCH 17/20] drm: Update connector documentation

2016-08-09 Thread Daniel Vetter
- Shuffle docs from drm-kms.rst into the structure docs where it makes sense. - Put the remaining bits into a new overview section. One thing I've changed is around probing: Old docs says that you _must_ use the probe helpers, which isn't correct. Helpers are always optional. Signed-off-by: Dan

[PATCH 11/20] drm: Extract drm_framebuffer.[hc]

2016-08-09 Thread Daniel Vetter
Also start with drm_modeset.h with the core bits, since we need to untangle this mess somehow. That allows us to move the drm_modes.h include to the right spot, except for the temporary connector status enum. That will get fixed as soon as drm_connector.h exists. Signed-off-by: Daniel Vetter ---

[PATCH 15/20] drm/doc: Include new drm_blend.c

2016-08-09 Thread Daniel Vetter
There's not much point in kerneldoc if it's not included: - It won't show up in the pretty html pages. - The comments itself won't get parsed, which means 0day won't pick up changes, resulting in stale docs fast. Also, uapi really should be core, not helpers, so move drm_blend.c to that. That al

[PATCH 14/20] drm: Extract drm_connector.[hc]

2016-08-09 Thread Daniel Vetter
Pulls in quite a lot of connector related structures (cmdline mode, force/status enums, display info), but I think that all makes perfect sense. Also had to move a few more core kms object stuff into drm_modeset.h. And as a first cleanup remove the kerneldoc for the 2 connector IOCTL - DRM core d

[PATCH 18/20] drm: Remove display_info->min/max_(h|v)max

2016-08-09 Thread Daniel Vetter
No one looks at it, only i915/gma500 lvds even bother to fill it out. I guess a very old plan was to use this for filtering modes, but that's already done within the edid parser. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/gma500/mdfld_dsi_output.c | 5 - drivers/gpu/drm/gma500/psb_int

[PATCH 19/20] drm: docume drm_display_info

2016-08-09 Thread Daniel Vetter
We seem to have a bit a mess in how to describe the bus formats, with a multitude of competing ways. Might be best to consolidate it all and use MEDIA_BUS_FMT_ also for the hdmi color formats and high color modes. Also move all the display_info related functions into drm_connector.c (there's only

[PATCH 20/20] vgaarbiter: rst-ifiy and polish kerneldoc

2016-08-09 Thread Daniel Vetter
Move the documentation into Documentation/gpu, link it up and pull in the kernel doc. No actual text changes except that I did polish the kerneldoc a bit, especially for vga_client_register(). v2: Remove some rst from vga-switcheroo.rst that I don't understand, but which seems to be the reason wh

[Intel-gfx] [PATCH 1/4] drm: add picture aspect ratio flags

2016-08-09 Thread Daniel Vetter
On Tue, Aug 9, 2016 at 3:12 PM, Jose Abreu wrote: > Will you send a new version of these patches? I have a patch > ready that adds the new HDMI 2.0 modes to the CEA modes list in > DRM but these modes require the addition of the new picture > aspect ratio flags (64:27, 256:135). I can either wait

[Bug 97260] R9 290 low performance in Linux 4.7

2016-08-09 Thread bugzilla-dae...@freedesktop.org
desktop.org/archives/dri-devel/attachments/20160809/996ef7c5/attachment.html>

[Bug 97260] R9 290 low performance in Linux 4.7

2016-08-09 Thread bugzilla-dae...@freedesktop.org
org/archives/dri-devel/attachments/20160809/8f29aa92/attachment.html>

[PATCH] vgaarbiter: rst-ifiy and polish kerneldoc

2016-08-09 Thread Daniel Vetter
Move the documentation into Documentation/gpu, link it up and pull in the kernel doc. No actual text changes except that I did polish the kerneldoc a bit, especially for vga_client_register(). v2: Remove some rst from vga-switcheroo.rst that I don't understand, but which seems to be the reason wh

[Intel-gfx] [PATCH 1/4] drm: add picture aspect ratio flags

2016-08-09 Thread Sharma, Shashank
Thanks Daniel. Hi Joes, As Daniel mentioned, I have already written a patch which adds all HDMI 2.0 modes in CEA DB, and it also completes all the VICs in the DB from 1-107 (we have 1-64 now). I was myself waiting for aspect ratio patches to get accepted, as I needed them for the modes. Will

[PATCH 09/20] drm/kms: Nuke dirty_info property

2016-08-09 Thread Thomas Hellstrom
Hmm. I don't have a strong opinion on this, but IMO the original idea of allowing a user-space driver to optimize away the dirty calls isn't a bad one. Since the xf86-video-vmware always assumed that all drms it has to deal with has this property set it's not using it. The modesetting driver could

[Bug 97259] gem_shrink -oom subcases return fail instead of pass

2016-08-09 Thread bugzilla-dae...@freedesktop.org
HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160809/a964b63a/attachment.html>

[Bug 97259] Some gem_shrink subcases return fail instead of pass

2016-08-09 Thread bugzilla-dae...@freedesktop.org
|return fail instead of pass |return fail instead of pass -- 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/20160809/54069

[Bug 97258] Polaris: no sound over HDMI

2016-08-09 Thread bugzilla-dae...@freedesktop.org
- and the compile was failing. -- 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/20160809/a6b39035/attachment.html>

[PATCH 09/20] drm/kms: Nuke dirty_info property

2016-08-09 Thread Daniel Vetter
On Tue, Aug 9, 2016 at 3:59 PM, Thomas Hellstrom wrote: > Hmm. > > I don't have a strong opinion on this, but IMO the original idea of > allowing a user-space driver to optimize away the dirty calls isn't a > bad one. > Since the xf86-video-vmware always assumed that all drms it has to deal > wit

[Bug 97258] Polaris: no sound over HDMI

2016-08-09 Thread bugzilla-dae...@freedesktop.org
signee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160809/69d43492/attachment.html>

[PATCH 2/7] staging/android: display sync_pt name on debugfs

2016-08-09 Thread Gustavo Padovan
2016-08-09 Maarten Lankhorst : > Op 08-08-16 om 21:59 schreef Gustavo Padovan: > > 2016-08-08 Maarten Lankhorst : > > > >> Op 20-06-16 om 17:53 schreef Gustavo Padovan: > >>> From: Gustavo Padovan > >>> > >>> When creating a sync_pt the name received wasn't used anywhere. > >>> Now we add it to t

[PATCH v2 0/4] Picture aspect ratio support in DRM layer

2016-08-09 Thread Shashank Sharma
This patch series adds 4 patches. - The first two patches add aspect ratio support in DRM layes - Next two patches add new aspect ratios defined in CEA-861-F supported for HDMI 2.0 4k modes. Adding aspect ratio support in DRM layer: - The CEA videmodes contain aspect ratio information, which we

[PATCH v2 1/4] drm: add picture aspect ratio flags

2016-08-09 Thread Shashank Sharma
This patch adds drm flag bits for aspect ratio information Currently drm flag bits don't have field for mode's picture aspect ratio. This field will help the driver to pick mode with right aspect ratio, and help in setting right VIC field in avi infoframes. Signed-off-by: Shashank Sharma V2: Ad

[PATCH v2 2/4] drm: Add aspect ratio parsing in DRM layer

2016-08-09 Thread Shashank Sharma
Current DRM layer functions don't parse aspect ratio information while converting a user mode->kernel mode or vice versa. This causes modeset to pick mode with wrong aspect ratio, eventually causing failures in HDMI compliance test cases, due to wrong VIC. This patch adds aspect ratio information

[PATCH v2 3/4] video: Add new aspect ratios for HDMI 2.0

2016-08-09 Thread Shashank Sharma
HDMI 2.0/CEA-861-F introduces two new aspect ratios: - 64:27 - 256:135 This patch adds enumeration for the new aspect ratios in the existing aspect ratio list. V2: rebase Signed-off-by: Shashank Sharma Reviewed-by: Sean Paul Cc: Daniel Vetter Cc: Emil Velikov --- drivers/video/hdmi.c | 4 ++

[PATCH v2 4/4] drm: Add and handle new aspect ratios in DRM layer

2016-08-09 Thread Shashank Sharma
HDMI 2.0/CEA-861-F introduces two new aspect ratios: - 64:27 - 256:135 This patch: - Adds new DRM flags for to represent these new aspect ratios. - Adds new cases to handle these aspect ratios while converting from user->kernel mode or vise versa. V2: Rebase Signed-off-by: Shashank Sharma Rev

[Bug 97258] Polaris: no sound over HDMI

2016-08-09 Thread bugzilla-dae...@freedesktop.org
-ccflags-y += -I$(FULL_AMD_DAL_PATH)/dc/inc/ -- 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/20160809/66c6ac24/attachment.html>

[Bug 97258] Polaris: no sound over HDMI

2016-08-09 Thread bugzilla-dae...@freedesktop.org
for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160809/69fd5f50/attachment-0001.html>

[Bug 97258] Polaris: no sound over HDMI

2016-08-09 Thread bugzilla-dae...@freedesktop.org
e bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160809/50165dea/attachment.html>

[Intel-gfx] include/drm/i915_drm.h:96: possible bad bitmask ?

2016-08-09 Thread Dave Gordon
On 09/08/16 03:59, Dave Airlie wrote: > On 8 August 2016 at 19:40, Daniel Vetter wrote: >> On Mon, Aug 08, 2016 at 10:31:32AM +0100, David Binderman wrote: >>> Hello there, >>> >>> Recent versions of gcc say this: >>> >>> include/drm/i915_drm.h:96:34: warning: result of ‘65535 << 20’ >>> requi

[Bug 97240] VCE encoding sometimes locks up since 4.8-rc1

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

[Intel-gfx] [PATCH 02/20] drm/doc: Light drm-kms-helper.rst cleanup

2016-08-09 Thread Sean Paul
On Tue, Aug 9, 2016 at 9:41 AM, Daniel Vetter wrote: > - Move the common vtable stuff to the top > - Move "Tile Group" to a more appropriate heading level > - Throw away the old intro for the crtc helpers (it's entirely stale, > e.g. helpers have become modular years ago), and replace it with a

[Bug 97240] VCE encoding sometimes locks up since 4.8-rc1

2016-08-09 Thread bugzilla-dae...@freedesktop.org
ignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160809/bfc330d8/attachment.html>

[Bug 150731] amdgpu: segfault on unbind in sysfs; card becomes nonresponsive

2016-08-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=150731 --- Comment #3 from Jimi --- I've now confirmed this issue on Fiji (R9 Fury) as well. -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 97055] Black screens on A10-8780P (Carrizo) + R7 M260/M265 (Topaz) Combo

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

[PATCH] drm: avoid "possible bad bitmask?" warning

2016-08-09 Thread Dave Gordon
Recent versions of gcc say this: include/drm/i915_drm.h:96:34: warning: result of ‘65535 << 20’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=] Reported-by: David Binderman Signed-off-by: Dave Gordon Cc: Dave Airlie --- include/drm/i915_drm.h | 2 +- 1 fi

[Bug 119211] amdgpu disables fan by default

2016-08-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=119211 --- Comment #4 from Jimi --- Is this bug still happening? With my R9 Fury on amdgpu, cat /sys/class/hwmon/hwmon0/pwm1 (well, in my case, it's hwmon2 because I have another card), returns 35 on idle, not 0, but the fans are not running. Even when

[RFC 3/3] drm: simpledrm: Add panic handling

2016-08-09 Thread Noralf Trønnes
This enables panic message output support in simpledrm. simpledrm has a fixed buffer that is set up to be scanned out and the virtual address is already available. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/simpledrm/simpledrm_drv.c | 24 1 file changed, 24 inser

[RFC 2/3] drm: Add panic handling

2016-08-09 Thread Noralf Trønnes
This adds support for outputting kernel messages on panic(). The drivers that supports it, provides a framebuffer that the messages can be rendered on. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/drm_drv.c | 3 + drivers/gpu/drm/drm_internal

[RFC 0/3] drm: Add panic handling

2016-08-09 Thread Noralf Trønnes
This patchset proposes a way to get output of kernel messages on the display during panic(). The responsibility of the driver is to provide a framebuffer with a virtual mapping that the messages can be rendered on. Only linear RGB is supported in this version. David Herrmann, who has worked on thi

[RFC 1/3] drm: Add a way to iterate over minors

2016-08-09 Thread Noralf Trønnes
This adds a way for in-kernel users to iterate over the available DRM minors. The implementation is oops safe so the panic code can safely use it. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_drv.c | 30 ++ include/drm/drmP.h| 13 + 2 fil

[Bug 119211] amdgpu disables fan by default

2016-08-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=119211 --- Comment #5 from Jimi --- I managed to check the fans while pwm1 was giving values like 68, 61, and 56, and they were not turned on. I don't know if that means anything, because the card was still <40 degrees and definitely not too hot to touc

[PATCH v2] exynos-drm: Fix unsupported GEM memory type error message to be clear

2016-08-09 Thread Krzysztof Kozlowski
On Mon, Aug 08, 2016 at 05:48:20PM -0600, Shuah Khan wrote: > Fix unsupported GEM memory type error message to include the memory type > information. > > Signed-off-by: Shuah Khan > --- > Changes since v1: > -- Comment changed to read clearly > > drivers/gpu/drm/exynos/exynos_drm_fb.c | 6 +++--

[Bug 97258] Polaris: no sound over HDMI

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

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

2016-08-09 Thread bugzilla-dae...@freedesktop.org
u 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/20160809/93330e1e/attachment.html>

[PATCH v2 1/3] drm/i2c: tda998x: Improve tda998x_configure_audio() audio related pdata

2016-08-09 Thread Jyri Sarha
Define struct tda998x_audio_params in include/drm/i2c/tda998x.h and use it in pdata and for tda998x_configure_audio() parameters. Also updates tda998x_write_aif() to take struct hdmi_audio_infoframe * directly as a parameter. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/i2c/tda998x_drv.c | 84 +

[PATCH v2 3/3] ARM: dts: am335x-boneblack: Add HDMI audio support

2016-08-09 Thread Jyri Sarha
Add HDMI audio support. Adds mcasp0_pins, clk_mcasp0_fixed, clk_mcasp0, mcasp0, sound node, and updates the tda19988 node to follow the new binding. Signed-off-by: Jyri Sarha --- arch/arm/boot/dts/am335x-boneblack.dts | 71 -- 1 file changed, 67 insertions(+), 4 d

[PATCH v2 2/3] drm/i2c: tda998x: Register ASoC hdmi-codec and add audio DT binding

2016-08-09 Thread Jyri Sarha
Register ASoC HDMI codec for audio functionality and adds device tree binding for audio configuration. With the registered HDMI codec the tda998x node can be used like a regular codec node in ASoC card configurations. HDMI audio info-frame and audio stream header is generated by the ASoC HDMI code

[PATCH v2 0/3] drm/i2c: tda998x ASoC hdmi-codec support + BeagleBoneBlack audio support

2016-08-09 Thread Jyri Sarha
Changes since first version [1] of this series: - "drm/i2c: tda998x: Improve tda998x_configure_audio() audio related pdata" - Change audio in tda998x pdata to audio_params to match the naming in private data struct - Skip IEC958_AES2 byte when writing status bytes to registers - Turn AFM

  1   2   >