VkPerfHintInfoQCOM - Structure specifying the parameters used for
setting a performance hint on a queue
Description
The device has two global frequency constraints, fmin and fmax, that
can be influenced by the PERF_HINT_TYPE_FREQUENCY_MIN_QCOM,
PERF_HINT_TYPE_FREQUENCY_MAX_QCOM, and
PERF_HINT_TYPE_FREQUENCY_SCALED_QCOM performance hints. These
constraints determine the range of clock frequencies that the platform
performance algorithms may select from. If no constraints are set,
fmin and fmax are set to the minimum and maximum frequencies the
device can support, Fmin and Fmax respectively.
The fmin constraint applied by PERF_HINT_TYPE_FREQUENCY_SCALED_QCOM
is calculated with the following:
The implementation rounds fmin down to the next available lower
frequency the device supports, clamped to Fmin.
The global frequency constraints are determined by combining the
performance hints from all of the device’s active queues of all
processes on the host. Performance hints that influence device frequency
are ranked, where a higher ranked hint supersedes all lower ranked
hints. These are listed in order of highest rank to lowest:
This means that PERF_HINT_TYPE_FREQUENCY_MIN_QCOM only takes effect if
all of the device’s other active queues running on the host also have
the PERF_HINT_TYPE_FREQUENCY_MIN_QCOM hint applied.
If any queue is active that never had a performance hint applied and
therefore is in the PERF_HINT_TYPE_DEFAULT_QCOM state, it will
supersede in setting the constraints over
PERF_HINT_TYPE_FREQUENCY_MIN_QCOM. This is necessary to avoid
negatively impacting performance for normal queues while a low power
queue is active.
Valid Usage
Valid Usage (Implicit)
See Also
VK_QCOM_queue_perf_hint,
PerfHintTypeQCOM, StructureType,
queueSetPerfHintQCOM