rhgndf / ms912x

MacroSilicon USB to VGA/HDMI adapter (534d:6021) Linux DRM driver
GNU General Public License v2.0
42 stars 8 forks source link

What is "vaddr" on line 208 of ms912x_transfer.c in 5.10 branch? #14

Open thenightterorx opened 8 months ago

thenightterorx commented 8 months ago

I am trying to see if the 5.10 branch can work, but it only compiles when I set vaddr to an int or something, otherwise "vaddr undeclared" error. Of course, the driver crashes whenever I try to use it (it will connect and show up as /dev/fb1, but writing anything to it causes the system to crash and idk where logs would be). Is it supposed to be declared as something and its a typo? I don't know C

rhgndf commented 8 months ago

It is indeed a mistake. I have added vaddr in.

thenightterorx commented 8 months ago

It is indeed a mistake. I have added vaddr in.

ok now I was able to copy the error into a text file error.log

This is what the display looks like 20240128_070700