Skip to content

Commit 5be4fa9

Browse files
LuizOt31rodrigovivi
authored andcommitted
drm/i915/display: Remove outdated struct_mutex comments
The struct_mutex will be removed from the DRM subsystem, as it was a legacy BKL that was only used by i915 driver. After review, it was concluded that its usage was no longer necessary This patch update a comment about struct_mutex in i915/display, in order to prevent future misunderstandings. * intel_fbc.c: Removed the statement that intel_fbc->lock is the inner lock when overlapping with struct_mutex, since struct_mutex is no longer used anywhere in the driver. Signed-off-by: Luiz Otavio Mello <[email protected]> Reviewed-by: Rodrigo Vivi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rodrigo Vivi <[email protected]>
1 parent 24af523 commit 5be4fa9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

drivers/gpu/drm/i915/display/intel_fbc.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,7 @@ struct intel_fbc {
9898
struct intel_display *display;
9999
const struct intel_fbc_funcs *funcs;
100100

101-
/*
102-
* This is always the inner lock when overlapping with
103-
* struct_mutex and it's the outer lock when overlapping
104-
* with stolen_lock.
105-
*/
101+
/* This is always the outer lock when overlapping with stolen_lock */
106102
struct mutex lock;
107103
unsigned int busy_bits;
108104

0 commit comments

Comments
 (0)