[PATCH libdrm] headers: drm: Sync with drm-next

2021-07-03 Thread Mario Kleiner
Generated using make headers_install from the drm-next tree - git://anongit.freedesktop.org/drm/drm branch - drm-next commit - 8a02ea42bc1d4c448caf1bab0e05899dad503f74 The changes were as follows (shortlog from b10733527bfd864605c33ab2e9a886eec317ec39..HEAD): Aaron Liu (1): drm/amdgpu: add

Re: [PATCH 2/2] drm/gud: Add async_flush module parameter

2021-07-03 Thread Peter Stuge
Noralf Trønnes wrote: > Provide a way for userspace to choose synchronous flushing/pageflips. > This helps save CPU and power. > > It is also useful for test scripts since userspace can know when a flush > has happended and wait before doing the next visual test. > > Cc: Peter Stuge > Cc: Linus

Re: [PATCH 1/2] drm/gud: Add Raspberry Pi Pico ID

2021-07-03 Thread Peter Stuge
Hi Noralf, Noralf Trønnes wrote: > Add VID/PID for the Raspberry Pi Pico implementation. > Source: https://github.com/notro/gud-pico > > +++ b/drivers/gpu/drm/gud/gud_drv.c > @@ -660,6 +660,7 @@ static int gud_resume(struct usb_interface *intf) > > static const struct usb_device_id

nouveau: failed to initialise sync

2021-07-03 Thread Corentin Labbe
Hello Since some days on next, nouveau fail to load: [2.754087] nouveau :02:00.0: vgaarb: deactivate vga console [2.761260] Console: switching to colour dummy device 80x25 [2.766888] nouveau :02:00.0: NVIDIA MCP77/MCP78 (0aa480a2) [2.783954] nouveau :02:00.0: bios:

Re: [RFC] Inline rotation support in dpu driver

2021-07-03 Thread Rob Clark
On Sat, Jul 3, 2021 at 4:32 AM Kalyan Thota wrote: > > This change adds support for inline rotation in the dpu driver. > When inline rotation is enabled the VIG pipes will directly fetch the image > from memory in a rotated fashion > > Inline rotation has following restrictions > 1) Supported

Re: [PATCH v5 0/2] drm/i915: IRQ fixes

2021-07-03 Thread Thomas Zimmermann
Hi Am 02.07.21 um 21:51 schrieb Daniel Vetter: On Thu, Jul 01, 2021 at 07:36:16PM +0200, Thomas Zimmermann wrote: Fix a bug in the usage of IRQs and cleanup references to the DRM IRQ midlayer. Preferably this patchset would be merged through drm-misc-next. v5: * go back to _hardirq()

[PATCH 2/2] drm/gud: Add async_flush module parameter

2021-07-03 Thread Noralf Trønnes
Provide a way for userspace to choose synchronous flushing/pageflips. This helps save CPU and power. It is also useful for test scripts since userspace can know when a flush has happended and wait before doing the next visual test. Cc: Peter Stuge Cc: Linus Walleij Signed-off-by: Noralf

[PATCH 1/2] drm/gud: Add Raspberry Pi Pico ID

2021-07-03 Thread Noralf Trønnes
Add VID/PID for the Raspberry Pi Pico implementation. Source: https://github.com/notro/gud-pico Cc: Peter Stuge Cc: Linus Walleij Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/gud/gud_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/gud/gud_drv.c

[RFC] Inline rotation support in dpu driver

2021-07-03 Thread Kalyan Thota
This change adds support for inline rotation in the dpu driver. When inline rotation is enabled the VIG pipes will directly fetch the image from memory in a rotated fashion Inline rotation has following restrictions 1) Supported only with compressed formats 2) max pre rotated height is 1088 3)

[RFC] drm/msm/disp/dpu1: add support for inline rotation in dpu driver

2021-07-03 Thread Kalyan Thota
Add inline rotation support in dpu driver. This change adds rotation config for SC7280 target. Change-Id: I15861dc03422274ffd823fc0fc2c1e47909bb22c Signed-off-by: Kalyan Thota --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 47 + drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h |

[PATCH 4/4] drm/amdgpu: return -EFAULT if copy_to_user() fails

2021-07-03 Thread Dan Carpenter
If copy_to_user() fails then this should return -EFAULT instead of -EINVAL. Fixes: 9b790694a031 ("drm/amdgpu: RAS EEPROM table is now in debugfs") Signed-off-by: Dan Carpenter --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 3/4] drm/amdgpu: unlock on error in amdgpu_ras_debugfs_table_read()

2021-07-03 Thread Dan Carpenter
This error path needs to unlock before returning. While we're at it, the correct error code from copy_to_user() failure is -EFAULT, not -EINVAL. Fixes: 9b790694a031 (""drm/amdgpu: RAS EEPROM table is now in debugfs) Signed-off-by: Dan Carpenter ---

[PATCH 2/4] drm/amdgpu: Fix signedness bug in __amdgpu_eeprom_xfer()

2021-07-03 Thread Dan Carpenter
The i2c_transfer() function returns negatives or else the number of messages transferred. This code does not work because ARRAY_SIZE() is type size_t and so that means negative values of "r" are type promoted to high positive values which are greater than the ARRAY_SIZE(). Fix this by changing

[PATCH 1/4] drm/amdgpu: fix a signedness bug in __verify_ras_table_checksum()

2021-07-03 Thread Dan Carpenter
If amdgpu_eeprom_read() returns a negative error code then the error handling checks: if (res < buf_size) { The problem is that "buf_size" is a u32 so negative values are type promoted to a high positive values and the condition is false. Fix this by changing the type of "buf_size" to

Re: [PATCH] include/uapi/drm: fix spelling mistakes in header files

2021-07-03 Thread Simon Ser
Reviewed-by: Simon Ser But this this touches a lot of different drivers, not sure we can just merge this via drm-misc-next? In any case, please ping me again in a week if this hasn't been merged by then.

[PATCH] include/uapi/drm: fix spelling mistakes in header files

2021-07-03 Thread gushengxian
From: gushengxian Fix some spelling mistakes in comments found by "codespell": cordinate ==> coordinate vertial ==> vertical horizonta ==> horizontal tranformation ==> transformation performend ==> performed synhronisation ==> synchronisation absulute ==> absolute successfuly ==> successfully

Re: [Intel-gfx] [PATCH 47/47] drm/i915/guc: Unblock GuC submission on Gen11+

2021-07-03 Thread Martin Peres
On 02/07/2021 18:07, Michal Wajdeczko wrote: On 02.07.2021 10:09, Martin Peres wrote: On 02/07/2021 10:29, Pekka Paalanen wrote: On Thu, 1 Jul 2021 21:28:06 +0200 Daniel Vetter wrote: On Thu, Jul 1, 2021 at 8:27 PM Martin Peres wrote: On 01/07/2021 11:14, Pekka Paalanen wrote: On Wed,

Re: Xorg doesn't work anymore after the latest DRM updates

2021-07-03 Thread Christian Zigotzky
Oh dear, there is another issue after the latest PowerPC updates. The X5000 doesn't boot anymore. Error messages: Oops: Exeption in kernel node, sig: 4 [#1] ... Kernel panic - not syncing: Attempted to kill init! exitcode=0x0004 --- Unfortunately we have two issues at the same time. We

Xorg doesn't work anymore after the latest DRM updates

2021-07-03 Thread Christian Zigotzky
Hi All, Xorg doesn't work anymore after the latest DRM updates. [1] Error messages: Jul 03 08:54:51 Fienix systemd[1]: Starting Light Display Manager... Jul 03 08:54:51 Fienix systemd[1]: Started Light Display Manager. Jul 03 08:54:51 Fienix kernel: BUG: Kernel NULL pointer dereference on