drm/radeon: move IB pool to 1MB offset
Even GPUs can have a null pointer dereference, so move the IB pool to another offset to catch those. Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Jerome Glisse <jglisse@redhat.com>
This commit is contained in:
parent
96a5844f90
commit
ca19f21ece
3 changed files with 5 additions and 4 deletions
|
@ -123,6 +123,7 @@ extern int radeon_lockup_timeout;
|
|||
#define CAYMAN_RING_TYPE_CP2_INDEX 2
|
||||
|
||||
/* hardcode those limit for now */
|
||||
#define RADEON_VA_IB_OFFSET (1 << 20)
|
||||
#define RADEON_VA_RESERVED_SIZE (8 << 20)
|
||||
#define RADEON_IB_VM_MAX_SIZE (64 << 10)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue