Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2dea2e29 authored by John Kacur's avatar John Kacur Committed by Dave Airlie
Browse files

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: default avatarJohn Kacur <jkacur@redhat.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent cdb6e375
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment