Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • 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
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository

Switch branch/tag
  • xcap-capability-linux
  • drivers
  • gpu
  • drm
  • i915
  • intel_dp.c
Find file BlameHistoryPermalink
  • Daniel Vetter's avatar
    drm/i915: don't chnage the original mode in dp_mode_fixup · cb1793ce
    Daniel Vetter authored Jun 04, 2012
    
    
    We should only frob adjusted_mode. This is in preparation of
    a massive patch by Laurent Pinchart to make the mode argument
    const.
    
    After the previous two prep patches the only thing left is to clean up
    things a bit. I've opted to pass in an adjust_mode param to
    dp_adjust_dithering because that way we can be sure to avoid
    duplicating this logic between mode_valid and mode_fixup - which was
    the cause behind a dp link bw calculation bug in the past.
    
    Also mark the mode argument of pch_panel_fitting const.
    
    v2: Split up the mode->clock => adjusted_mode->clock change,
    as suggested by Chris Wilson.
    Reported-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
    Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    cb1793ce

Replace intel_dp.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.