diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-12-03 16:38:19 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-12-08 09:33:41 +1000 |
commit | 93225b0d7bc030f4a93165347a65893685822d70 (patch) | |
tree | 86e3dda44c3b327f91e2fcc2355f35639a4aab53 /drivers/gpu/drm/drm_crtc.c | |
parent | 541cc966915b6756e54c20eebe60ae957afdb537 (diff) |
drm/radeon/kms: forbid big bo allocation (fdo 31708) v3
Forbid allocating buffer bigger than visible VRAM or GTT, also
properly set lpfn field.
v2 - use max macro
- silence warning
v3 - don't explicitly set range limit
- use min macro
Cc: stable <stable@kernel.org>
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_crtc.c')
0 files changed, 0 insertions, 0 deletions