diff options
author | Jani Nikula <jani.nikula@intel.com> | 2016-10-04 12:29:17 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-10-04 13:49:38 +0300 |
commit | bb7791bd2bd424938edb269a17ab154c0d341327 (patch) | |
tree | a1f56fc9a745dfc6808aa14ecdbbca2da0016fbf /drivers/gpu | |
parent | 9480dbf074417ef8b06ba3923b8648f49c85265b (diff) | |
download | op-kernel-dev-bb7791bd2bd424938edb269a17ab154c0d341327.zip op-kernel-dev-bb7791bd2bd424938edb269a17ab154c0d341327.tar.gz |
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: 7f60e200e254 ("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: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1475573357-30562-1-git-send-email-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 425544b..7f1748a 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -3966,7 +3966,7 @@ pipes_modified(struct drm_atomic_state *state) return ret; } -int +static int skl_ddb_add_affected_planes(struct intel_crtc_state *cstate) { struct drm_atomic_state *state = cstate->base.state; |