/*
 * Copyright (c) 2016 Intel Corporation
 *
 * Permission to use, copy, modify, distribute, and sell this software and its
 * documentation for any purpose is hereby granted without fee, provided that
 * the above copyright notice appear in all copies and that both that copyright
 * notice and this permission notice appear in supporting documentation, and
 * that the name of the copyright holders not be used in advertising or
 * publicity pertaining to distribution of the software without specific,
 * written prior permission.  The copyright holders make no representations
 * about the suitability of this software for any purpose.  It is provided "as
 * is" without express or implied warranty.
 *
 * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
 * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
 * OF THIS SOFTWARE.
 */

#ifndef __DRM_KMS_HELPER_H__
#define __DRM_KMS_HELPER_H__

#include <drm/drmP.h>

void drm_helper_move_panel_connectors_to_head(struct drm_device *);

void drm_helper_mode_fill_fb_struct(struct drm_framebuffer *fb,
				    const struct drm_mode_fb_cmd2 *mode_cmd);

int drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc,
		  const struct drm_crtc_funcs *funcs);

#endif
 href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=fff4b87e594ad3d2e4f51e8d3d86a6f9d3d8b654'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/tools/lib/bpf/libbpf.h?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/tools/lib/bpf/libbpf.h?h=nds-private-remove&amp;id=fff4b87e594ad3d2e4f51e8d3d86a6f9d3d8b654'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/tools/lib/bpf/libbpf.h?h=nds-private-remove&amp;id=fff4b87e594ad3d2e4f51e8d3d86a6f9d3d8b654'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/tools/lib/bpf/libbpf.h?h=nds-private-remove&amp;id=fff4b87e594ad3d2e4f51e8d3d86a6f9d3d8b654'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/tools/lib/bpf/libbpf.h'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='fff4b87e594ad3d2e4f51e8d3d86a6f9d3d8b654'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?h=nds-private-remove&amp;id=fff4b87e594ad3d2e4f51e8d3d86a6f9d3d8b654'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools?h=nds-private-remove&amp;id=fff4b87e594ad3d2e4f51e8d3d86a6f9d3d8b654'>tools</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/lib?h=nds-private-remove&amp;id=fff4b87e594ad3d2e4f51e8d3d86a6f9d3d8b654'>lib</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/lib/bpf?h=nds-private-remove&amp;id=fff4b87e594ad3d2e4f51e8d3d86a6f9d3d8b654'>bpf</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/lib/bpf/libbpf.h?h=nds-private-remove&amp;id=fff4b87e594ad3d2e4f51e8d3d86a6f9d3d8b654'>libbpf.h</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/tools/lib/bpf/libbpf.h?h=nds-private-remove&amp;id=fff4b87e594ad3d2e4f51e8d3d86a6f9d3d8b654&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>