diff options
author | Dave Airlie <airlied@redhat.com> | 2016-09-06 12:50:14 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2016-09-13 10:26:40 +0200 |
commit | a52530a655438f03919d47f6edd11287efff47bb (patch) | |
tree | f9029640e162ee14df792ee1ce89bc12074f316c /include | |
parent | 3fe4107643ba029dd48e3d12ec9bc97d07112300 (diff) |
dix: Add dixPrivatesCreated helper function
This is a preparation patch for adding prime hw-cursor support.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/privates.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/privates.h b/include/privates.h index 7d1461cdb..a2bb1a43c 100644 --- a/include/privates.h +++ b/include/privates.h @@ -252,6 +252,9 @@ dixFreeScreenSpecificPrivates(ScreenPtr pScreen); extern void dixInitScreenSpecificPrivates(ScreenPtr pScreen); +/* is this private created - so hotplug can avoid crashing */ +Bool dixPrivatesCreated(DevPrivateType type); + extern _X_EXPORT void * _dixAllocateScreenObjectWithPrivates(ScreenPtr pScreen, unsigned size, |