This change adds a check to avoid hw-fences creation until
the fence controller is ready.
Change-Id: I613c19d9dfd8836f8ded6bcb0162bef647df7bc3
Signed-off-by: Ingrid Gallardo <quic_ingridg@quicinc.com>
Populate the payload size for the ctrl, rx and tx queues
that communicate with the fence controller.
Change-Id: Idc7dafcccd6ea16821e4f595bdab7395a5e0745b
Signed-off-by: Ingrid Gallardo <quic_ingridg@quicinc.com>
hw_fence driver is not required for taro variants.
Since the Display SI 3.0 is shared with taro dev SI variant,
avoid compiling hw_fence as dlkm for taro target.
Change-Id: I84637f2546fd0818d956880fbc1bb86a30a7c916
Signed-off-by: Ingrid Gallardo <quic_ingridg@quicinc.com>
This change adds support for the hw-fence driver that initialize, expose
and manage the interfaces for the hw-fences, which are the synchronization
primitives to allow the hardware to hardware signalization of the fences
for the frame buffers shared between gpu and display hw-cores.
Change-Id: If2313585d5a9f3ac90e16aad3464600641a6fa04
Signed-off-by: Ingrid Gallardo <quic_ingridg@quicinc.com>
Sync fence driver setup only compiles if the CONFIG flag for
sync driver is set, however, this requires config files of the
parent folder to be included, which currently is not happening.
Resolve this problem by including the parent mm-drivers
config files.
Change-Id: I812612b71003ed007d60c046dcef5bcbe09f6e7c
Signed-off-by: Ingrid Gallardo <quic_ingridg@quicinc.com>
This change adds an api to check if a given speculative
fence is bound. If fence is not bound, it will wait for the
speculative fence ioctl to bind the fence, or else timeout.
Change-Id: I9a86d09df410e89137264be47763ae39f06eea2b
Signed-off-by: Ingrid Gallardo <quic_ingridg@quicinc.com>
This change acquires fence_lock to serialize the enable_sw
signalling operation on dma_fence_array. It bails out
safely if the bind operation is called twice on the spec
fence. The error level for bind failure with invalid user fd
is changed to warning as this case can be treated non fatal.
Change-Id: I688cbc84ba3cfb49c54de9b5e1bf8a9ec9d8da3a
Signed-off-by: Narendra Muppalla <quic_nmuppall@quicinc.com>
sync_fence driver is maintained in kernel SI for all the taro variants.
Since the Display SI 3.0 is shared with taro dev SI variant,
avoid compiling sync_fence as dlkm for taro target.
Change-Id: Icc7990812256a42efad7a8945c08338f83ee0914
Signed-off-by: Jeykumar Sankaran <quic_jeykumar@quicinc.com>
msm_ext_display module symbols have to be exported before they can be
used by external kernel modules. This change updates the makefile
for the same.
Change-Id: I86dbc2d8bbc0a3a0d640172ef0aebc03723eecc8
Signed-off-by: Sandeep Gangadharaiah <quic_sandgang@quicinc.com>
Enable compilation of mm-driver modules and add scripts to copy
the uapi header files.
Change-Id: I0af6581ca96aa630c9707ef05abc4cccbfe92bab
Signed-off-by: Jeykumar Sankaran <quic_jeykumar@quicinc.com>