diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-11 11:34:33 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-12-18 11:17:53 +1000 |
commit | 24986ee06929a8de3a5b4722ccadf0b85c175264 (patch) | |
tree | 96baab74b307b9566db0f493dc63de0b031ad6c2 /include/drm | |
parent | 5ec467a80301fccb21eaf4bcc04cd0f4536a30d6 (diff) | |
download | linux-stable-24986ee06929a8de3a5b4722ccadf0b85c175264.tar.gz linux-stable-24986ee06929a8de3a5b4722ccadf0b85c175264.tar.bz2 linux-stable-24986ee06929a8de3a5b4722ccadf0b85c175264.zip |
drm: kill DRIVER_REQUIRE_AGP
Only the two intel drivers need this and they can easily check for
working agp support in their driver ->load callbacks.
This is the only reason why agp initialization could fail, so allows
us to rip out a bit of error handling code in the next patch.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drmP.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index de86cce1e074..eef421bb7b95 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -137,7 +137,6 @@ int drm_err(const char *func, const char *format, ...); /* driver capabilities and requirements mask */ #define DRIVER_USE_AGP 0x1 -#define DRIVER_REQUIRE_AGP 0x2 #define DRIVER_PCI_DMA 0x8 #define DRIVER_SG 0x10 #define DRIVER_HAVE_DMA 0x20 |