http://bugs.freedesktop.org/show_bug.cgi?id=25608

           Summary: [PATCH] Move upper-limit calculations outside while-loop
           Product: xorg
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: low
         Component: Driver/nouveau
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


Created an attachment (id=32020)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=32020)
Slight improvement in handling upper-boundary for DMA routines.

Attached is a small patch that moves the "line_count" upper limit calculation
outside the while loop in NVAccelUploadM2MF and NVAccelDownloadM2MF. Benefits
are (marginally) faster loops (less instructions, less branch-misses) and
slightly cleaner code (imho).


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to