[PATCH] drm/vkms: off by one in vkms_gem_fault()

2018-07-14 Thread Dan Carpenter
The > should be >= so that we don't read one page beyond the end of the obj->pages[] array. Fixes: 559e50fd34d1 ("drm/vkms: Add dumb operations") Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/vkms/vkms_gem.c b/drivers/gpu/drm/vkms/vkms_gem.c index c7e38368602b..2cca8c2f260f 100644 --

Re: 答复: 答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-14 Thread jimqu
在 2018/7/13 23:07, Takashi Iwai 写道: On Wed, 11 Jul 2018 13:12:01 +0200, Takashi Iwai wrote: And the forced runtime PM is still an issue, and this would need the other notification mechanism than the HD-audio unsolicited event as AMD HDMI controller doesn't honor the HD-audio WAKEEN bit. Since

Re: [PATCH RFC 24/24] drm/lima: add makefile and kconfig

2018-07-14 Thread André Przywara
On 07/14/2018 02:14 AM, Qiang Yu wrote: Hi, > Thanks for your info. What a surprise that exist such a SoC. That > means I have to > judge if it's a 64bit CPU in other way than just check ARM64 config. Yeah, you should do anyways. Actually you should try to avoid those explicit checks in the firs

[PATCH] drm: re-enable error handling

2018-07-14 Thread Nicholas Mc Guire
drm_legacy_ctxbitmap_next() returns idr_alloc() which can return -ENOMEM, -EINVAL or -ENOSPC none of which are -1 . but the call sites of drm_legacy_ctxbitmap_next() seem to be assuming that the error case would be -1 (original return of drm_ctxbitmap_next() prior to 2.6.23 was actually -1). Thus

[Bug 107065] "BUG: unable to handle kernel paging request at 0000000000002000" in amdgpu_vm_cpu_set_ptes at amdgpu_vm.c:921

2018-07-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107065 --- Comment #24 from dwagner --- > > Reverting the commit "drm: Stop updating plane->crtc/fb/old_fb on atomic > > drivers" for me only changes that after S3 resume, the very picture that was > > visible before S3 sleep is displayed again - but t

[Bug 107065] "BUG: unable to handle kernel paging request at 0000000000002000" in amdgpu_vm_cpu_set_ptes at amdgpu_vm.c:921

2018-07-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107065 --- Comment #25 from dwagner --- Created attachment 140634 --> https://bugs.freedesktop.org/attachment.cgi?id=140634&action=edit dmesg before and after S3 sleep with commit "updating plane ..." reverted -- You are receiving this mail because

Re: [PATCH RFC 24/24] drm/lima: add makefile and kconfig

2018-07-14 Thread Qiang Yu
On Sat, Jul 14, 2018 at 8:07 PM André Przywara wrote: > > On 07/14/2018 02:14 AM, Qiang Yu wrote: > > Hi, > > > Thanks for your info. What a surprise that exist such a SoC. That > > means I have to > > judge if it's a 64bit CPU in other way than just check ARM64 config. > > Yeah, you should do any

Re: 答复: 答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-14 Thread Takashi Iwai
On Sat, 14 Jul 2018 14:03:26 +0200, jimqu wrote: > > > > 在 2018/7/13 23:07, Takashi Iwai 写道: > > On Wed, 11 Jul 2018 13:12:01 +0200, > > Takashi Iwai wrote: > >> And the forced runtime PM is still an issue, and this would need the > >> other notification mechanism than the HD-audio unsolicited e

Re: [PATCH RFC 24/24] drm/lima: add makefile and kconfig

2018-07-14 Thread André Przywara
On 07/14/2018 03:18 PM, Qiang Yu wrote: Hi, > On Sat, Jul 14, 2018 at 8:07 PM André Przywara wrote: >> >> On 07/14/2018 02:14 AM, Qiang Yu wrote: >> >> Hi, >> >>> Thanks for your info. What a surprise that exist such a SoC. That >>> means I have to >>> judge if it's a 64bit CPU in other way than

[Bug 107229] Metro 2033 Redux hangs

2018-07-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107229 Bug ID: 107229 Summary: Metro 2033 Redux hangs Product: DRI Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority:

[Bug 107229] Metro 2033 Redux hangs

2018-07-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107229 --- Comment #1 from Alexander Tsoy --- Created attachment 140639 --> https://bugs.freedesktop.org/attachment.cgi?id=140639&action=edit linux_metro_bisect.log > # first bad commit: [6ed4e2e673d348df6623012a628a8ab8624e3222] drm/ttm: add > tra

[Bug 107155] [i915] [regression] Tray icons are displayed incorrectly with MESA 18.0.5 on Intel

2018-07-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107155 m...@programings.eu changed: What|Removed |Added Summary|[regression] Tray icons are |[i915] [regression] Tray

Re: [PATCH RFC 24/24] drm/lima: add makefile and kconfig

2018-07-14 Thread Qiang Yu
On Sun, Jul 15, 2018 at 3:16 AM André Przywara wrote: > > On 07/14/2018 03:18 PM, Qiang Yu wrote: > > Hi, > > > On Sat, Jul 14, 2018 at 8:07 PM André Przywara > > wrote: > >> > >> On 07/14/2018 02:14 AM, Qiang Yu wrote: > >> > >> Hi, > >> > >>> Thanks for your info. What a surprise that exist su