drm: Split out the mm declarations in a separate header. Add atomic operations.