summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/adreno/a3xx_gpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/msm/adreno/a3xx_gpu.c')
-rw-r--r--drivers/gpu/drm/msm/adreno/a3xx_gpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/adreno/a3xx_gpu.c b/drivers/gpu/drm/msm/adreno/a3xx_gpu.c
index 386993ae..a31360a 100644
--- a/drivers/gpu/drm/msm/adreno/a3xx_gpu.c
+++ b/drivers/gpu/drm/msm/adreno/a3xx_gpu.c
@@ -380,7 +380,7 @@ static const struct adreno_gpu_funcs funcs = {
};
struct msm_gpu *a3xx_gpu_init(struct drm_device *dev, struct adreno_gem *gem,
- struct workqueue_struct *wq)
+ struct workqueue_struct *wq, int reglog)
{
struct adreno_gpu *adreno_gpu = NULL;
struct msm_gpu *gpu;
@@ -413,6 +413,7 @@ struct msm_gpu *a3xx_gpu_init(struct drm_device *dev, struct adreno_gem *gem,
DBG("fast_rate=%u, slow_rate=%u, bus_freq=%u",
gpu->fast_rate, gpu->slow_rate, gpu->bus_freq);
+ adreno_reglog = reglog;
ret = adreno_gpu_init(dev, pdev, adreno_gpu,
&funcs, gem, wq, config->rev);
if (ret)