-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid Argument under xilinx zcu102 platform #8
Comments
Thanks. this patch also worked for my case. |
creq.bpp = 16 and drmModeAddFB(fd, dev->width, dev->height, 16, 16, dev->stride also works for me (in rk3399pro system) |
谢谢。该补丁也适用于我的情况。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am new to DRM programming, this is an excellent example. Unfortunately, I could not get it work under zcu102 platform.
here
ret
is -22, it means "invalid argument".I spent some time to investigate, by comparing it with
modetest.c
in libdrm, I modify the following lines, it works. But I don't know exactly why.The text was updated successfully, but these errors were encountered: