Skip to content

Commit fa039b9

Browse files
jnikulajlahtine-intel
authored andcommitted
drm/i915: fix accidental static variable use
It's supposed to be just a const pointer. Fixes: 074c77e ("drm/i915/tgl: Gen-12 display loses Yf tiling and legacy CCS support") Cc: Ville Syrjälä <[email protected]> Cc: Dhinakaran Pandiyan <[email protected]> Cc: Lucas De Marchi <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 48ea97f) Signed-off-by: Joonas Lahtinen <[email protected]>
1 parent e367925 commit fa039b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2885,7 +2885,7 @@ struct intel_plane *
28852885
skl_universal_plane_create(struct drm_i915_private *dev_priv,
28862886
enum pipe pipe, enum plane_id plane_id)
28872887
{
2888-
static const struct drm_plane_funcs *plane_funcs;
2888+
const struct drm_plane_funcs *plane_funcs;
28892889
struct intel_plane *plane;
28902890
enum drm_plane_type plane_type;
28912891
unsigned int supported_rotations;

0 commit comments

Comments
 (0)