-
Notifications
You must be signed in to change notification settings - Fork 6
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
Mainline BE #31
Mainline BE #31
Conversation
Taking over from #30 by using a compiler flag to disable the packed struct fields warning. |
Do you happen to know why 73ee880 wasn't needed for you ? |
No idea. I never got any compiler error messages in gcc/clang. Did you get one in your builds? |
Yes I do
with
|
Replace the existing getOutputSize() private function with an equivalent helper that fixes the config structure in-place as there is only ever a single caller for it. Signed-off-by: Naushir Patuck <[email protected]>
This is needed for when we start using the UAPI kernel headers which use "__attribute__((packed))" to force structure packing as required by the kernel. The compiler complains about taking a possibly unaligned address of a packed structure even though the structure has been hand packed. Signed-off-by: Naushir Patuck <[email protected]>
Update the pisp_be_config.h and pisp_common.h headers from v11 mainline patch series at: https://lore.kernel.org/all/[email protected]/ Plus additional fixes on top sent at: https://lore.kernel.org/linux-media/[email protected]/ Signed-off-by: Jacopo Mondi <[email protected]>
The mainline header now uses uppercase identifiers for the image format macros. Adjust them in libpisp code. Signed-off-by: Jacopo Mondi <[email protected]>
Now that pisp_common.h doesn't include pips_types.h (which will be removed) the single files using C standard int types should include the header explicitly. Signed-off-by: Jacopo Mondi <[email protected]>
The 'abs()' symbol is undefined. Use the implementation from the C++ STL. Signed-off-by: Jacopo Mondi <[email protected]>
The pips_types.h header has been absorbed in pisp_common.h by the mainline driver version. Drop it from libpisp as well. Signed-off-by: Jacopo Mondi <[email protected]>
The mainline version of pisp_be_config.h header defines the 'num_tiles' member of 'struct pisp_be_tiles_config' as an unsigned 32-bit value. Use an unsigned integer as loop variable to avoid the following compilation error: error: comparison of integer expressions of different signedness Signed-off-by: Jacopo Mondi <[email protected]>
No description provided.