int drm_addmap (struct inode * inode, struct file * filp, unsigned int cmd, unsigned long arg);
\param inode device inode. \param filp file pointer. \param cmd command. \param arg pointer to a drm_map structure. \return zero on success or a negative value on error.
Adjusts the memory offset to its absolute value according to the mapping type. Adds the map to the map list drm_device::maplist. Adds MTRR's where applicable and if supported by the kernel.