Re: [PULL] drm-misc-next

2017-05-28 Thread Daniel Vetter
On Fri, May 26, 2017 at 04:58:37PM -0400, Sean Paul wrote: > Hi Dave, > Here's another misc-next pull for you. We have some nice improvements in core > adding mode_valid hooks and de-duping the allocation code. Daniel continues to > improve documentation (\o/), and a bunch of little stuff was fixed

Re: [PULL] drm-misc-fixes

2017-05-28 Thread Daniel Vetter
On Sun, May 28, 2017 at 12:08:13PM +0200, Lukas Wunner wrote: > On Fri, May 26, 2017 at 08:36:45AM +0200, Daniel Vetter wrote: > > On Thu, May 25, 2017 at 7:44 PM, Sean Paul wrote: > > > The pull is noisy because it includes -rc2. > > > > dim has you covered for this, in case you've rolled forwar

Re: [PATCH 02/37] drm: Remove drm_device->virtdev

2017-05-28 Thread Gerd Hoffmann
On Wed, 2017-05-24 at 16:51 +0200, Daniel Vetter wrote: > This is a leftover from the drm_bus days, where we've had a > bus-specific device type for every bus type in drm_device. Except for > pci (which we can't remove because dri1 drivers) this is all gone. > And > the virt driver also doesn't rea

Re: Maintaining small drm drivers

2017-05-28 Thread Daniel Vetter
On Sun, May 28, 2017 at 2:10 PM, Patrik Jakobsson wrote: > On Fri, May 26, 2017 at 8:49 AM, Daniel Vetter wrote: >> On Thu, May 25, 2017 at 1:09 AM, Patrik Jakobsson >> wrote: >>> On Wed, May 24, 2017 at 9:52 PM, Daniel Vetter wrote: On Wed, May 24, 2017 at 6:57 PM, Patrik Jakobsson

Re: [PATCH 2/5] drm/syncobj: add sync obj wait interface. (v3)

2017-05-28 Thread Dave Airlie
Hopefully addressing most of these in the upcoming set, some comments below. >> +/** >> + * drm_timeout_abs_to_jiffies - calculate jiffies timeout from absolute >> value >> + * >> + * @timeout_ns: timeout in ns >> + * >> + * Calculate the timeout in jiffies from an absolute timeout in ns. >> + */

[Bug 101224] texelFetch(usampler) returns black color

2017-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101224 Bug ID: 101224 Summary: texelFetch(usampler) returns black color Product: Mesa Version: 17.1 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severit

Re: [PATCH 2/5] drm/syncobj: add sync obj wait interface. (v3)

2017-05-28 Thread Dave Airlie
On 25 May 2017 at 03:25, Jason Ekstrand wrote: > On Wed, May 24, 2017 at 12:06 AM, Dave Airlie wrote: >> >> From: Dave Airlie >> >> This interface will allow sync object to be used to back >> Vulkan fences. This API is pretty much the vulkan fence waiting >> API, and I've ported the code from am

[Bug 101213] Kernel 4.11: amdgpu regression causes artifacts with OLAND amd gpu gcn 1.0

2017-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101213 --- Comment #1 from Michel Dänzer --- Sounds like https://bugzilla.kernel.org/show_bug.cgi?id=194761 . -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing l

Re: [GIT PULL] exynos-drm-fixes

2017-05-28 Thread Inki Dae
2017년 05월 26일 12:13에 Dave Airlie 이(가) 쓴 글: > On 19 May 2017 at 19:33, Inki Dae wrote: >> Hi Dave, >> >>a little bit big cleanups but this fixes some timeout issue >>at wait-for-vblank, fixups to dt broken issue and trivial cleanups. >> >>Please kindly let me know if there is any prob

[GIT PULL] exynos-drm-fixes

2017-05-28 Thread Inki Dae
Hi Dave, Resent only including regressions. Please kindly let me know if there is any problem. Thanks, Inki Dae The following changes since commit bc1f0e04da20473d6feab0cd9ac638a348d5: Merge branch 'drm-fixes-4.12' of git://people.freedesktop.org/~agd5f/linux into drm-fixes (2017

[Bug 101222] [amd-staging] No HDMI/DP surround sound with DC on RX 480

2017-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101222 --- Comment #3 from James Le Cuirot --- Created attachment 131558 --> https://bugs.freedesktop.org/attachment.cgi?id=131558&action=edit Some interesting dmesg output -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 101222] [amd-staging] No HDMI/DP surround sound with DC on RX 480

2017-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101222 --- Comment #2 from James Le Cuirot --- Created attachment 131557 --> https://bugs.freedesktop.org/attachment.cgi?id=131557&action=edit /proc/asound/HDMI/eld#0.1 -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 101222] [amd-staging] No HDMI/DP surround sound with DC on RX 480

2017-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101222 --- Comment #1 from James Le Cuirot --- Created attachment 131556 --> https://bugs.freedesktop.org/attachment.cgi?id=131556&action=edit /proc/asound/HDMI/eld#0.0 -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 101222] [amd-staging] No HDMI/DP surround sound with DC on RX 480

2017-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101222 Bug ID: 101222 Summary: [amd-staging] No HDMI/DP surround sound with DC on RX 480 Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux (All)

Re: [PATCH v9 5/5] drm/i915: Set PWM divider to match desired frequency in vbt

2017-05-28 Thread Puthikorn Voravootivat
Good catch. It will use default frequency in this case. But it is better to not set DP_EDP_BACKLIGHT_FREQ_AUX_SET_CAP in this case. I will add return value to intel_dp_aux_set_pwm_freq() and set DP_EDP_BACKLIGHT_FREQ_AUX_SET_CAP based on that. On Fri, May 26, 2017 at 5:49 AM, Jani Nikula wrote:

[PATCH v10 2/3] drm/i915: Add option to support dynamic backlight via DPCD

2017-05-28 Thread Puthikorn Voravootivat
This patch adds option to enable dynamic backlight for eDP panel that supports this feature via DPCD register and set minimum / maximum brightness to 0% and 100% of the normal brightness. Signed-off-by: Puthikorn Voravootivat --- drivers/gpu/drm/i915/i915_params.c| 5 drivers/g

Re: [PATCH] drm/i915: prevent generating unusable gvt build which no mpt module is selected

2017-05-28 Thread Du, Changbin
On Fri, May 26, 2017 at 12:58:55PM +0300, Jani Nikula wrote: > On Thu, 25 May 2017, "Du, Changbin" wrote: > >> Note: > >>select should be used with care. select will force > >>a symbol to a value without visiting the dependencies. > >>By abusing select you are able to select a symbol

Re: [PATCH v4 06/11] drm/sun4i: tcon: multiply the vtotal when not in interlace

2017-05-28 Thread Chen-Yu Tsai
On Sun, May 28, 2017 at 12:09 AM, Maxime Ripard wrote: > It appears that the total vertical resolution needs to be doubled when > we're not in interlaced. Make sure that is the case. > > Signed-off-by: Maxime Ripard Reviewed-by: Chen-Yu Tsai ___ dri-d

[PATCH v10 1/3] drm/i915: Add heuristic to determine better way to adjust brightness

2017-05-28 Thread Puthikorn Voravootivat
Add heuristic to decide that AUX or PWM pin should use for backlight brightness adjustment and modify i915 param description to have auto, force disable, and force enable. The heuristic to determine that using AUX pin is better than using PWM pin is that the panel support any of the feature list h

[PATCH v10 3/3] drm/i915: Set PWM divider to match desired frequency in vbt

2017-05-28 Thread Puthikorn Voravootivat
Read desired PWM frequency from panel vbt and calculate the value for divider in DPCD address 0x724 and 0x728 to have as many bits as possible for PWM duty cyle for granularity of brightness adjustment while the frequency divisor is still within 25% of the desired value. Signed-off-by: Puthikorn V

[PATCH v10 0/3] Enhancement to intel_dp_aux_backlight driver

2017-05-28 Thread Puthikorn Voravootivat
This patch set contain 3 patches. Another 6 patches in previous version was already merged in v7 and v9. - First patch adds heuristic to determine whether we should use AUX or PWM pin to adjust panel backlight brightness. - Next patch adds support for dynamic brightness. - Last patch sets the PWM

[Bug 99859] Glamor Crashes on big endian Hardware

2017-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99859 --- Comment #21 from intermedi...@hotmail.com --- Created attachment 131554 --> https://bugs.freedesktop.org/attachment.cgi?id=131554&action=edit Mesa 13.06 complete buid log here there is my complete log of building mesa. in this case are the

[PATCH v2] drm: Do not call drm_dev_unregister twice on drm_unplug_dev

2017-05-28 Thread Hans de Goede
Since commit a39be606f99d ("drm: Do a full device unregister when unplugging") drm_unplug_dev has been calling drm_dev_unregister followed by a drm_put_dev when open_count reaches 0. This drm_put_dev calls drm_dev_unregister again. Since drm_dev_unregister is not protected against being called mult

Re: [PATCH] drm: Do not call drm_dev_unregister twice on drm_unplug_dev

2017-05-28 Thread Hans de Goede
On 28-05-17 19:10, Hans de Goede wrote: Since commit a39be606f99d ("drm: Do a full device unregister when unplugging") drm_unplug_dev has been calling drm_dev_unregister followed by a drm_put_dev when open_count reaches 0. This drm_put_dev calls drm_dev_unregister again. Since drm_dev_unregiste

[PATCH] drm: Do not call drm_dev_unregister twice on drm_unplug_dev

2017-05-28 Thread Hans de Goede
Since commit a39be606f99d ("drm: Do a full device unregister when unplugging") drm_unplug_dev has been calling drm_dev_unregister followed by a drm_put_dev when open_count reaches 0. This drm_put_dev calls drm_dev_unregister again. Since drm_dev_unregister is not protected against being called mult

[Bug 101189] Latest git fails to compile with radeon

2017-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101189 --- Comment #11 from jospezial --- (In reply to Alex Deucher from comment #4) > (In reply to Pavel Vinogradov from comment #3) > > drm from git doesn't provide amdgpu.h, but amdgpu_drm.h. > > It provides both: > https://cgit.freedesktop.org/mes

Re: [PATCH libdrm] Android's major/minor/makedev live in

2017-05-28 Thread Rob Herring
On Mon, May 22, 2017 at 11:06 AM, Emil Velikov wrote: > On 20 May 2017 at 19:24, enh wrote: >> Bug: https://github.com/android-ndk/ndk/issues/398 >> --- >> Android.common.mk | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/Android.common.mk b/Android.common.mk >> index 35c0f02c..b45ca

Re: [Freedreno] [PATCH 10/13] drm/msm: Support multiple ringbuffers

2017-05-28 Thread Rob Clark
On Mon, May 8, 2017 at 4:35 PM, Jordan Crouse wrote: > Add the infrastructure to support the idea of multiple ringbuffers. > Assign each ringbuffer an id and use that as an index for the various > ring specific operations. > > The biggest delta is to support legacy fences. Each fence gets its own

Re: [PATCH RESEND] drm: mxsfb_crtc: Reset the eLCDIF controller

2017-05-28 Thread Fabio Estevam
On Mon, May 22, 2017 at 5:53 PM, Fabio Estevam wrote: > From: Fabio Estevam > > According to the eLCDIF initialization steps listed in the MX6SX > Reference Manual the eLCDIF block reset is mandatory. > > Without performing the eLCDIF reset the display shows garbage content > when the kernel boot

[Bug 101189] Latest git fails to compile with radeon

2017-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101189 --- Comment #10 from John Dallahan --- This bug is still occurring with the latest git. I attached the complete build log. -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 101189] Latest git fails to compile with radeon

2017-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101189 --- Comment #9 from John Dallahan --- Created attachment 131547 --> https://bugs.freedesktop.org/attachment.cgi?id=131547&action=edit Complete build log -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 195737] AMDGPU: incorrect monitor position on Xorg

2017-05-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=195737 beta990 (francois5...@gmail.com) changed: What|Removed |Added Status|NEW |RESOLVED Resol

Re: Maintaining small drm drivers

2017-05-28 Thread Patrik Jakobsson
On Fri, May 26, 2017 at 1:44 PM, Daniel Vetter wrote: > On Fri, May 26, 2017 at 1:42 PM, Jani Nikula > wrote: >> On Fri, 26 May 2017, Daniel Vetter wrote: >>> On Thu, May 25, 2017 at 1:09 AM, Patrik Jakobsson >>> wrote: Either way, I don't want to turn this into a long discussion. If this

Re: Maintaining small drm drivers

2017-05-28 Thread Patrik Jakobsson
On Fri, May 26, 2017 at 8:49 AM, Daniel Vetter wrote: > On Thu, May 25, 2017 at 1:09 AM, Patrik Jakobsson > wrote: >> On Wed, May 24, 2017 at 9:52 PM, Daniel Vetter wrote: >>> On Wed, May 24, 2017 at 6:57 PM, Patrik Jakobsson >>> wrote: Hi Dave and Daniel, We had a little mishap

[Bug 92729] VDPAU: Maybe support H264_CONSTRAINED_BASELINE

2017-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92729 andreas...@web.de changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

Re: [PULL] drm-misc-fixes

2017-05-28 Thread Lukas Wunner
On Fri, May 26, 2017 at 08:36:45AM +0200, Daniel Vetter wrote: > On Thu, May 25, 2017 at 7:44 PM, Sean Paul wrote: > > The pull is noisy because it includes -rc2. > > dim has you covered for this, in case you've rolled forward but Dave > hasn't yet, you can regenerate against linus upstream branc