modesetting: Make ms_crtc_on non-static.
I want to use this in present.c. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
f6853baeba
commit
f2171d0a20
|
@ -118,6 +118,8 @@ void ms_drm_abort(ScrnInfoPtr scrn,
|
||||||
Bool (*match)(void *data, void *match_data),
|
Bool (*match)(void *data, void *match_data),
|
||||||
void *match_data);
|
void *match_data);
|
||||||
|
|
||||||
|
Bool ms_crtc_on(xf86CrtcPtr crtc);
|
||||||
|
|
||||||
xf86CrtcPtr ms_dri2_crtc_covering_drawable(DrawablePtr pDraw);
|
xf86CrtcPtr ms_dri2_crtc_covering_drawable(DrawablePtr pDraw);
|
||||||
xf86CrtcPtr ms_covering_crtc(ScrnInfoPtr scrn, BoxPtr box,
|
xf86CrtcPtr ms_covering_crtc(ScrnInfoPtr scrn, BoxPtr box,
|
||||||
xf86CrtcPtr desired, BoxPtr crtc_box_ret);
|
xf86CrtcPtr desired, BoxPtr crtc_box_ret);
|
||||||
|
|
|
@ -88,7 +88,7 @@ static int ms_box_area(BoxPtr box)
|
||||||
return (int)(box->x2 - box->x1) * (int)(box->y2 - box->y1);
|
return (int)(box->x2 - box->x1) * (int)(box->y2 - box->y1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static Bool
|
Bool
|
||||||
ms_crtc_on(xf86CrtcPtr crtc)
|
ms_crtc_on(xf86CrtcPtr crtc)
|
||||||
{
|
{
|
||||||
drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
|
drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user