From 9cba01592b5b0aec595823c3062510ee08e2f8e1 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 26 Jan 2017 15:16:51 -0800 Subject: gpu: nvgpu: Prune clock gating list Prune from clock gating list the entries that target units that do not exist on gp106. Change-Id: I192219a24d8e67de7c1fc25276dfcccbe041a05f Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1294819 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: svccoveritychecker --- drivers/gpu/nvgpu/gp106/gp106_gating_reglist.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/gpu/nvgpu/gp106/gp106_gating_reglist.c b/drivers/gpu/nvgpu/gp106/gp106_gating_reglist.c index 29870d60..e2a7e013 100644 --- a/drivers/gpu/nvgpu/gp106/gp106_gating_reglist.c +++ b/drivers/gpu/nvgpu/gp106/gp106_gating_reglist.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -119,8 +119,6 @@ static const struct gating_desc gp106_slcg_gr[] = { {.addr = 0x00412a24, .prod = 0x00000000, .disable = 0x0000ffff}, {.addr = 0x00412c14, .prod = 0x00000000, .disable = 0x0001fffe}, {.addr = 0x00412e84, .prod = 0x00000000, .disable = 0x0001fffe}, - {.addr = 0x00412dac, .prod = 0x00000000, .disable = 0x0001fffe}, - {.addr = 0x00412e24, .prod = 0x00000000, .disable = 0x0000ffff}, {.addr = 0x00408814, .prod = 0x00000000, .disable = 0x0001fffe}, {.addr = 0x00408a84, .prod = 0x00000000, .disable = 0x0001fffe}, {.addr = 0x004089ac, .prod = 0x00000000, .disable = 0x0001fffe}, @@ -136,7 +134,6 @@ static const struct gating_desc gp106_slcg_ltc[] = { {.addr = 0x00156050, .prod = 0x00000000, .disable = 0xfffffffe}, {.addr = 0x0015655c, .prod = 0x00000000, .disable = 0xfffffffe}, {.addr = 0x0015675c, .prod = 0x00000000, .disable = 0xfffffffe}, - {.addr = 0x0015635c, .prod = 0x00000000, .disable = 0xfffffffe}, {.addr = 0x0017e050, .prod = 0x00000000, .disable = 0xfffffffe}, {.addr = 0x0017e35c, .prod = 0x00000000, .disable = 0xfffffffe}, }; @@ -267,12 +264,6 @@ static const struct gating_desc gp106_blcg_gr[] = { {.addr = 0x0041be28, .prod = 0x00008242, .disable = 0x00000000}, {.addr = 0x0041bfe8, .prod = 0x0000c444, .disable = 0x00000000}, {.addr = 0x0041bed0, .prod = 0x0000c444, .disable = 0x00000000}, - {.addr = 0x00412810, .prod = 0x0000c242, .disable = 0x00000000}, - {.addr = 0x00412a80, .prod = 0x0000c242, .disable = 0x00000000}, - {.addr = 0x004129a8, .prod = 0x0000c242, .disable = 0x00000000}, - {.addr = 0x00412c10, .prod = 0x0000c242, .disable = 0x00000000}, - {.addr = 0x00412e80, .prod = 0x0000c242, .disable = 0x00000000}, - {.addr = 0x00412da8, .prod = 0x0000c242, .disable = 0x00000000}, {.addr = 0x00408810, .prod = 0x0000c242, .disable = 0x00000000}, {.addr = 0x00408a80, .prod = 0x0000c242, .disable = 0x00000000}, {.addr = 0x004089a8, .prod = 0x0000c242, .disable = 0x00000000}, @@ -315,10 +306,6 @@ static const struct gating_desc gp106_blcg_xbar[] = { {.addr = 0x0013cbe0, .prod = 0x00000042, .disable = 0x00000000}, {.addr = 0x0013cc00, .prod = 0x00000042, .disable = 0x00000000}, {.addr = 0x0013cc20, .prod = 0x00000042, .disable = 0x00000000}, - {.addr = 0x0013cc40, .prod = 0x00000042, .disable = 0x00000000}, - {.addr = 0x0013cc60, .prod = 0x00000042, .disable = 0x00000000}, - {.addr = 0x0013cc80, .prod = 0x00000042, .disable = 0x00000000}, - {.addr = 0x0013cca0, .prod = 0x00000042, .disable = 0x00000000}, }; /* pg gr */ -- cgit v1.2.2