Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • include
  • uapi
  • drm
  • amdgpu_drm.h
Find file BlameHistoryPermalink
  • Alex Deucher's avatar
    drm/amdgpu: add INFO ioctl support for querying video caps (v4) · f35e9bdb
    Alex Deucher authored Jan 07, 2021
    We currently hardcode these in mesa, but querying them from
    the kernel makes more sense since there may be board specific
    limitations that the kernel driver is better suited to
    determining.
    
    Userpace patches that use this interface:
    https://gitlab.freedesktop.org/leoliu/drm/-/commits/info_video_caps
    https://gitlab.freedesktop.org/leoliu/mesa/-/commits/info_video_caps
    
    
    
    v2: reorder the codecs to better align with mesa
    v3: add max_pixels_per_frame to handle the portrait case, squash in
        memory leak fix
    v4: drop extra break
    
    Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
    Reviewed-by: Leo Liu <leo.liu@amd.com> (v2)
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    f35e9bdb
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7