Commit cf13909a authored by Noralf Trønnes's avatar Noralf Trønnes

drm/fb-helper: Move out modeset config code

No functional changes, just moving code as-is and fixing includes.
Signed-off-by: default avatarNoralf Trønnes <noralf@tronnes.org>
Reviewed-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190608152657.36613-4-noralf@tronnes.org
parent aafa9e06
This diff is collapsed.
This diff is collapsed.
...@@ -18,8 +18,6 @@ struct drm_gem_object; ...@@ -18,8 +18,6 @@ struct drm_gem_object;
struct drm_minor; struct drm_minor;
struct module; struct module;
#define DRM_CLIENT_MAX_CLONED_CONNECTORS 8
/** /**
* struct drm_client_funcs - DRM client callbacks * struct drm_client_funcs - DRM client callbacks
*/ */
...@@ -154,8 +152,7 @@ void drm_client_framebuffer_delete(struct drm_client_buffer *buffer); ...@@ -154,8 +152,7 @@ void drm_client_framebuffer_delete(struct drm_client_buffer *buffer);
int drm_client_modeset_create(struct drm_client_dev *client); int drm_client_modeset_create(struct drm_client_dev *client);
void drm_client_modeset_free(struct drm_client_dev *client); void drm_client_modeset_free(struct drm_client_dev *client);
void drm_client_modeset_release(struct drm_client_dev *client); int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width, unsigned int height);
struct drm_mode_set *drm_client_find_modeset(struct drm_client_dev *client, struct drm_crtc *crtc);
bool drm_client_panel_rotation(struct drm_mode_set *modeset, unsigned int *rotation); bool drm_client_panel_rotation(struct drm_mode_set *modeset, unsigned int *rotation);
int drm_client_modeset_commit_force(struct drm_client_dev *client); int drm_client_modeset_commit_force(struct drm_client_dev *client);
int drm_client_modeset_commit(struct drm_client_dev *client); int drm_client_modeset_commit(struct drm_client_dev *client);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment