DRI2: Allow DDX to validate swap_limit changes
authorPauli Nieminen <ext-pauli.nieminen@nokia.com>
Mon, 1 Nov 2010 14:02:11 +0000 (16:02 +0200)
committerKeith Packard <keithp@keithp.com>
Wed, 21 Sep 2011 21:04:37 +0000 (14:04 -0700)
commit871d65790ec2ac0fd6d5105c2d599f63a86fcaf1
treef0cd2e5fa5e3ea8ce163b90b1036ff4453acdcac
parentb435e2aac1b3fbb97d0275de73a1e36d16f170c0
DRI2: Allow DDX to validate swap_limit changes

DDX can now implement validation for swap_limit changes to prevent
configurations that are not support in driver.

Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
CC: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Reviewed-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
hw/xfree86/dri2/dri2.c
hw/xfree86/dri2/dri2.h