projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9480dbf
)
drm/i915: make skl_ddb_add_affected_planes static
author
Jani Nikula
<jani.nikula@intel.com>
Tue, 4 Oct 2016 09:29:17 +0000
(12:29 +0300)
committer
Jani Nikula
<jani.nikula@intel.com>
Tue, 4 Oct 2016 10:49:38 +0000
(13:49 +0300)
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
drivers/gpu/drm/i915/intel_pm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/intel_pm.c
b/drivers/gpu/drm/i915/intel_pm.c
index 425544b1f73322512afd562093fb7328224a45d2..7f1748a1e61476b9c07a476fb17de1ca52c668ea 100644
(file)
--- 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;