drm/fb-helper: Move out modeset config code
No functional changes, just moving code as-is and fixing includes. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20190608152657.36613-4-noralf@tronnes.org
This commit is contained in:
@@ -18,8 +18,6 @@ struct drm_gem_object;
|
||||
struct drm_minor;
|
||||
struct module;
|
||||
|
||||
#define DRM_CLIENT_MAX_CLONED_CONNECTORS 8
|
||||
|
||||
/**
|
||||
* struct drm_client_funcs - DRM client callbacks
|
||||
*/
|
||||
@@ -154,8 +152,7 @@ void drm_client_framebuffer_delete(struct drm_client_buffer *buffer);
|
||||
|
||||
int drm_client_modeset_create(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);
|
||||
struct drm_mode_set *drm_client_find_modeset(struct drm_client_dev *client, struct drm_crtc *crtc);
|
||||
int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width, unsigned int height);
|
||||
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(struct drm_client_dev *client);
|
||||
|
Reference in New Issue
Block a user