Re: [Freedreno] [PATCH v2 2/2] clk: qcom: gcc-sdm660: Remove transient global "xo" clock

2021-08-31 Thread Stephen Boyd
Quoting Marijn Suijten (2021-08-30 11:24:45) > The DSI PHY/PLL was relying on a global "xo" clock to be found, but the > real clock is named "xo_board" in the DT. The standard nowadays is to > never use global clock names anymore but require the firmware (DT) to > provide every clock binding expli

Re: [Freedreno] [PATCH v2 1/2] drm/msm/dsi: Use "ref" fw clock instead of global name for VCO parent

2021-08-31 Thread Stephen Boyd
Quoting Marijn Suijten (2021-08-30 16:10:26) > > I'm 95% sure this shouldn't cause any problems given current DTs and > their history, but that's probably not enough. This might also impact > DTs that have not yet been upstreamed, but afaik the general stance is > to not care and actually serve a

[Freedreno] How OSMesa bootstraps the GL renderer to output to main memory

2021-08-31 Thread MC player
How OSMesa bootstraps the GL renderer to output to main memory? I have seen Osmesa source code, but I don't know much. I guess Osmesa is some of the information inside the GL context to boot the output location of the renderer, but I am uncertain, can anyone tell me some more detailed things? I

[Freedreno] [PATCH igt v4 3/3] msm: Add submit ioctl tests

2021-08-31 Thread Rob Clark
From: Rob Clark Add an initial set of tests for the submit ioctl. v2: Add NULL inits, igt_describe() v3: Alphabetize meson.build Signed-off-by: Rob Clark Acked-by: Petri Latvala --- tests/meson.build | 1 + tests/msm_submit.c | 194 + 2 files ch

[Freedreno] [PATCH igt v4 2/3] msm: Add helper library

2021-08-31 Thread Rob Clark
From: Rob Clark Handle some of the boilerplate for tests. v2: fix comment, drop unnecessary drm_open_driver_render() error handling, docs fixes, drop igt_msm_pipe_get_param() (for now), handle NULL in destructors Signed-off-by: Rob Clark Reviewed-by: Petri Latvala --- .../igt-gpu-too

[Freedreno] [PATCH igt v4 0/3] Initial igt tests for drm/msm ioctls

2021-08-31 Thread Rob Clark
From: Rob Clark Add an initial set of tests for the gpu SUBMIT ioctl. There is plenty more we can add, but need to start somewhere. Rob Clark (3): drmtest: Add DRIVER_MSM support msm: Add helper library msm: Add submit ioctl tests .../igt-gpu-tools/igt-gpu-tools-docs.xml | 1 + l

[Freedreno] [PATCH igt v4 1/3] drmtest: Add DRIVER_MSM support

2021-08-31 Thread Rob Clark
From: Rob Clark Signed-off-by: Rob Clark Reviewed-by: Petri Latvala --- lib/drmtest.c | 3 +++ lib/drmtest.h | 1 + 2 files changed, 4 insertions(+) diff --git a/lib/drmtest.c b/lib/drmtest.c index e1f9b115..29cb3f4c 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -179,6 +179,7 @@ static co

[Freedreno] [PATCH] drm/msm: remove unneeded variable

2021-08-31 Thread cgel . zte
From: Chi Minghao Fix the following coccicheck REVIEW: ./drivers/gpu/drm/msm/edp/edp_ctrl.c:1245:5-8 Unneeded variable Reported-by: Zeal Robot Signed-off-by: Chi Minghao --- drivers/gpu/drm/msm/edp/edp_ctrl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/d