Re: [PATCH 14/15] mailbox: mediatek: Add mt8195 support for CMDQ secure driver

2023-09-24 Thread 林睿祥

Re: [RFT PATCH v2 01/12] drm/imx/dcss: Call drm_atomic_helper_shutdown() at shutdown time

2023-09-24 Thread Laurentiu Palcu
Hi Doug, On Fri, Sep 22, 2023 at 08:44:16AM -0700, Doug Anderson wrote: > Hi, > > On Fri, Sep 22, 2023 at 12:56 AM Laurentiu Palcu > wrote: > > > > Hi, > > > > On Thu, Sep 21, 2023 at 12:26:44PM -0700, Douglas Anderson wrote: > > > Based on grepping through the source code this driver appears

Re: [PATCH] accel/ivpu: Add Arrow Lake pci id

2023-09-24 Thread Stanislaw Gruszka
On Fri, Sep 22, 2023 at 09:24:08AM -0600, Jeffrey Hugo wrote: > On 9/22/2023 7:22 AM, Stanislaw Gruszka wrote: > > Enable VPU on Arrow Lake CPUs. > > > > Reviewed-by: Krystian Pradzynski > > Reviewed-by: Karol Wachowski > > Signed-off-by: Stanislaw Gruszka > > --- > >

Re: [PATCH 06/15] mailbox: mediatek: Add cmdq_mbox_stop to disable GCE thread

2023-09-24 Thread 林睿祥

Re: [PATCH 07/15] mailbox: mediatek: Add loop pkt flag and irq handling for loop command

2023-09-24 Thread 林睿祥

Re: [PATCH 06/15] mailbox: mediatek: Add cmdq_mbox_stop to disable GCE thread

2023-09-24 Thread 林睿祥

Re: [PATCH 03/15] soc: mailbox: Add SPR definition for GCE

2023-09-24 Thread 林睿祥

Re: [PATCH 02/15] dt-bindings: gce: mt8195: Add CMDQ_SYNC_TOKEN_SECURE_THR_EOF event id

2023-09-24 Thread 林睿祥

Re: [PATCH 5/7] drm/sun4i: dw-hdmi: Split driver registration

2023-09-24 Thread kernel test robot
Hi Jernej, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.6-rc3 next-20230921] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented

Re: [PATCH 10/15] platform/x86/amd/pmf: Add capability to sideload of policy binary

2023-09-24 Thread kernel test robot
Hi Shyam, kernel test robot noticed the following build warnings: [auto build test WARNING on hid/for-next] [also build test WARNING on linus/master v6.6-rc3 next-20230921] [cannot apply to drm-misc/drm-misc-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

linux-next: manual merge of the drm-misc tree with Linus' tree

2023-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/accel/qaic/qaic_data.c between commit: 2d956177b7c9 ("accel/qaic: Fix slicing memory leak") from Linus' tree and commit: 217b812364d3 ("accel/qaic: Add QAIC_DETACH_SLICE_BO IOCTL") from the drm-misc tree.

Re: [PATCH 2/2] ARM: dts: imx: add support for the ATM0700D4 panel attached to sk-imx53

2023-09-24 Thread Laurent Pinchart
On Tue, Aug 29, 2023 at 12:19:23PM +0300, Dmitry Baryshkov wrote: > On Mon, 28 Aug 2023 at 19:02, Laurent Pinchart wrote: > > On Sun, Aug 27, 2023 at 12:54:29AM +0300, Dmitry Baryshkov wrote: > > > The SK-ATM0700D4-Plug is an extension board (provided by the same > > > manufacturer, [1]) which can

Re: [PATCH 2/2] ARM: dts: imx: add support for the ATM0700D4 panel attached to sk-imx53

2023-09-24 Thread Shawn Guo
On Sun, Aug 27, 2023 at 12:54:29AM +0300, Dmitry Baryshkov wrote: > The SK-ATM0700D4-Plug is an extension board (provided by the same > manufacturer, [1]) which can be connected to the SK-IMX53 panel kit. The > panel can be connected either using the RGB parallel bus or using the > LVDS connector

Re: [PATCH drm-misc-next v4 3/8] drm/nouveau: uvmm: rename 'umgr' to 'base'

2023-09-24 Thread Dave Airlie
On Thu, 21 Sept 2023 at 00:44, Danilo Krummrich wrote: > > Rename struct drm_gpuvm within struct nouveau_uvmm from 'umgr' to base. > > Signed-off-by: Danilo Krummrich Reviewed-by: Dave Airlie > --- > drivers/gpu/drm/nouveau/nouveau_debugfs.c | 2 +- > drivers/gpu/drm/nouveau/nouveau_exec.c

Re: [PATCH drm-misc-next v4 2/8] drm/gpuvm: allow building as module

2023-09-24 Thread Dave Airlie
On Thu, 21 Sept 2023 at 00:43, Danilo Krummrich wrote: > > Currently, the DRM GPUVM does not have any core dependencies preventing > a module build. > > Also, new features from subsequent patches require helpers (namely > drm_exec) which can be built as module. > > Reviewed-by: Christian König >

Re: [PATCH drm-misc-next v4 1/8] drm/gpuvm: rename struct drm_gpuva_manager to struct drm_gpuvm

2023-09-24 Thread Dave Airlie
On Thu, 21 Sept 2023 at 16:49, Christian König wrote: > > Am 20.09.23 um 16:42 schrieb Danilo Krummrich: > > Rename struct drm_gpuva_manager to struct drm_gpuvm including > > corresponding functions. This way the GPUVA manager's structures align > > very well with the documentation of VM_BIND [1]

Re: [PATCH v6 04/20] drm/imagination/uapi: Add PowerVR driver UAPI

2023-09-24 Thread Dave Airlie
> +struct drm_pvr_dev_query_gpu_info { > + /** > +* @gpu_id: GPU identifier. > +* > +* For all currently supported GPUs this is the BVNC encoded as a > 64-bit > +* value as follows: > +* > +*++++---+ > +

[PATCH drm-misc-next 1/2] drm/nouveau: make use of DRM_SCHED_POLICY_SINGLE_ENTITY

2023-09-24 Thread Danilo Krummrich
DRM_SCHED_POLICY_SINGLE_ENTITY was implemented in order to properly support firmware schedulers being able to handle an arbitrary amount of dynamically allocated command ring buffers. This perfectly matches Nouveau's needs, hence make use of it. Topology wise we create one scheduler instance per

[PATCH drm-misc-next 2/2] drm/nouveau: enable dynamic job flow control

2023-09-24 Thread Danilo Krummrich
Make use of the scheduler's submission limit and scheduler job's submission unit count to account for the actual size of a job, such that we fill up the ring efficiently. Signed-off-by: Danilo Krummrich --- This patch is based on Matt's scheduler work [1] and [2]. [1]

[PATCH drm-misc-next 1/3] drm/sched: implement dynamic job flow control

2023-09-24 Thread Danilo Krummrich
Currently, job flow control is implemented simply by limiting the amount of jobs in flight. Therefore, a scheduler is initialized with a submission limit that corresponds to a certain amount of jobs. This implies that for each job drivers need to account for the maximum job size possible in order

Re: [PATCH] drm/sun4i: Add error handling in sun4i_layer_init_one()

2023-09-24 Thread Jernej Škrabec
Hi! Dne nedelja, 24. september 2023 ob 09:42:16 CEST je liuhaoran napisal(a): > This patch adds error-handling for the drm_plane_create_alpha_property() > and drm_plane_create_zpos_property() inside the dw_hdmi_imx_probe(). dw_hdmi_imx_probe() is not from this driver. Best regards, Jernej > >

[PATCH 1/7] drm/sun4i: dw-hdmi: Deinit PHY in fail path

2023-09-24 Thread Jernej Skrabec
Commit 9bf3797796f5 ("drm/sun4i: dw-hdmi: Make HDMI PHY into a platform device") removed code for PHY deinitialization in fail path. Add it back. Fixes: 9bf3797796f5 ("drm/sun4i: dw-hdmi: Make HDMI PHY into a platform device") Signed-off-by: Jernej Skrabec ---

[PATCH 4/7] drm/sun4i: Don't show error for deferred probes.

2023-09-24 Thread Jernej Skrabec
Drivers probing in display pipeline can be deferred for many reasons. Don't print error for such cases. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun4i_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c

[PATCH 5/7] drm/sun4i: dw-hdmi: Split driver registration

2023-09-24 Thread Jernej Skrabec
There is no reason to register two drivers in same place. Using macro lowers amount of boilerplate code. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 27 +- drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h | 2 --

[PATCH 6/7] drm/sun4i: dw-hdmi: Make sun8i_hdmi_phy_get() more intuitive

2023-09-24 Thread Jernej Skrabec
Let's make sun8i_hdmi_phy_get() to behave more like other kernel functions and return phy pointer instead of setting field in struct. This also makes function more universal. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 5 +++--

[PATCH 7/7] drm/sun4i: dw-hdmi: check for phy device first

2023-09-24 Thread Jernej Skrabec
Let's check for phy device first. Since it uses much of the same clocks and resets it also lowers amount of possible deferred probes. While at it, don't report error for deferred phy probe. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 35 +--

[PATCH 3/7] drm/sun4i: dw-hdmi: Switch to bridge functions

2023-09-24 Thread Jernej Skrabec
Since ddc-en property handling was moved from sun8i dw-hdmi driver to display connector driver, probe order of drivers determines if EDID is properly read at boot time or not. In order to fix this, let's switch to bridge functions which allows us to build proper chain and defer execution until

[PATCH 2/7] drm/sun4i: dw-hdmi: Remove double encoder cleanup

2023-09-24 Thread Jernej Skrabec
It turns out that comment is wrong - dw hdmi driver never does any encoder cleanup. In fact, cleanup is done automatically, in destroy callback of encoder. Even more, encoder memory will be freed when hdmi device is destroyed. However, encoder will be cleaned up after that, in

[PATCH 0/7] drm/sun4i: dw-hdmi: Fix initialization & refactor

2023-09-24 Thread Jernej Skrabec
Main goal of this series is to fix race condition between probing display connector driver and sun8i dw-hdmi platform driver. Sometimes, boards have ddc-en gpio specified in DT file. This is handled by display connector driver since commit 920169041baa ("drm/sun4i: dw-hdmi: Fix ddc-en GPIO

Re: [PATCH] drm/imx: Add error handling in dw_hdmi_imx_probe()

2023-09-24 Thread Fabio Estevam
On Sun, Sep 24, 2023 at 11:36 AM liuhaoran wrote: > > This patch adds error-handling for the of_match_node() > inside the dw_hdmi_imx_probe(). > > Signed-off-by: liuhaoran > --- > drivers/gpu/drm/imx/ipuv3/dw_hdmi-imx.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git

Re: [PATCH] drm/mediatek/dp: fix memory leak on ->get_edid callback error path

2023-09-24 Thread Chun-Kuang Hu
Hi, Jani: Jani Nikula 於 2023年9月14日 週四 下午9:13寫道: > > Setting new_edid to NULL leaks the buffer. Applied to mediatek-drm-next [1], thanks. [1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next Regards, Chun-Kuang. > > Fixes: f70ac097a2cf

Re: [PATCH] drm/mediatek/dp: fix memory leak on ->get_edid callback audio detection

2023-09-24 Thread Chun-Kuang Hu
Hi, Jani: Jani Nikula 於 2023年9月22日 週五 下午5:44寫道: > > On Tue, 19 Sep 2023, Chen-Yu Tsai wrote: > > On Tue, Sep 19, 2023 at 7:02 PM Jani Nikula wrote: > >> > >> On Fri, 15 Sep 2023, Chen-Yu Tsai wrote: > >> > On Thu, Sep 14, 2023 at 11:53 PM Jani Nikula > >> > wrote: > >> >> > >> >> The sads

Re: [PATCH v6,0/4] Add compatible to increase MT8188 audio control

2023-09-24 Thread Chun-Kuang Hu
Hi, Shuijing: Shuijing Li 於 2023年8月22日 週二 上午10:41寫道: > > Add dt-binding documentation of dp-tx for MediaTek MT8188 SoC. > Mainly add the following two flag: > > 1.The audio packet arrangement function is to only arrange audio > packets into the Hblanking area. In order to align with the HW >

[PATCH AUTOSEL 4.14 1/6] parisc: sba: Fix compile warning wrt list of SBA devices

2023-09-24 Thread Sasha Levin
From: Helge Deller [ Upstream commit eb3255ee8f6f4691471a28fbf22db5e8901116cd ] Fix this makecheck warning: drivers/parisc/sba_iommu.c:98:19: warning: symbol 'sba_list' was not declared. Should it be static? Signed-off-by: Helge Deller Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 4.19 1/7] parisc: sba: Fix compile warning wrt list of SBA devices

2023-09-24 Thread Sasha Levin
From: Helge Deller [ Upstream commit eb3255ee8f6f4691471a28fbf22db5e8901116cd ] Fix this makecheck warning: drivers/parisc/sba_iommu.c:98:19: warning: symbol 'sba_list' was not declared. Should it be static? Signed-off-by: Helge Deller Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.4 1/7] parisc: sba: Fix compile warning wrt list of SBA devices

2023-09-24 Thread Sasha Levin
From: Helge Deller [ Upstream commit eb3255ee8f6f4691471a28fbf22db5e8901116cd ] Fix this makecheck warning: drivers/parisc/sba_iommu.c:98:19: warning: symbol 'sba_list' was not declared. Should it be static? Signed-off-by: Helge Deller Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.10 01/13] parisc: sba: Fix compile warning wrt list of SBA devices

2023-09-24 Thread Sasha Levin
From: Helge Deller [ Upstream commit eb3255ee8f6f4691471a28fbf22db5e8901116cd ] Fix this makecheck warning: drivers/parisc/sba_iommu.c:98:19: warning: symbol 'sba_list' was not declared. Should it be static? Signed-off-by: Helge Deller Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.15 14/18] drm/amdgpu: Handle null atom context in VBIOS info ioctl

2023-09-24 Thread Sasha Levin
From: David Francis [ Upstream commit 5e7e82254270c8cf8b107451c5de01cee2f135ae ] On some APU systems, there is no atom context and so the atom_context struct is null. Add a check to the VBIOS_INFO branch of amdgpu_info_ioctl to handle this case, returning all zeroes. Reviewed-by: Alex Deucher

[PATCH AUTOSEL 5.15 13/18] drm/amd/display: Don't check registers, if using AUX BL control

2023-09-24 Thread Sasha Levin
From: Swapnil Patel [ Upstream commit f5b2c10b57615828b531bb0ae56bd6325a41167e ] [Why] Currently the driver looks DCN registers to access if BL is on or not. This check is not valid if we are using AUX based brightness control. This causes driver to not send out "backlight off" command during

[PATCH AUTOSEL 6.1 22/28] drm/amdgpu/nbio4.3: set proper rmmio_remap.reg_offset for SR-IOV

2023-09-24 Thread Sasha Levin
From: Alex Deucher [ Upstream commit ab43213e7afd08ac68d4282060bacf309e70fd14 ] Needed for HDP flush to work correctly. Reviewed-by: Timmy Tsai Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/nbio_v4_3.c | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH AUTOSEL 6.1 21/28] drm/amdgpu/soc21: don't remap HDP registers for SR-IOV

2023-09-24 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 1832403cd41ca6b19b24e9d64f79cb08d920ca44 ] This matches the behavior for soc15 and nv. Acked-by: Christian König Reviewed-by: Timmy Tsai Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/soc21.c | 2 +- 1 file

[PATCH AUTOSEL 5.15 01/18] parisc: sba: Fix compile warning wrt list of SBA devices

2023-09-24 Thread Sasha Levin
From: Helge Deller [ Upstream commit eb3255ee8f6f4691471a28fbf22db5e8901116cd ] Fix this makecheck warning: drivers/parisc/sba_iommu.c:98:19: warning: symbol 'sba_list' was not declared. Should it be static? Signed-off-by: Helge Deller Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 6.1 23/28] drm/amdgpu: Handle null atom context in VBIOS info ioctl

2023-09-24 Thread Sasha Levin
From: David Francis [ Upstream commit 5e7e82254270c8cf8b107451c5de01cee2f135ae ] On some APU systems, there is no atom context and so the atom_context struct is null. Add a check to the VBIOS_INFO branch of amdgpu_info_ioctl to handle this case, returning all zeroes. Reviewed-by: Alex Deucher

[PATCH AUTOSEL 6.1 20/28] drm/amd/display: Don't check registers, if using AUX BL control

2023-09-24 Thread Sasha Levin
From: Swapnil Patel [ Upstream commit f5b2c10b57615828b531bb0ae56bd6325a41167e ] [Why] Currently the driver looks DCN registers to access if BL is on or not. This check is not valid if we are using AUX based brightness control. This causes driver to not send out "backlight off" command during

[PATCH AUTOSEL 6.1 02/28] parisc: sba: Fix compile warning wrt list of SBA devices

2023-09-24 Thread Sasha Levin
From: Helge Deller [ Upstream commit eb3255ee8f6f4691471a28fbf22db5e8901116cd ] Fix this makecheck warning: drivers/parisc/sba_iommu.c:98:19: warning: symbol 'sba_list' was not declared. Should it be static? Signed-off-by: Helge Deller Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 6.5 32/41] drm/amdkfd: Checkpoint and restore queues on GFX11

2023-09-24 Thread Sasha Levin
From: David Francis [ Upstream commit 9296da8c40900b4dae3d973aa22be306e2a77671 ] The code in kfd_mqd_manager_v11.c to support criu dump and restore of queue state was missing. Added it; should be equivalent to kfd_mqd_manager_v10.c. CC: Felix Kuehling Reviewed-by: Harish Kasiviswanathan

[PATCH AUTOSEL 6.5 31/41] drm/amdgpu: fallback to old RAS error message for aqua_vanjaram

2023-09-24 Thread Sasha Levin
From: Hawking Zhang [ Upstream commit ffd6bde302061aeee405ab364403af30210f0b99 ] So driver doesn't generate incorrect message until the new format is settled down for aqua_vanjaram Signed-off-by: Hawking Zhang Reviewed-by: Yang Wang Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin

[PATCH AUTOSEL 6.5 33/41] drm/amdgpu: Handle null atom context in VBIOS info ioctl

2023-09-24 Thread Sasha Levin
From: David Francis [ Upstream commit 5e7e82254270c8cf8b107451c5de01cee2f135ae ] On some APU systems, there is no atom context and so the atom_context struct is null. Add a check to the VBIOS_INFO branch of amdgpu_info_ioctl to handle this case, returning all zeroes. Reviewed-by: Alex Deucher

[PATCH AUTOSEL 6.5 27/41] drm/amd/display: Add dirty rect support for Replay

2023-09-24 Thread Sasha Levin
From: Bhawanpreet Lakha [ Upstream commit 679fc891bf11845730b572fc44f8a0eb846aba29 ] Dirty rect can be used with replay, so enable them to allow for more powersaving. Reviewed-by: Sun peng Li Acked-by: Stylon Wang Signed-off-by: Bhawanpreet Lakha Tested-by: Daniel Wheeler Signed-off-by:

[PATCH AUTOSEL 6.5 30/41] drm/amdgpu/nbio4.3: set proper rmmio_remap.reg_offset for SR-IOV

2023-09-24 Thread Sasha Levin
From: Alex Deucher [ Upstream commit ab43213e7afd08ac68d4282060bacf309e70fd14 ] Needed for HDP flush to work correctly. Reviewed-by: Timmy Tsai Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/nbio_v4_3.c | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH AUTOSEL 6.5 29/41] drm/amdgpu/soc21: don't remap HDP registers for SR-IOV

2023-09-24 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 1832403cd41ca6b19b24e9d64f79cb08d920ca44 ] This matches the behavior for soc15 and nv. Acked-by: Christian König Reviewed-by: Timmy Tsai Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/soc21.c | 2 +- 1 file

[PATCH AUTOSEL 6.5 26/41] drm/amdkfd: Update CU masking for GFX 9.4.3

2023-09-24 Thread Sasha Levin
From: Mukul Joshi [ Upstream commit fc6efed2c728c9c10b058512fc9c1613f870a8e8 ] The CU mask passed from user-space will change based on different spatial partitioning mode. As a result, update CU masking code for GFX9.4.3 to work for all partitioning modes. Signed-off-by: Mukul Joshi

[PATCH AUTOSEL 6.5 25/41] drm/amdkfd: Update cache info reporting for GFX v9.4.3

2023-09-24 Thread Sasha Levin
From: Mukul Joshi [ Upstream commit 0752e66e91fa86fa5481b04b22053363833ffb85 ] Update cache info reporting in sysfs to report the correct number of CUs and associated cache information based on different spatial partitioning modes. Signed-off-by: Mukul Joshi Reviewed-by: Felix Kuehling

[PATCH AUTOSEL 6.5 28/41] drm/amd/display: Don't check registers, if using AUX BL control

2023-09-24 Thread Sasha Levin
From: Swapnil Patel [ Upstream commit f5b2c10b57615828b531bb0ae56bd6325a41167e ] [Why] Currently the driver looks DCN registers to access if BL is on or not. This check is not valid if we are using AUX based brightness control. This causes driver to not send out "backlight off" command during

[PATCH AUTOSEL 6.5 24/41] drm/amdgpu: Store CU info from all XCCs for GFX v9.4.3

2023-09-24 Thread Sasha Levin
From: Mukul Joshi [ Upstream commit 97e3c6a853f2af9145daf0c6ca25bcdf55c759d4 ] Currently, we store CU info only for a single XCC assuming that it is the same for all XCCs. However, that may not be true. As a result, store CU info for all XCCs. This info is later used for CU masking.

[PATCH AUTOSEL 6.5 02/41] parisc: sba: Fix compile warning wrt list of SBA devices

2023-09-24 Thread Sasha Levin
From: Helge Deller [ Upstream commit eb3255ee8f6f4691471a28fbf22db5e8901116cd ] Fix this makecheck warning: drivers/parisc/sba_iommu.c:98:19: warning: symbol 'sba_list' was not declared. Should it be static? Signed-off-by: Helge Deller Signed-off-by: Sasha Levin ---

Re: [PATCH RFC v6 08/10] drm/msm/dpu: Allow NULL FBs in atomic commit

2023-09-24 Thread Dmitry Baryshkov
On 29/08/2023 03:05, Jessica Zhang wrote: Since solid fill planes allow for a NULL framebuffer in a valid commit, add NULL framebuffer checks to atomic commit calls within DPU. Reviewed-by: Dmitry Baryshkov Signed-off-by: Jessica Zhang --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 9

Re: [Freedreno] [PATCH RFC v6 07/10] drm/atomic: Loosen FB atomic checks

2023-09-24 Thread Dmitry Baryshkov
On 22/09/2023 20:49, Jessica Zhang wrote: On 8/29/2023 1:22 AM, Pekka Paalanen wrote: On Mon, 28 Aug 2023 17:05:13 -0700 Jessica Zhang wrote: Loosen the requirements for atomic and legacy commit so that, in cases where pixel_source != FB, the commit can still go through. This includes

Re: [PATCH RFC v6 07/10] drm/atomic: Loosen FB atomic checks

2023-09-24 Thread Dmitry Baryshkov
On 29/08/2023 03:05, Jessica Zhang wrote: Loosen the requirements for atomic and legacy commit so that, in cases where pixel_source != FB, the commit can still go through. This includes adding framebuffer NULL checks in other areas to account for FB being NULL when non-FB pixel sources are

Re: [PATCH RFC v6 05/10] drm/atomic: Add solid fill data to plane state dump

2023-09-24 Thread Dmitry Baryshkov
On 29/08/2023 03:05, Jessica Zhang wrote: Add solid_fill property data to the atomic plane state dump. Signed-off-by: Jessica Zhang --- drivers/gpu/drm/drm_atomic.c | 4 drivers/gpu/drm/drm_plane.c | 8 include/drm/drm_plane.h | 3 +++ 3 files changed, 15 insertions(+)

Re: [PATCH RFC v6 04/10] drm/atomic: Add pixel source to plane state dump

2023-09-24 Thread Dmitry Baryshkov
On 29/08/2023 03:05, Jessica Zhang wrote: Add pixel source to the atomic plane state dump Signed-off-by: Jessica Zhang --- drivers/gpu/drm/drm_atomic.c| 1 + drivers/gpu/drm/drm_blend.c | 1 + drivers/gpu/drm/drm_crtc_internal.h | 1 + 3 files changed, 3 insertions(+)

Re: [PATCH RFC v6 01/10] drm: Introduce pixel_source DRM plane property

2023-09-24 Thread Dmitry Baryshkov
On 29/08/2023 03:05, Jessica Zhang wrote: Add support for pixel_source property to drm_plane and related documentation. In addition, force pixel_source to DRM_PLANE_PIXEL_SOURCE_FB in DRM_IOCTL_MODE_SETPLANE as to not break legacy userspace. This enum property will allow user to specify a pixel

Re: [PATCH 5/9] drm/nouveau/pm: Annotate struct nvkm_perfdom with __counted_by

2023-09-24 Thread Gustavo A. R. Silva
On 9/22/23 11:32, Kees Cook wrote: Prepare for the coming implementation by GCC and Clang of the __counted_by attribute. Flexible array members annotated with __counted_by can have their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS (for array indexing) and

Re: [PATCH] drm/msm/mdp4: Add error handling in mdp4_lvds_connector_init()

2023-09-24 Thread Dmitry Baryshkov
On Sun, 24 Sept 2023 at 09:42, liuhaoran wrote: > > This patch adds error-handling for the drm_connector_init() and > drm_connector_attach_encoder inside the mdp4_lvds_connector_init(). > > Signed-off-by: liuhaoran As pointed out by the kernel robot, this was not even compile tested. So NAK.

Re: [PATCH] drm/sun4i: Add error handling in sun4i_layer_init_one()

2023-09-24 Thread kernel test robot
to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/liuhaoran/drm-sun4i-Add-error-handling-in-sun4i_layer_init_one/20230924-154504 base: https://git.kernel.org/pub/scm/linux/kernel/git/sunxi

Re: [PATCH] drm/msm/mdp4: Add error handling in mdp4_lvds_connector_init()

2023-09-24 Thread kernel test robot
to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/liuhaoran/drm-msm-mdp4-Add-error-handling-in-mdp4_lvds_connector_init/20230924-144326 base: git://anongit.freedesktop.org/drm/drm-misc drm

[PATCH] drm/sun4i: Add error handling in sun4i_layer_init_one()

2023-09-24 Thread liuhaoran
This patch adds error-handling for the drm_plane_create_alpha_property() and drm_plane_create_zpos_property() inside the dw_hdmi_imx_probe(). Signed-off-by: liuhaoran --- drivers/gpu/drm/sun4i/sun4i_layer.c | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git

[PATCH] drm/imx: Add error handling in dw_hdmi_imx_probe()

2023-09-24 Thread liuhaoran
This patch adds error-handling for the of_match_node() inside the dw_hdmi_imx_probe(). Signed-off-by: liuhaoran --- drivers/gpu/drm/imx/ipuv3/dw_hdmi-imx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/imx/ipuv3/dw_hdmi-imx.c b/drivers/gpu/drm/imx/ipuv3/dw_hdmi-imx.c

[PATCH] drm/msm/mdp4: Add error handling in mdp4_lvds_connector_init()

2023-09-24 Thread liuhaoran
This patch adds error-handling for the drm_connector_init() and drm_connector_attach_encoder inside the mdp4_lvds_connector_init(). Signed-off-by: liuhaoran --- .../gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c| 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git

[PATCH] drm/i915/gt: Add error handling in intel_timeline_pin()

2023-09-24 Thread liuhaoran
This patch adds error-handling for the i915_active_acquire() inside the intel_timeline_pin(). Signed-off-by: liuhaoran --- drivers/gpu/drm/i915/gt/intel_timeline.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gt/intel_timeline.c