[PATCH AUTOSEL 5.10 14/18] drm: Copy drm_wait_vblank to user before returning

2021-08-23 Thread Sasha Levin
From: Mark Yacoub [ Upstream commit fa0b1ef5f7a694f48e00804a391245f3471aa155 ] [Why] Userspace should get back a copy of drm_wait_vblank that's been modified even when drm_wait_vblank_ioctl returns a failure. Rationale: drm_wait_vblank_ioctl modifies the request and expects the user to read it

[PATCH AUTOSEL 5.10 12/18] drm/amd/pm: change the workload type for some cards

2021-08-23 Thread Sasha Levin
From: Kenneth Feng [ Upstream commit 93c5701b00d50d192ce2247cb10d6c0b3fe25cd8 ] change the workload type for some cards as it is needed. Signed-off-by: Kenneth Feng Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- .../gpu/drm/amd/pm/powerplay/hwmgr/vega

[PATCH AUTOSEL 5.10 16/18] drm/nouveau/kms/nv50: workaround EFI GOP window channel format differences

2021-08-23 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit e78b1b545c6cfe9f87fc577128e00026fff230ba ] Should fix some initial modeset failures on (at least) Ampere boards. Signed-off-by: Ben Skeggs Reviewed-by: Lyude Paul Signed-off-by: Sasha Levin --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 27 +

[PATCH AUTOSEL 5.10 17/18] drm/nouveau: block a bunch of classes from userspace

2021-08-23 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit 148a8653789c01f159764ffcc3f370008966b42f ] Long ago, there had been plans for making use of a bunch of these APIs from userspace and there's various checks in place to stop misbehaving. Countless other projects have occurred in the meantime, and the pieces did

[PATCH AUTOSEL 5.10 15/18] drm/nouveau/disp: power down unused DP links during init

2021-08-23 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit 6eaa1f3c59a707332e921e32782ffcad49915c5e ] When booted with multiple displays attached, the EFI GOP driver on (at least) Ampere, can leave DP links powered up that aren't being used to display anything. This confuses our tracking of SOR routing, with the likel

[PATCH AUTOSEL 5.4 07/10] drm: Copy drm_wait_vblank to user before returning

2021-08-23 Thread Sasha Levin
From: Mark Yacoub [ Upstream commit fa0b1ef5f7a694f48e00804a391245f3471aa155 ] [Why] Userspace should get back a copy of drm_wait_vblank that's been modified even when drm_wait_vblank_ioctl returns a failure. Rationale: drm_wait_vblank_ioctl modifies the request and expects the user to read it

[PATCH AUTOSEL 5.4 08/10] drm/nouveau/disp: power down unused DP links during init

2021-08-23 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit 6eaa1f3c59a707332e921e32782ffcad49915c5e ] When booted with multiple displays attached, the EFI GOP driver on (at least) Ampere, can leave DP links powered up that aren't being used to display anything. This confuses our tracking of SOR routing, with the likel

[PATCH AUTOSEL 5.4 09/10] drm/nouveau: block a bunch of classes from userspace

2021-08-23 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit 148a8653789c01f159764ffcc3f370008966b42f ] Long ago, there had been plans for making use of a bunch of these APIs from userspace and there's various checks in place to stop misbehaving. Countless other projects have occurred in the meantime, and the pieces did

[PATCH AUTOSEL 4.19 09/10] drm/nouveau: block a bunch of classes from userspace

2021-08-23 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit 148a8653789c01f159764ffcc3f370008966b42f ] Long ago, there had been plans for making use of a bunch of these APIs from userspace and there's various checks in place to stop misbehaving. Countless other projects have occurred in the meantime, and the pieces did

[PATCH AUTOSEL 4.19 07/10] drm: Copy drm_wait_vblank to user before returning

2021-08-23 Thread Sasha Levin
From: Mark Yacoub [ Upstream commit fa0b1ef5f7a694f48e00804a391245f3471aa155 ] [Why] Userspace should get back a copy of drm_wait_vblank that's been modified even when drm_wait_vblank_ioctl returns a failure. Rationale: drm_wait_vblank_ioctl modifies the request and expects the user to read it

[PATCH AUTOSEL 4.19 08/10] drm/nouveau/disp: power down unused DP links during init

2021-08-23 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit 6eaa1f3c59a707332e921e32782ffcad49915c5e ] When booted with multiple displays attached, the EFI GOP driver on (at least) Ampere, can leave DP links powered up that aren't being used to display anything. This confuses our tracking of SOR routing, with the likel

[PATCH AUTOSEL 4.14 5/7] drm/nouveau/disp: power down unused DP links during init

2021-08-23 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit 6eaa1f3c59a707332e921e32782ffcad49915c5e ] When booted with multiple displays attached, the EFI GOP driver on (at least) Ampere, can leave DP links powered up that aren't being used to display anything. This confuses our tracking of SOR routing, with the likel

[PATCH AUTOSEL 4.14 6/7] drm/nouveau: block a bunch of classes from userspace

2021-08-23 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit 148a8653789c01f159764ffcc3f370008966b42f ] Long ago, there had been plans for making use of a bunch of these APIs from userspace and there's various checks in place to stop misbehaving. Countless other projects have occurred in the meantime, and the pieces did

[PATCH AUTOSEL 4.14 4/7] drm: Copy drm_wait_vblank to user before returning

2021-08-23 Thread Sasha Levin
From: Mark Yacoub [ Upstream commit fa0b1ef5f7a694f48e00804a391245f3471aa155 ] [Why] Userspace should get back a copy of drm_wait_vblank that's been modified even when drm_wait_vblank_ioctl returns a failure. Rationale: drm_wait_vblank_ioctl modifies the request and expects the user to read it

Re: [PATCH v2 2/2] drm/panel: Add Sony Tulip Truly NT35521 driver

2021-08-23 Thread Shawn Guo
On Mon, Aug 09, 2021 at 01:10:08PM +0800, Shawn Guo wrote: > It adds a DRM panel driver for Sony Tulip Truly NT35521 5.24" 1280x720 > DSI panel, which can be found on Sony Xperia M4 Aqua phone. The panel > backlight is managed through DSI link. > > The driver is built using linux-mdss-dsi-panel-d

Re: [PATCH v8 01/34] opp: Add dev_pm_opp_sync() helper

2021-08-23 Thread Viresh Kumar
On 23-08-21, 23:24, Dmitry Osipenko wrote: > It's not clear to me whether it will be okay to add a generic OPP syncing by > clock rate or should it be a Tegra-specific helper. Viresh, what do you think > about this generic OPP helper: > > /** > * dev_pm_opp_sync_with_clk_rate() - Sync OPP state

Re: [PATCH v3 15/15] drm/mediatek: add mediatek-drm of vdosys1 support for MT8195

2021-08-23 Thread Nancy . Lin
Hi Chun-Kuang, Thanks for the review. On Sun, 2021-08-22 at 09:14 +0800, Chun-Kuang Hu wrote: > Hi, Nancy: > > Nancy.Lin 於 2021年8月18日 週三 下午5:18寫道: > > > > Add driver data of mt8195 vdosys1 to mediatek-drm and modify drm > > for > > multi-mmsys support. The two mmsys (vdosys0 and vdosys1

Re: [PATCH v3 15/15] drm/mediatek: add mediatek-drm of vdosys1 support for MT8195

2021-08-23 Thread Nancy . Lin
Hi Chun-Kuang, Thanks for the review. On Sat, 2021-08-21 at 07:37 +0800, Chun-Kuang Hu wrote: > Hi, Nancy: > > Nancy.Lin 於 2021年8月18日 週三 下午5:18寫道: > > > > Add driver data of mt8195 vdosys1 to mediatek-drm and modify drm > > for > > multi-mmsys support. The two mmsys (vdosys0 and vdosys

Re: [PATCH v3 13/15] drm/mediatek: add ovl_adaptor support for MT8195

2021-08-23 Thread Nancy . Lin
Hi Chun-Kuang, Thanks for the review. On Sun, 2021-08-22 at 07:47 +0800, Chun-Kuang Hu wrote: > Hi, Nancy: > > Nancy.Lin 於 2021年8月18日 週三 下午5:19寫道: > > > > Add ovl_adaptor driver for MT8195. > > Ovl_adaptor is an encapsulated module and designed for simplified > > DRM control flow. This module

Re: [PATCH v3 02/15] dt-bindings: mediatek: add vdosys1 MERGE definition for mt8195

2021-08-23 Thread Nancy . Lin
Hi Chun-Kuang, Thanks for the review. On Fri, 2021-08-20 at 07:25 +0800, Chun-Kuang Hu wrote: > Hi, Nancy: > > Nancy.Lin 於 2021年8月18日 週三 下午5:18寫道: > > > > Add vdosys1 MERGE definition. > > > > Signed-off-by: Nancy.Lin > > --- > > .../devicetree/bindings/display/mediatek/mediatek,merge.yaml

Re: [v2 0/2] Add driver for BOE tv110c9m-ll3 panel

2021-08-23 Thread yangcong
Hi Sam, This driver support boe tv1110c9m-ll3 and inx hj110iz-01a panel.The IC chip is used NT36523, which is a new IC. 1: panel-boe-tv101wum-nl6.c driver cannot meet the timing requirements of the current two panel. 2: The screen cannot be work in HS mode, panel-boe-tv101wum-nl6.c will swit

[PATCH linux-next] drm:dcn31: fix boolreturn.cocci warnings

2021-08-23 Thread CGEL
From: Jing Yangyang ./drivers/gpu/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c:112:9-10:WARNING: return of 0/1 in function 'dcn31_is_panel_backlight_on' with return type bool ./drivers/gpu/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c:122:9-10:WARNING: return of 0/1 in function 'dcn31_is_panel_powe

drm: simpledrm: fbdev emulation error with CONFIG_DRM_SIMPLEDRM enabled

2021-08-23 Thread Amanoel Dawod
Hi, This started since 5.14-rc1. The following error appears in dmesg (as of 5.14-rc7) when I build the kernel with CONFIG_DRM_SIMPLEDRM=m [3.252275] [drm] Initialized simpledrm 1.0.0 20200625 for simple-framebuffer.0 on minor 0 [3.252298] simple-framebuffer simple-framebuffer.0: [drm] *

<    1   2