Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
b3a80a22
Commit
b3a80a22
authored
Jan 02, 2006
by
Dave Airlie
Committed by
Dave Airlie
Jan 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm: update lock flags from userspace
Signed-off-by:
Dave Airlie
<
airlied@linux.ie
>
parent
0d6aa60b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/char/drm/drm.h
drivers/char/drm/drm.h
+2
-2
No files found.
drivers/char/drm/drm.h
View file @
b3a80a22
...
@@ -90,8 +90,8 @@
...
@@ -90,8 +90,8 @@
#define DRM_MAX_ORDER 22
/**< Up to 2^22 bytes = 4MB */
#define DRM_MAX_ORDER 22
/**< Up to 2^22 bytes = 4MB */
#define DRM_RAM_PERCENT 10
/**< How much system ram can we lock? */
#define DRM_RAM_PERCENT 10
/**< How much system ram can we lock? */
#define _DRM_LOCK_HELD 0x80000000
/**< Hardware lock is held */
#define _DRM_LOCK_HELD 0x80000000
U
/**< Hardware lock is held */
#define _DRM_LOCK_CONT 0x40000000
/**< Hardware lock is contended */
#define _DRM_LOCK_CONT 0x40000000
U
/**< Hardware lock is contended */
#define _DRM_LOCK_IS_HELD(lock) ((lock) & _DRM_LOCK_HELD)
#define _DRM_LOCK_IS_HELD(lock) ((lock) & _DRM_LOCK_HELD)
#define _DRM_LOCK_IS_CONT(lock) ((lock) & _DRM_LOCK_CONT)
#define _DRM_LOCK_IS_CONT(lock) ((lock) & _DRM_LOCK_CONT)
#define _DRM_LOCKING_CONTEXT(lock) ((lock) & ~(_DRM_LOCK_HELD|_DRM_LOCK_CONT))
#define _DRM_LOCKING_CONTEXT(lock) ((lock) & ~(_DRM_LOCK_HELD|_DRM_LOCK_CONT))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment