projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/vc4: hdmi: Add a spinlock to protect register access
[linux-2.6-microblaze.git]
/
drivers
/
gpu
/
drm
/
vc4
/
vc4_hdmi.h
diff --git
a/drivers/gpu/drm/vc4/vc4_hdmi.h
b/drivers/gpu/drm/vc4/vc4_hdmi.h
index
33e9f66
..
006142f
100644
(file)
--- a/
drivers/gpu/drm/vc4/vc4_hdmi.h
+++ b/
drivers/gpu/drm/vc4/vc4_hdmi.h
@@
-178,6
+178,11
@@
struct vc4_hdmi {
struct debugfs_regset32 hdmi_regset;
struct debugfs_regset32 hd_regset;
+
+ /**
+ * @hw_lock: Spinlock protecting device register access.
+ */
+ spinlock_t hw_lock;
};
static inline struct vc4_hdmi *