[Bug 109138] [KBL-G][GL-CTS]KHR-GL31.texture_size_promotion.functional test failed

2018-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109138 --- Comment #1 from Hai --- Created attachment 142877 --> https://bugs.freedesktop.org/attachment.cgi?id=142877&action=edit TestResults.qpa -- You are receiving this mail because: You are the assignee for the bug.

[Bug 109138] [KBL-G][GL-CTS]KHR-GL31.texture_size_promotion.functional test failed

2018-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109138 Bug ID: 109138 Summary: [KBL-G][GL-CTS]KHR-GL31.texture_size_promotion.functio nal test failed Product: DRI Version: XOrg git Hardware: Other OS: Linux (Al

[PATCH v3 03/11] vga-switcheroo: make PCI dependency explicit

2018-12-23 Thread Sinan Kaya
This driver depends on the PCI infrastructure but the dependency has not been explicitly called out. Signed-off-by: Sinan Kaya Reviewed-by: Lukas Wunner --- drivers/gpu/vga/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/vga/Kconfig b/drivers/gpu/vga/Kconfig index b677e5

Re: [PATCH v2 03/11] vga-switcheroo: make PCI dependency explicit

2018-12-23 Thread Sinan Kaya
On 12/23/2018 8:15 PM, Lukas Wunner wrote: On Sun, Dec 23, 2018 at 02:00:15AM +0300, Sinan Kaya wrote: On Sat, Dec 22, 2018 at 7:40 PM Lukas Wunner wrote: On Sat, Dec 22, 2018 at 09:07:12AM +, Sinan Kaya wrote: This driver depends on the PCI infrastructure but the dependency has not been

Re: [PATCH] drm/fb-helper: fix leaks in error path of drm_fb_helper_fbdev_setup

2018-12-23 Thread Peter Wu
On Sun, Dec 23, 2018 at 02:55:52PM +0100, Noralf Trønnes wrote: > > > Den 23.12.2018 01.55, skrev Peter Wu: > > After drm_fb_helper_fbdev_setup calls drm_fb_helper_init, > > "dev->fb_helper" will be initialized (and thus drm_fb_helper_fini will > > have some effect). After that, drm_fb_helper_ini

[Bug 109135] R9 390 hangs at boot with DPM/DC enabled for kernels 4.19.x and above, says KMS not supported

2018-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109135 --- Comment #2 from rmuncr...@humanavance.com --- Ooops, I accidentally overwrote the log from linux-amd-wip-git with a later failed test with 4.20.0-rc7-mainline, so the bad log I attached is for 4.20.0-rc7-mainline. However as I said before it

Re: [PATCH 2/2] drm: Revert syncobj timeline changes.

2018-12-23 Thread Dmitry Osipenko
On 21.12.2018 21:27, Christian König wrote: > Am 19.12.18 um 18:53 schrieb Dmitry Osipenko: >> [SNIP] >>> @@ -931,9 +718,6 @@ static signed long >>> drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs, >>>     if (flags & DRM_SYNCOBJ_WAIT_FLAGS_WAIT_FOR_SUBMIT) { >>>   for (i

Re: [PATCH] video: offb: Pass actual name in offb_init_palette_hacks

2018-12-23 Thread Mathieu Malaterre
Patch is far from perfect but was tested also by: Elimar Riesebieter riese...@lxtec.de Le jeu. 20 déc. 2018 17:10, Mathieu Malaterre a écrit : > Rob, any comment ? > > On Fri, Dec 7, 2018 at 1:59 PM Mathieu Malaterre wrote: > > > > This is a partial revert of commit 5c63e407aaab ("fbdev: Conver

[PATCH] drm/amd/powerplay/polaris10_smumgr: Remove duplicate

2018-12-23 Thread Brajeswar Ghosh
Remove ppatomctrl.h which is included more than once Signed-off-by: Brajeswar Ghosh --- drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/polar

[PATCH] drm/i915/psr: simplify enable_psr handling

2018-12-23 Thread Ross Zwisler
The following commit: commit 2bdd045e3a30 ("drm/i915/psr: Check if VBT says PSR can be enabled.") added some code with no usable functionality. Regardless of how the psr default is set up in the BDB_DRIVER_FEATURES section, if the enable_psr module parameter isn't specified it defaults to 0. Re

[PATCH v3 2/2] drm/amd: validate user GEM object size

2018-12-23 Thread Yu Zhao
When creating frame buffer, userspace may request to attach to a previously allocated GEM object that is smaller than what GPU requires. Validation must be done to prevent out-of-bound DMA, which could not only corrupt memory but also reveal sensitive data. This fix is not done in a common code pa

Re: [PATCH 2/3] drm/amd: validate user pitch alignment

2018-12-23 Thread Yu Zhao
On Fri, Dec 21, 2018 at 10:07:26AM +0100, Michel Dänzer wrote: > On 2018-12-21 4:10 a.m., Yu Zhao wrote: > > Userspace may request pitch alignment that is not supported by GPU. > > Some requests 32, but GPU ignores it and uses default 64 when cpp is > > 4. If GEM object is allocated based on the sm

[PATCH v3 1/2] drm/amd: validate user pitch alignment

2018-12-23 Thread Yu Zhao
Userspace may request pitch alignment that is not supported by GPU. Some requests 32, but GPU ignores it and uses default 64 when cpp is 4. If GEM object is allocated based on the smaller alignment, GPU DMA will go out of bound. For GPU that does frame buffer compression, DMA writing out of bound

[PATCH v2 1/2] drm/amd: validate user pitch alignment

2018-12-23 Thread Yu Zhao
Userspace may request pitch alignment that is not supported by GPU. Some requests 32, but GPU ignores it and uses default 64 when cpp is 4. If GEM object is allocated based on the smaller alignment, GPU DMA will go out of bound. For GPU that does frame buffer compression, DMA writing out of bound

Re: [PATCH 2/2] drm: Revert syncobj timeline changes.

2018-12-23 Thread Dmitry Osipenko
On 21.12.2018 21:45, Koenig, Christian wrote: > Am 21.12.18 um 19:35 schrieb Dmitry Osipenko: >> On 21.12.2018 21:27, Christian König wrote: >>> Am 19.12.18 um 18:53 schrieb Dmitry Osipenko: [SNIP] > @@ -931,9 +718,6 @@ static signed long > drm_syncobj_array_wait_timeout(struct drm_sy

Re: [PATCH] gpu: anx7808: fix a missing check of return value

2018-12-23 Thread Kangjie Lu
Thanks for the tip! Will submit patch V2 soon. On Thu, Dec 20, 2018 at 11:07 PM Laurent Pinchart < laurent.pinch...@ideasonboard.com> wrote: > Hi Kangjie, > > Thank you for the patch. > > On Thursday, 20 December 2018 09:41:16 EET Kangjie Lu wrote: > > Both anx78xx_set_bits() and anx78xx_clear_bi

Re: [PATCH] drm/i915/psr: simplify enable_psr handling

2018-12-23 Thread Ross Zwisler
On Fri, Dec 21, 2018 at 11:23:07AM -0800, Dhinakaran Pandiyan wrote: > On Fri, 2018-12-21 at 10:23 -0700, Ross Zwisler wrote: > > The following commit: > > > > commit 2bdd045e3a30 ("drm/i915/psr: Check if VBT says PSR can be > > enabled.") > > > > added some code with no usable functionality. Re

Re: [PATCH] dma-buf: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-12-23 Thread Frank Lee
ping.. ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH v2 2/2] drm/amd: validate user GEM object size

2018-12-23 Thread Yu Zhao
When creating frame buffer, userspace may request to attach to a previously allocated GEM object that is smaller than what GPU requires. Validation must be done to prevent out-of-bound DMA, which could not only corrupt memory but also reveal sensitive data. This fix is not done in a common code pa

Re: [PATCH] drm/amd/powerplay: Remove duplicate header

2018-12-23 Thread Souptick Joarder
On Fri, Dec 21, 2018 at 2:49 PM Brajeswar Ghosh wrote: > > Remove hwmgr_ppt.h which is included more than once > > Signed-off-by: Brajeswar Ghosh > --- Acked-by: Souptick Joarder > drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm

Re: [PATCH v2 03/11] vga-switcheroo: make PCI dependency explicit

2018-12-23 Thread Lukas Wunner
On Sun, Dec 23, 2018 at 02:00:15AM +0300, Sinan Kaya wrote: > On Sat, Dec 22, 2018 at 7:40 PM Lukas Wunner wrote: > > On Sat, Dec 22, 2018 at 09:07:12AM +, Sinan Kaya wrote: > > > This driver depends on the PCI infrastructure but the dependency has not > > > been explicitly called out. > > > >

[Bug 109137] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring vcn_enc0 timeout

2018-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109137 Bug ID: 109137 Summary: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring vcn_enc0 timeout Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Lin

Re: [PATCH] drm/fb-helper: fix leaks in error path of drm_fb_helper_fbdev_setup

2018-12-23 Thread Noralf Trønnes
Den 23.12.2018 01.55, skrev Peter Wu: After drm_fb_helper_fbdev_setup calls drm_fb_helper_init, "dev->fb_helper" will be initialized (and thus drm_fb_helper_fini will have some effect). After that, drm_fb_helper_initial_config is called which may call the "fb_probe" driver callback. This drive

Expose more EDID fields to userspace

2018-12-23 Thread Simon Ser
Hi all, Right now, the kernel parses EDIDs and exposes some of the data to userspace. For instance, drmModeConnector has mm{Width,Height} and subpixel. Generally, userspace also has another EDID parser. For instance, wlroots uses it just to get the make/model/serial. I've talked about this at XDC

[Bug 108940] QHD bug? drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1613 core_link_enable_stream+0xc14/0x1040

2018-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108940 --- Comment #12 from Stefan --- Created attachment 142876 --> https://bugs.freedesktop.org/attachment.cgi?id=142876&action=edit 4.20.0-rc3-amd-staging-drm-next-git-b8cd95e15410+ -- You are receiving this mail because: You are the assignee fo

[Bug 108940] QHD bug? drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1613 core_link_enable_stream+0xc14/0x1040

2018-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108940 --- Comment #11 from Stefan --- I just tried with amd-staging-drm-next. The error is still present. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list