diff options
author | Rob Clark <robdclark@chromium.org> | 2022-02-01 08:16:11 -0800 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2022-02-20 09:44:43 -0800 |
commit | f98f915b7e0f83fd108bcf716c77f316ee27f484 (patch) | |
tree | 8d10f377cde4b089e97b259e1c366f038dbc45a0 /drivers/gpu/drm/msm/msm_gpu.h | |
parent | 1718096146cb337b361b0665274fd4d9b197d895 (diff) | |
download | lwn-f98f915b7e0f83fd108bcf716c77f316ee27f484.tar.gz lwn-f98f915b7e0f83fd108bcf716c77f316ee27f484.zip |
drm/msm/gpu: Add ctx to get_param()
Prep work for next patch.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Link: https://lore.kernel.org/r/20220201161618.778455-2-robdclark@gmail.com
Reviewed-by: Emma Anholt <emma@anholt.net>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gpu.h')
-rw-r--r-- | drivers/gpu/drm/msm/msm_gpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_gpu.h b/drivers/gpu/drm/msm/msm_gpu.h index 92aa1e9196c6..ba8407231340 100644 --- a/drivers/gpu/drm/msm/msm_gpu.h +++ b/drivers/gpu/drm/msm/msm_gpu.h @@ -42,7 +42,8 @@ struct msm_gpu_config { * + z180_gpu */ struct msm_gpu_funcs { - int (*get_param)(struct msm_gpu *gpu, uint32_t param, uint64_t *value); + int (*get_param)(struct msm_gpu *gpu, struct msm_file_private *ctx, + uint32_t param, uint64_t *value); int (*hw_init)(struct msm_gpu *gpu); int (*pm_suspend)(struct msm_gpu *gpu); int (*pm_resume)(struct msm_gpu *gpu); |