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
  • linux
  • drivers
  • gpu
  • drm
  • drm_debugfs.c
Find file BlameHistoryPermalink
  • Ville Syrjälä's avatar
    drm/edid: Handle EDID 1.4 range descriptor h/vfreq offsets · c7943bb3
    Ville Syrjälä authored Aug 27, 2022
    EDID 1.4 introduced some extra flags in the range
    descriptor to support min/max h/vfreq >= 255. Consult them
    to correctly parse the vfreq limits.
    
    Note that some combinations of the flags are documented
    as "reserved" (as are some other values in the descriptor)
    but explicitly checking for those doesn't seem particularly
    worthwile since we end up with bogus results whether we
    decode them or not.
    
    v2: Increase the storage to u16 to make it work (Jani)
        Note the "reserved" values situation (Jani)
    v3: Document the EDID version number in the defines
        Drop some bogus (u8) casts
    
    Cc: stable@vger.kernel.org
    Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/6519
    References: https://gitlab.freedesktop.org/drm/intel/-/issues/6484
    
    
    Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
    Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20220826213501.31490-2-ville.syrjala@linux.intel.com
    
    
    Reviewed-by: default avatarManasi Navare <manasi.d.navare@intel.com>
    c7943bb3
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7