Re: [PATCH v2 0/2] Exynos850 GPU support

Thomas Turner <[email protected]>
Newsgroups org.kernel.vger.linux-samsung-soc,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Hi,

 > Can you please tell us a bit about how you tested this patch, and on
 > which board? As DPU is not currently enabled on Exynos850 SoC, I'm not
 > sure how exactly GPU can be useful. If you have a use case or a
 > testing procedure we can run on the E850-96 board, please share.

I tested this patch by running phosh (PostMarketOS) on the Samsung 
Galaxy A21s device, in my tests logs indicated that the GPU hardware was 
probed successfully and things were working. As for DPU, I simply 
enabled CONFIG_DRM_SIMPLEDRM and that was enough since the bootloader 
configured the related DPU bits. Since I don't own the e850-96 dev board 
myself a testing procedure you could do is.

1) Set status="okay"
2) Enable CONFIG_DRM_SIMPLEDRM and CONFIG_DRM_PANFROST
3) Try and boot some form of GUI and compare logs from dmesg with mine.
4) NOTE: we set up fixed regulators during our testing with some support 
from a secondary bootloader, however it should work with dummy regulators.

 > Would be nice to have a more detailed commit message overall. In
 > addition to the above, it probably makes sense to also discuss current
 > limitations. E.g. thermal, PD, and DVFS, which are enabled in the
 > downstream kernel's GPU node [1].

Yes, I have updated the commit message in v2 of the patch series to be 
more descriptive about what does and does not work, I hope that level of 
detail is sufficient but feel free to point out any sections I may have 
missed.

 > How? The node is disabled.

Not sure if the e850-96 device supports this functionality so for the 
mean time I left it as "disabled", but would be interesting to see if 
Sam or Alexey could test it too.

 > Also, you need to version your patches correctly. This is v2. You also
 > need changelog under ---.

Again, sorry for not including this I am still getting my head around 
the process, but in the v3 of the patch series I will make sure to 
include it.

 > You almost never use this parameter.
 > git format patch; scripts/getmaintainers; git send email

Got it thanks, Sam has been helping me with some of the kernel etiquette 
and procedures in a private thread so hopefully the next patch set 
should be lots clearer :).


One other thing I wanted to ask, do you think it would be best to 
include the logs about the GPU probing in the commit message of v3?

In the next patch version I am going to reword the commit msg to be more 
precise, i.e Add nodes for GPU. Can add more information about how I 
tested it and possibly logs from dmesg.

Cheers,
Tom.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.