• Alyssa Rosenzweig's avatar
    panfrost: Add tool to print supported texture formats · a8615016
    Alyssa Rosenzweig authored and Marge Bot's avatar Marge Bot committed
    
    
    While all Panfrost-supported Mali GPUs support all the compressed texture
    formats architecturally, the system integrator decides which formats will
    actually be wired up in the production system-on-chip. In the past there may
    have been legal considerations, I'm neither a lawyer nor a system integrator so
    couldn't say.
    
    It's useful for users to know which compressed texture formats are supported by
    their hardware, to understand its performance characteristics (and perhaps to
    buy systems that support their needs, especially if they need BCn formats which
    are omitted in many Mali implementations).
    
    To help with that, this commit adds a small standalone tool that prints which
    formats are supported. It is tested so far on Mali-T860 and Mali-G57.
    
    Signed-off-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa@collabora.com>
    Tested-by: default avatarChris Healy <healych@amazon.com>
    Part-of: <!20086>
    a8615016