aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/core
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-01-14 08:28:28 +1000
committerBen Skeggs <bskeggs@redhat.com>2013-11-08 15:40:17 +1000
commit7c856522069755ab9d163a24ac332cd3cb35fe30 (patch)
tree0cf21157dc9fc9ff6c0ad6a9d67928f85b069f08 /drivers/gpu/drm/nouveau/core/core
parentdrm/nouveau/volt: implement voltage control in core (diff)
downloadlinux-dev-7c856522069755ab9d163a24ac332cd3cb35fe30.tar.xz
linux-dev-7c856522069755ab9d163a24ac332cd3cb35fe30.zip
drm/nouveau/clk: implement power state and engine clock control in core
User control of this has been hard-coded as disabled for now. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/core')
-rw-r--r--drivers/gpu/drm/nouveau/core/core/option.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/nouveau/core/core/option.c b/drivers/gpu/drm/nouveau/core/core/option.c
index d42e72a87651..9f6fcc5f66c2 100644
--- a/drivers/gpu/drm/nouveau/core/core/option.c
+++ b/drivers/gpu/drm/nouveau/core/core/option.c
@@ -25,15 +25,6 @@
#include <core/option.h>
#include <core/debug.h>
-/* compares unterminated string 'str' with zero-terminated string 'cmp' */
-static inline int
-strncasecmpz(const char *str, const char *cmp, size_t len)
-{
- if (strlen(cmp) != len)
- return len;
- return strncasecmp(str, cmp, len);
-}
-
const char *
nouveau_stropt(const char *optstr, const char *opt, int *arglen)
{