Skip to content
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

Merged
merged 8 commits into from
Jul 8, 2024
Merged

Mainline BE #31

merged 8 commits into from
Jul 8, 2024

Commits on Jul 8, 2024

  1. frontend: Replace getOutputSize with fixOutputSize

    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]>
    naushir committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    8784e8a View commit details
    Browse the repository at this point in the history
  2. build: Add '-Wno-address-of-packed-member' to the compiler args

    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]>
    naushir committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    4fa653b View commit details
    Browse the repository at this point in the history
  3. libpisp: Update headers to mainline kernel version

    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]>
    Jacopo Mondi authored and naushir committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    697bca8 View commit details
    Browse the repository at this point in the history
  4. libpisp: Use uppercase identifiers

    The mainline header now uses uppercase identifiers for the image
    format macros. Adjust them in libpisp code.
    
    Signed-off-by: Jacopo Mondi <[email protected]>
    Jacopo Mondi authored and naushir committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    43da80e View commit details
    Browse the repository at this point in the history
  5. libpisp: Include <cstdint> explicitly

    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]>
    Jacopo Mondi authored and naushir committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    a176cf7 View commit details
    Browse the repository at this point in the history
  6. libpisp: pisp_utils: Use 'abs()' from STL

    The 'abs()' symbol is undefined. Use the implementation from the
    C++ STL.
    
    Signed-off-by: Jacopo Mondi <[email protected]>
    Jacopo Mondi authored and naushir committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    e05ff99 View commit details
    Browse the repository at this point in the history
  7. libpisp: Remove pisp_types.h

    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]>
    Jacopo Mondi authored and naushir committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    a640705 View commit details
    Browse the repository at this point in the history
  8. libpisp: backend_debug: Use unsigned int

    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]>
    Jacopo Mondi authored and naushir committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    0a0d90b View commit details
    Browse the repository at this point in the history