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
  • i915_sysfs.c
Find file BlameHistoryPermalink
  • Ben Widawsky's avatar
    drm/i915: rc6 residency (fix the fix) · a85d4bcb
    Ben Widawsky authored Apr 20, 2012
    Chris' fix for my 32b breakage was incorrect. do_div returns a
    remainder. Go back to a divide macro which is more 32b friendly.
    
    Tested on x86-64.
    
    This has only been compile tested on 32b systems.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48756
    
    
    Cc: Chris Wilson <chris@chris-wilson.co.uk>
    Sincere-apologies: Chris Wilson <chris@chris-wilson.co.uk>
    Signed-off-by: default avatarBen Widawsky <benjamin.widawsky@intel.com>
    [danvet: fixup 32bit compile-fail.]
    Signed-Off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    a85d4bcb