diff options
author | John Kacur <jkacur@redhat.com> | 2010-01-31 22:38:03 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-02-01 04:19:31 +0300 |
commit | 2dea2e29b9fad48c759aa406b5ea426bff4339af (patch) | |
tree | df7ef0a169d7bb96b326595affef6836e9f588d7 /drivers/gpu/drm/radeon/radeon_ttm.c | |
parent | cdb6e375c3c84558ed2c13c5461b22e8f7b7980e (diff) | |
download | linux-2dea2e29b9fad48c759aa406b5ea426bff4339af.tar.xz |
drm/kms/radeon/agp: Move the check of the aper_size after drm_acp_acquire and drm_agp_info
First call drm_agp_acquire to check if agp has been acquired.
Second call drm_agp_info to fill in the info data struct, including aper_size.
Finally do the check to see if the aper_size makes sense.
Signed-off-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_ttm.c')
0 files changed, 0 insertions, 0 deletions