Skip to content

Commit 62b6e89

Browse files
jnikulajlahtine-intel
authored andcommitted
drm/i915/params: fix i915.fake_lmem_start module param sysfs permissions
fake_lmem_start does not need to be mutable via module param sysfs. It's only used during driver probe. Fixes: 1629224 ("drm/i915/lmem: add the fake lmem region") Cc: Matthew Auld <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: Chris Wilson <[email protected]> Reviewed-by: Rodrigo Vivi <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit f322e85) Signed-off-by: Joonas Lahtinen <[email protected]>
1 parent ea2b383 commit 62b6e89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/i915_params.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ i915_param_named(enable_gvt, bool, 0400,
173173
#endif
174174

175175
#if IS_ENABLED(CONFIG_DRM_I915_UNSTABLE_FAKE_LMEM)
176-
i915_param_named_unsafe(fake_lmem_start, ulong, 0600,
176+
i915_param_named_unsafe(fake_lmem_start, ulong, 0400,
177177
"Fake LMEM start offset (default: 0)");
178178
#endif
179179

0 commit comments

Comments
 (0)