drm: Fix a randr bug
authorFrançois Tigeot <ftigeot@wolfpond.org>
Thu, 18 Sep 2014 18:15:24 +0000 (20:15 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Thu, 18 Sep 2014 19:30:26 +0000 (21:30 +0200)
commit07f3367ee7d642d76029c7c1c36e9d9f725b33b0
tree68a8a7ff9203f6f781c83756ecb7b4ce9712534d
parentb24d10b1d6e954843e04fac4a415adaa07cbe196
drm: Fix a randr bug

* Sync drm_linux_list_sort.c with FreeBSD, fixing a qsort_r() bug

* Array elements were not properly sorted, resulting in infinite
  loops in KDE

* FreeBSD revision: 258549

Pointed-out-by: dumbbell
sys/dev/drm/drm_linux_list_sort.c