Fix unit issue in policy feature (#78)

1. For temperature the unit in milli Celsius
2. For power the unit in microwatts.
3. Fix second register call to rdcd doesn't functional because start flag

Co-authored-by: Chao Fei <chao.fei@amd.com>

[ROCm/rdc commit: bd7d7c99c1]
Bu işleme şunda yer alıyor:
Li, Star
2025-01-06 09:21:08 +08:00
işlemeyi yapan: GitHub
ebeveyn 20f3ba845c
işleme 474eb81053
3 değiştirilmiş dosya ile 33 ekleme ve 14 silme
+1 -1
Dosyayı Görüntüle
@@ -593,7 +593,7 @@ typedef enum {
RDC_POLICY_COND_FIRST = 0,
RDC_POLICY_COND_MAX_PAGE_RETRIED = RDC_POLICY_COND_FIRST, //!< Max number of page retired
RDC_POLICY_COND_THERMAL, //!< Temperature threshold, millidegree Celsius
RDC_POLICY_COND_POWER, //!< Power threshold, unit milliwatt
RDC_POLICY_COND_POWER, //!< Power threshold, unit microwatt
RDC_POLICY_COND_LAST = RDC_POLICY_COND_POWER,
RDC_POLICY_COND_MAX
} rdc_policy_condition_type_t;