summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/mdfld_output.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-07-03 15:59:01 +0300
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2020-08-19 16:48:09 +0300
commit172c1e8572809de8313e311614ff2baf6b936339 (patch)
tree4087387f444509f6abe8482dc11e273fd09180ee /drivers/gpu/drm/gma500/mdfld_output.h
parent9c6b876c91c067353ab30b81ad1486105bc79e08 (diff)
downloadlinux-172c1e8572809de8313e311614ff2baf6b936339.tar.xz
drm: gma500: Convert to GPIO descriptors
Finalize he conversion of GMA500 to use only GPIO descriptors. The GPIO look-up-table is associated with the device directly in the GMA500 Medfield chip driver since no explicit platform type device (such as in x86/platform/intel-mid) exists: the GMA500 probes directly from the PCI device. Apparently GPIOs 128 and 34 are used on all of these so just go ahead and register those for resetting the DSI pipes. Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200703125901.513476-1-linus.walleij@linaro.org
Diffstat (limited to 'drivers/gpu/drm/gma500/mdfld_output.h')
-rw-r--r--drivers/gpu/drm/gma500/mdfld_output.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/mdfld_output.h b/drivers/gpu/drm/gma500/mdfld_output.h
index 17a944d70add..37a516cc56be 100644
--- a/drivers/gpu/drm/gma500/mdfld_output.h
+++ b/drivers/gpu/drm/gma500/mdfld_output.h
@@ -54,7 +54,7 @@ struct panel_funcs {
const struct drm_encoder_helper_funcs *encoder_helper_funcs;
struct drm_display_mode * (*get_config_mode)(struct drm_device *);
int (*get_panel_info)(struct drm_device *, int, struct panel_info *);
- int (*reset)(int pipe);
+ int (*reset)(struct drm_device *, int);
void (*drv_ic_init)(struct mdfld_dsi_config *dsi_config, int pipe);
};