Commit bb7791bd authored by Jani Nikula's avatar Jani Nikula

drm/i915: make skl_ddb_add_affected_planes static

Fix sparse warning:

drivers/gpu/drm/i915/intel_pm.c:3970:1: warning: symbol
'skl_ddb_add_affected_planes' was not declared. Should it be static?

Fixes: 7f60e200 ("drm/i915/gen9: only add the planes actually affected by ddb changes")
Cc: Lyude <cpaul@redhat.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1475573357-30562-1-git-send-email-jani.nikula@intel.com
parent 9480dbf0
...@@ -3966,7 +3966,7 @@ pipes_modified(struct drm_atomic_state *state) ...@@ -3966,7 +3966,7 @@ pipes_modified(struct drm_atomic_state *state)
return ret; return ret;
} }
int static int
skl_ddb_add_affected_planes(struct intel_crtc_state *cstate) skl_ddb_add_affected_planes(struct intel_crtc_state *cstate)
{ {
struct drm_atomic_state *state = cstate->base.state; struct drm_atomic_state *state = cstate->base.state;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment