Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux

Pull drm fix from Dave Airlie:
"Just a quick fix that a few people have reported, be nice to have in
asap"

The drm tree seems to be very confused about 64-bit divides. Here it
uses a slow 64-by-64 bit divide to divide by a small constant. Oh well.
Doesn't look performance-critical, just stupid.

* 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
drm/radeon: fix 64 bit divide in SI spm code

+1 -1
+1 -1
drivers/gpu/drm/radeon/si_dpm.c
··· 1767 1767 s64 temperature, t_slope, t_intercept, av, bv, t_ref; 1768 1768 s64 tmp; 1769 1769 1770 - i_leakage = drm_int2fixp(ileakage) / 100; 1770 + i_leakage = div64_s64(drm_int2fixp(ileakage), 100); 1771 1771 vddc = div64_s64(drm_int2fixp(v), 1000); 1772 1772 temperature = div64_s64(drm_int2fixp(t), 1000); 1773 1773