[PATCH] drm/rcar-du: Replace drm_dev_unref with drm_dev_put

2018-07-17 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_device. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] drm/shmobile: Replace drm_dev_unref with drm_dev_put

2018-07-17 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_device. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/shmobile/shmob_drm_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH] drm/tve200: Replace drm_dev_unref with drm_dev_put

2018-07-17 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_device. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/tve200/tve200_drv.c | 10 +- 1 file changed, 5 insertions(+),

[PATCH 2/2] drm/sun4i: sun4i: Introduce a quirk for lowest plane alpha support

2018-07-17 Thread Paul Kocialkowski
Not all sunxi platforms with the first version of the Display Engine support an alpha component on the plane with the lowest z position (as in: lowest z-pos), that gets blended with the background color. In particular, the A13 is known to have this limitation. However, it was recently discovered

[PATCH 1/2] drm/sun4i: sun4i: Register quirks with the backend structure

2018-07-17 Thread Paul Kocialkowski
In prevision for introducing a new quirk that will be used at atomic plane check time, register the quirks structure with the backend structure. This way, it can easily be grabbed where needed. Signed-off-by: Paul Kocialkowski --- drivers/gpu/drm/sun4i/sun4i_backend.c | 2 ++

Re: [PATCH] drm/amdgpu/pm: Remove VLA usage

2018-07-17 Thread Christian König
Who's tree should this go through? To answer the question: When Rex is ok with that he pushes it to our internal amd-staging-drm-next tree. Alex then pushes that tree to a public server and at some point sends a pull request for inclusion in drm-next. Regards, Christian. Am 17.07.2018 um

Re: [Intel-gfx] [PATCH 3/6] drm/i915: Move out non-modeset calls from modeset init and cleanup

2018-07-17 Thread Chris Wilson
Quoting José Roberto de Souza (2018-07-16 23:38:38) > @@ -1395,9 +1379,22 @@ int i915_driver_load(struct pci_dev *pdev, const > struct pci_device_id *ent) > goto out_cleanup_hw; > } > > + ret = intel_irq_install(dev_priv); > + if (ret) > +

Re: [Nouveau] [PATCH v2 2/3] drm/nouveau: Fix runtime PM leak in nv50_disp_atomic_commit()

2018-07-17 Thread Lukas Wunner
On Thu, Jul 12, 2018 at 01:02:53PM -0400, Lyude Paul wrote: > --- a/drivers/gpu/drm/nouveau/dispnv50/disp.c > +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c > @@ -1878,7 +1878,7 @@ nv50_disp_atomic_commit(struct drm_device *dev, > nv50_disp_atomic_commit_tail(state); > >

Re: [Nouveau] [PATCH 1/5] drm/nouveau: Prevent RPM callback recursion in suspend/resume paths

2018-07-17 Thread Rafael J. Wysocki
On Tue, Jul 17, 2018 at 9:16 AM, Lukas Wunner wrote: > [cc += linux-pm] > > Hi Lyude, > > First of all, thanks a lot for looking into this. > > On Mon, Jul 16, 2018 at 07:59:25PM -0400, Lyude Paul wrote: >> In order to fix all of the spots that need to have runtime PM get/puts() >> added, we need

Re: [PATCH] drm/panel: simple: Support simple VGA panels

2018-07-17 Thread Linus Walleij
On Tue, Jul 17, 2018 at 12:50 AM Rob Herring wrote: > On Mon, Jul 16, 2018 at 3:23 AM Linus Walleij > wrote: > > +Video Graphics Array > > VGA is more a controller interface than a panel... I don't know what else to call it though, other than formulating someting bureaucratic like "Video

Re: [PATCH v2] ARM: dts: imx6sl: Add vivante gpu nodes

2018-07-17 Thread Shawn Guo
On Fri, Jul 13, 2018 at 12:39:35PM +0300, Leonard Crestez wrote: > The imx6sl soc has gpu_2d and gpu_vg, no 3d support: > > etnaviv-gpu 220.gpu: model: GC320, revision: 5007 > etnaviv-gpu 2204000.gpu: model: GC355, revision: 1215 > > The IP blocks seem to be already supported. > >

Re: [PATCH] drm/amdgpu/pm: Remove VLA usage

2018-07-17 Thread Zhu, Rex
Patch is: Reviewed-by: Rex Zhumailto:re...@amd.com>> Best Regards Rex From: keesc...@google.com on behalf of Kees Cook Sent: Tuesday, July 17, 2018 11:59 AM To: Deucher, Alexander Cc: LKML; Koenig, Christian; Zhou, David(ChunMing); David Airlie; Zhu, Rex;

[Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930

2018-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105760 --- Comment #50 from Thomas Martitz --- Created attachment 140660 --> https://bugs.freedesktop.org/attachment.cgi?id=140660=edit dmesg with force_asic_init.diff + 0001-workaround-v2.patch Doesn't seem to make a difference. [ 255.418659]

Re: [Nouveau] [PATCH 2/5] drm/nouveau: Grab RPM ref while probing outputs

2018-07-17 Thread Lukas Wunner
On Mon, Jul 16, 2018 at 07:59:26PM -0400, Lyude Paul wrote: > --- a/drivers/gpu/drm/nouveau/dispnv50/disp.c > +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c > @@ -2012,10 +2012,18 @@ nv50_disp_atomic_state_alloc(struct drm_device *dev) > return >state; > } > > +static void >

Re: [Intel-gfx] [PATCH 1/6] drm: Let userspace check if driver supports modeset

2018-07-17 Thread Chris Wilson
Quoting José Roberto de Souza (2018-07-16 23:38:36) > GPU accelerators usually don't have display block or the display > driver part can be disable when building driver(for servers it save > some resources) so it is important let userspace check this > capability too. We currently communicate

Re: [PATCH v14 2/2] dt-bindings: drm/bridge: Document sn65dsi86 bridge bindings

2018-07-17 Thread Stephen Boyd
Quoting Sandeep Panda (2018-07-16 01:43:30) > Document the bindings used for the sn65dsi86 DSI to eDP bridge. > > Changes in v1: > - Rephrase the dt-binding descriptions to be more inline with existing >bindings (Andrzej Hajda). > - Add missing dt-binding that are parsed by corresponding

Re: [PATCH RESEND] drm/meson: Make DMT timings parameters and pixel clock generic

2018-07-17 Thread Jerome Brunet
On Mon, 2018-07-16 at 09:40 +0200, Neil Armstrong wrote: > Remove the modes timings tables for DMT modes and calculate the HW > paremeters from the modes timings. > > Switch the DMT modes pixel clock calculation out of the static frequency > list to a generic calculation from a range of possible

[PATCH] drm/i915/selftests: Remove redundant code

2018-07-17 Thread Gustavo A. R. Silva
err is assigned to -EIO, but this value is never actually used and *err* is updated later on. Remove such reduntant code. Addresses-Coverity-ID: 1471816 ("Unused value") Signed-off-by: Gustavo A. R. Silva --- drivers/gpu/drm/i915/selftests/intel_guc.c | 1 - 1 file changed, 1 deletion(-) diff

[PATCH v14 0/2] Add suppport for sn65dsi86 bridge chip

2018-07-17 Thread Sandeep Panda
Changes in current patchset: - eDP panels report EDID via DP-AUX channel, so remove support for dedicated DDC line. Sandeep Panda (2): drm/bridge: add support for sn65dsi86 bridge driver dt-bindings: drm/bridge: Document sn65dsi86 bridge bindings

Re: [PATCH v2 5/5] drm/vkms: Implement CRC debugfs API

2018-07-17 Thread Haneen Mohammed
On Mon, Jul 16, 2018 at 02:22:56PM -0400, Sean Paul wrote: > On Sat, Jul 14, 2018 at 03:23:32PM +0300, Haneen Mohammed wrote: > > Implement the set_crc_source() callback. > > Compute CRC using crc32 on the visible part of the framebuffer. > > Use ordered workqueue to compute and add CRC at the end

[PATCH v2] drm/msm/display: negative x/y in cursor move

2018-07-17 Thread Carsten Behling
modesetting X11 driver may provide negative x/y cordinates in mdp5_crtc_cursor_move call when rotation is enabled. Cursor buffer can overlap down to its negative width/height. ROI has to be recalculated for negative x/y indicating using the lower/right corner of the cursor buffer and hotspot

Re: [PATCH] drm/amdgpu/pm: Remove VLA usage

2018-07-17 Thread Kees Cook
On Wed, Jun 20, 2018 at 11:26 AM, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > uses the maximum sane buffer size and removes copy/paste code. > > [1] > https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qpxydaacu1rq...@mail.gmail.com > >

Re: [PATCHv3] lib/ratelimit: Lockless ratelimiting

2018-07-17 Thread Dmitry Safonov
I would be glad if someone helps/bothers to review the change :C Thanks, Dmitry On Tue, 2018-07-03 at 23:56 +0100, Dmitry Safonov wrote: > Currently ratelimit_state is protected with spin_lock. If the .lock > is > taken at the moment of ___ratelimit() call, the message is suppressed > to > make

Re: [PATCH] kernel.h: Add for_each_if()

2018-07-17 Thread NeilBrown
On Mon, Jul 16 2018, Andy Shevchenko wrote: > On Fri, 2018-07-13 at 16:42 -0700, Randy Dunlap wrote: >> On 07/13/2018 04:37 PM, NeilBrown wrote: > >> >> coding-style.rst says: >> Also, use braces when a loop contains more than a single simple >> statement: > > Independently on a) would we use

[PATCH v14 2/2] dt-bindings: drm/bridge: Document sn65dsi86 bridge bindings

2018-07-17 Thread Sandeep Panda
Document the bindings used for the sn65dsi86 DSI to eDP bridge. Changes in v1: - Rephrase the dt-binding descriptions to be more inline with existing bindings (Andrzej Hajda). - Add missing dt-binding that are parsed by corresponding driver (Andrzej Hajda). Changes in v2: - Remove edp

[Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930

2018-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105760 --- Comment #51 from Thomas Martitz --- Btw, your suggestion to disable runtime pm (amdgpu.runpm=0) doesn't help as far as system suspend/resume is concerned. I think runtime pm generally works, because I see occasional debug outout from

[Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930

2018-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105760 --- Comment #52 from Thomas Martitz --- (In reply to Thomas Martitz from comment #51) > because I see occasional debug outout from > smu7_populate_single_firmware_entry() function even before suspending Forgot to add that the debug output

Re: [Nouveau] [PATCH 1/5] drm/nouveau: Prevent RPM callback recursion in suspend/resume paths

2018-07-17 Thread Lukas Wunner
[cc += linux-pm] Hi Lyude, First of all, thanks a lot for looking into this. On Mon, Jul 16, 2018 at 07:59:25PM -0400, Lyude Paul wrote: > In order to fix all of the spots that need to have runtime PM get/puts() > added, we need to ensure that it's possible for us to call >

[PATCH v14 1/2] drm/bridge: add support for sn65dsi86 bridge driver

2018-07-17 Thread Sandeep Panda
Add support for TI's sn65dsi86 dsi2edp bridge chip. The chip converts DSI transmitted signal to eDP signal, which is fed to the connected eDP panel. This chip can be controlled via either i2c interface or dsi interface. Currently in driver all the control registers are being accessed through i2c

Re: [PATCH] mm, oom: distinguish blockable mode for mmu notifiers

2018-07-17 Thread Leon Romanovsky
On Mon, Jul 16, 2018 at 04:12:49PM -0700, Andrew Morton wrote: > On Mon, 16 Jul 2018 13:50:58 +0200 Michal Hocko wrote: > > > From: Michal Hocko > > > > There are several blockable mmu notifiers which might sleep in > > mmu_notifier_invalidate_range_start and that is a problem for the > >

Re: [PATCH] drm/panel: simple: Support simple VGA panels

2018-07-17 Thread Michal Vokáč
On 16.7.2018 11:23, Linus Walleij wrote: The need to support some straight-forward VGA panels that are not adhering to any standard like DPI arise in the ARM RTSM VE Real-Time Systems Model Virtual Executive. This emulator (which is not QEMU) does not model any bridge or panel other than

[PATCH] drm/msm/display: negative x/y in cursor move

2018-07-17 Thread Carsten Behling
modesetting X11 driver may provide negative x/y cordinates in mdp5_crtc_cursor_move call when rotation is enabled. Cursor buffer can overlap down to its negative width/height. ROI has to be recalculated for negative x/y indicating using the lower/right corner of the cursor buffer and hotspot

Re: [PATCH] drm/i2c: tda9950: Remove VLA usage

2018-07-17 Thread Kees Cook
On Wed, Jun 20, 2018 at 11:27 AM, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > sets the buffer to maximum size and adds a sanity check. > > [1] > https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qpxydaacu1rq...@mail.gmail.com > >

Re: [PATCH] kernel.h: Add for_each_if()

2018-07-17 Thread Randy Dunlap
On 07/16/2018 01:11 AM, Andy Shevchenko wrote: > On Fri, 2018-07-13 at 16:42 -0700, Randy Dunlap wrote: >> On 07/13/2018 04:37 PM, NeilBrown wrote: > >> >> coding-style.rst says: >> Also, use braces when a loop contains more than a single simple >> statement: > > Independently on a) would we use

[PATCH 2/2] ARM: dts: opos6uldev: use OF graph to describe the display

2018-07-17 Thread Sébastien Szymanski
To make use of the new eLCDIF DRM driver OF graph description is required. Describe the display using OF graph nodes. Signed-off-by: Sébastien Szymanski --- arch/arm/boot/dts/imx6ul-opos6uldev.dts | 37 ++--- 1 file changed, 16 insertions(+), 21 deletions(-) diff

Re: [PATCH] kernel.h: Add for_each_if()

2018-07-17 Thread Andy Shevchenko
On Fri, 2018-07-13 at 16:42 -0700, Randy Dunlap wrote: > On 07/13/2018 04:37 PM, NeilBrown wrote: > > coding-style.rst says: > Also, use braces when a loop contains more than a single simple > statement: Independently on a) would we use some macro for condition, or b) fix macros against this

Re: [PATCH] drm/vgem: Replace drm_dev_unref with drm_dev_put

2018-07-17 Thread Souptick Joarder
On Mon, Jul 16, 2018 at 1:16 PM, Thomas Zimmermann wrote: > This patch unifies the naming of DRM functions for reference counting > of struct drm_device. The resulting code is more aligned with the rest > of the Linux kernel interfaces. > > Signed-off-by: Thomas Zimmermann > --- >

[PATCH] drm/sun4i: sun8i: Avoid clearing blending order at each atomic commit

2018-07-17 Thread Paul Kocialkowski
Blending order is set based on the z position of each DRM plane. The blending order register is currently cleared at each atomic DRM commit, with the intent that each committed plane will set the appropriate bits (based on its z-pos) when enabling the plane. However, it sometimes happens that a

[Bug 107261] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us * 10 tries - optc1_lock line:628

2018-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107261 Bug ID: 107261 Summary: [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us * 10 tries - optc1_lock line:628 Product: DRI Version: DRI git Hardware: Other

Re: [Nouveau] [PATCH 4/5] drm/nouveau: Grab RPM ref when i2c bus is in use

2018-07-17 Thread Ben Skeggs
On Tue, 17 Jul 2018 at 20:18, Karol Herbst wrote: > > mhh, we shouldn't call to Linux APIs from within of nvkm. Rather gaurd > the Linux glue code to the i2c stuff instead, but this is all done > from inside of nvkm. I think we should move it out into > drm/nouveau/nouveau_i2c.c and do the

Re: [PATCH] drm/suni4: Replace drm_dev_unref with drm_dev_put

2018-07-17 Thread Maxime Ripard
On Tue, Jul 17, 2018 at 10:48:14AM +0200, Thomas Zimmermann wrote: > This patch unifies the naming of DRM functions for reference counting > of struct drm_device. The resulting code is more aligned with the rest > of the Linux kernel interfaces. > > Signed-off-by: Thomas Zimmermann Applied,

Re: [Nouveau] [PATCH v2 2/3] drm/nouveau: Fix runtime PM leak in nv50_disp_atomic_commit()

2018-07-17 Thread Ville Syrjälä
On Tue, Jul 17, 2018 at 09:33:52AM +0200, Lukas Wunner wrote: > On Thu, Jul 12, 2018 at 01:02:53PM -0400, Lyude Paul wrote: > > --- a/drivers/gpu/drm/nouveau/dispnv50/disp.c > > +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c > > @@ -1878,7 +1878,7 @@ nv50_disp_atomic_commit(struct drm_device *dev,

Re: [PATCH v4 08/11] media: vsp1: Add support for extended display list headers

2018-07-17 Thread Laurent Pinchart
Hi Kieran, On Monday, 16 July 2018 20:14:55 EEST Kieran Bingham wrote: > On 24/05/18 12:44, Laurent Pinchart wrote: > > On Thursday, 3 May 2018 16:36:19 EEST Kieran Bingham wrote: > >> Extended display list headers allow pre and post command lists to be > >> executed by the VSP pipeline. This

[PATCH] drm/rockchip: Replace drm_dev_unref with drm_dev_put

2018-07-17 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_device. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 4 ++-- 1 file changed, 2

[PATCH] drm/zte: Replace drm_dev_unref with drm_dev_put

2018-07-17 Thread Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct drm_device. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/zte/zx_drm_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH v2] drm/sun4i: sun8i: Avoid clearing blending order at each atomic commit

2018-07-17 Thread Paul Kocialkowski
On Tue, 2018-07-17 at 14:25 +0200, Paul Kocialkowski wrote: > Blending order is set based on the z position of each DRM plane. The > blending order register is currently cleared at each atomic DRM commit, > with the intent that each committed plane will set the appropriate > bits (based on its

[PATCH v2 2/3] ALSA: hda/i915: Associate audio component with devres

2018-07-17 Thread Takashi Iwai
The HD-audio i915 binding code contains a single pointer, hdac_acomp, for allowing the access to audio component from the master bind/unbind callbacks. This was needed because the callbacks pass only the device pointer and we can't guarantee the object type assigned to the drvdata (which is free

[PATCH v2 0/3] Make the audio component binding more generic

2018-07-17 Thread Takashi Iwai
Hi, this is a preliminiary patch set to convert the existing i915 / HD-audio component binding to be applicable to other drivers like radeon / amdgpu. This patchset itself doesn't change the functionality but only renames and split to a new drm_audio_component stuff from i915_audio_component.

[PATCH v2 3/3] ALSA: hda: Make audio component support more generic

2018-07-17 Thread Takashi Iwai
This is the final step for more generic support of DRM audio component. The generic audio component code is now moved to its own file, and the symbols are renamed from snd_hac_i915_* to snd_hdac_acomp_*, respectively. The generic code is enabled via the new kconfig, CONFIG_SND_HDA_COMPONENT,

Re: [PATCH] drm/imx: Replace drm_dev_unref with drm_dev_put

2018-07-17 Thread Philipp Zabel
On Tue, 2018-07-17 at 10:33 +0200, Thomas Zimmermann wrote: > This patch unifies the naming of DRM functions for reference counting > of struct drm_device. The resulting code is more aligned with the rest > of the Linux kernel interfaces. > > Signed-off-by: Thomas Zimmermann Thank you, applied

Re: [PATCH] drm/mediatek: Replace drm_dev_unref with drm_dev_put

2018-07-17 Thread Philipp Zabel
On Tue, 2018-07-17 at 10:35 +0200, Thomas Zimmermann wrote: > This patch unifies the naming of DRM functions for reference counting > of struct drm_device. The resulting code is more aligned with the rest > of the Linux kernel interfaces. > > Signed-off-by: Thomas Zimmermann > --- >

Re: [Nouveau] [PATCH] drm/nouveau: Fix bogus indenting in nouveau_hwmon.c

2018-07-17 Thread Karol Herbst
isn't there like 1 space missing for each change? Or maybe my client is messed up, but please align it with the first letter of the parameters not the "(". With that fixed: Reviewed-by: Karol Herbst On Tue, Jul 17, 2018 at 2:07 AM, Lyude Paul wrote: > Signed-off-by: Lyude Paul > --- >

Re: [Nouveau] [PATCH] drm/nouveau: Don't forget to label dp_aux devices

2018-07-17 Thread Karol Herbst
Reviewed-by: Karol Herbst 2018-07-12 19:13 GMT+02:00 Lyude Paul : > This makes debugging with DP tracing a lot harder to interpret, so name > each i2c based off the name of the encoder that it's for > > Signed-off-by: Lyude Paul > --- > drivers/gpu/drm/nouveau/dispnv04/disp.c | 2 +- >

Re: [V3] vga_switcheroo: set audio client id according to bound GPU id

2018-07-17 Thread Takashi Iwai
On Tue, 17 Jul 2018 10:56:37 +0200, jimqu wrote: > > > > On 2018年07月17日 16:52, Takashi Iwai wrote: > > On Tue, 17 Jul 2018 10:38:58 +0200, > > Lukas Wunner wrote: > >> On Tue, Jul 17, 2018 at 04:20:50PM +0800, Jim Qu wrote: > >>> On modern laptop, there are more and more platforms > >>> have

[PATCH v2 1/3] drm/i915: Split audio component to a generic type

2018-07-17 Thread Takashi Iwai
For allowing other drivers to use the DRM audio component, rename the i915_audio_component_* with drm_audio_component_*, and split the generic part into drm_audio_component.h. The i915 specific stuff remains in struct i915_audio_component, which contains drm_audio_component as the base. The

[PATCH] drm/amdgpu: fix spelling mistake "successed" -> "succeeded"

2018-07-17 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_err error message. Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

Re: [PATCH] drm/tve200: Replace drm_dev_unref with drm_dev_put

2018-07-17 Thread Linus Walleij
On Tue, Jul 17, 2018 at 10:53 AM Thomas Zimmermann wrote: > This patch unifies the naming of DRM functions for reference counting > of struct drm_device. The resulting code is more aligned with the rest > of the Linux kernel interfaces. > > Signed-off-by: Thomas Zimmermann Reviewed-by: Linus

[Bug 21682] White screen with compiz/AIGLX on X.org server 1.5.2 when running on 16bpp (intel 945GM)

2018-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=21682 Stefan Dirsch changed: What|Removed |Added Resolution|--- |WONTFIX Status|NEEDINFO

Re: [Nouveau] [PATCH 2/5] drm/nouveau: Grab RPM ref while probing outputs

2018-07-17 Thread Karol Herbst
Reviewed-by: Karol Herbst On Tue, Jul 17, 2018 at 9:21 AM, Lukas Wunner wrote: > On Mon, Jul 16, 2018 at 07:59:26PM -0400, Lyude Paul wrote: >> --- a/drivers/gpu/drm/nouveau/dispnv50/disp.c >> +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c >> @@ -2012,10 +2012,18 @@

Re: [Nouveau] [PATCH 3/5] drm/nouveau: Add missing RPM get/put() when probing connectors

2018-07-17 Thread Karol Herbst
Reviewed-by: Karol Herbst On Tue, Jul 17, 2018 at 1:59 AM, Lyude Paul wrote: > While the GPU is guaranteed to be on when a hotplug has been received, > the same assertion does not hold true if a connector probe has been > started by userspace without having had received a sysfs event. So >

Re: [Nouveau] [PATCH 4/5] drm/nouveau: Grab RPM ref when i2c bus is in use

2018-07-17 Thread Karol Herbst
mhh, we shouldn't call to Linux APIs from within of nvkm. Rather gaurd the Linux glue code to the i2c stuff instead, but this is all done from inside of nvkm. I think we should move it out into drm/nouveau/nouveau_i2c.c and do the handling there. On Tue, Jul 17, 2018 at 1:59 AM, Lyude Paul

<    1   2