backports: use old shrinkers API on old kernels
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 6 Jun 2013 11:56:49 +0000 (13:56 +0200)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Thu, 13 Jun 2013 18:22:57 +0000 (11:22 -0700)
commite6f7db937491bc1a7cc2b9c33c92fc3e0beb8c38
tree1234dd23e74f66ae8311114683ca0c99b34f95c7
parent2ce5c22448bb45998318267c00b5d6ef9cff3170
backports: use old shrinkers API on old kernels

The shrinkers API was changed in new kernel versions. This patch makes
the drm drivers use the old version on older kernel versions.

This backports the following commit from mainline kernel:
commit 1c1df1f6646854cca15fede54ec475b0e9f6a162
Author: Dave Chinner <dchinner@redhat.com>
Date:   Thu Jun 6 10:40:41 2013 +1000

    drivers: convert shrinkers to new count/scan API

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
patches/collateral-evolutions/drm/14-shrinkers-api/drivers_gpu_drm_i915.patch [new file with mode: 0644]
patches/collateral-evolutions/drm/14-shrinkers-api/drivers_gpu_drm_ttm.patch [new file with mode: 0644]