Vaibhav Deshu Venkatesh | 9e86e31 | 2018-11-21 15:46:24 -0800 | [diff] [blame^] | 1 | * Qualcomm Technologies Inc MSM VIDC BUS |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : "qcom,msm-vidc,governor,table" |
| 5 | - name : name of the governor. |
| 6 | - qcom,bus-table : node containing individual domain nodes, each with: |
| 7 | - qcom,codec-mask: a bitmap of supported codec types, every two bits |
| 8 | represents a codec type. |
| 9 | - qcom,load-busfreq-tbl: load (in macroblocks/sec) and the corresponding |
| 10 | bus frequency (in KBps) table. |
| 11 | |
| 12 | Optional properties: |
| 13 | - qcom,low-power-mode: a boolean which indicates whether bus profile need |
| 14 | to be used when client enables low-power mode. |
| 15 | - qcom,ubwc-mode: a boolean which indicates whether the bus profile need |
| 16 | to be used when client enables UBWC mode. |
| 17 | |
| 18 | Example: |
| 19 | |
| 20 | venus-bus-gov { |
| 21 | compatible = "qcom,msm-vidc,governor,table"; |
| 22 | name = "qcom,venus-gov"; |
| 23 | qcom,bus-freq-table { |
| 24 | qcom,profile-dec { |
| 25 | qcom,codec-mask = <0xffffffff>; |
| 26 | qcom,ubwc-mode; |
| 27 | qcom,load-busfreq-tbl = |
| 28 | <489600 1205248>, /* 1080p60D */ |
| 29 | <244800 618496>, /* 1080p30D */ |
| 30 | <216000 618496>, /* 720p60D */ |
| 31 | <108000 314368>, /* 720p30D */ |
| 32 | <72000 233472>, /* VGA60D */ |
| 33 | <36000 118784>, /* VGA30D */ |
| 34 | <0 0>; |
| 35 | }; |
| 36 | qcom,profile-enc { |
| 37 | qcom,codec-mask = <0x55555555>; |
| 38 | qcom,low-power-mode; |
| 39 | qcom,load-busfreq-tbl = |
| 40 | <244800 787456>, /* 1080p30E */ |
| 41 | <216000 350208>, /* 720p60E */ |
| 42 | <108000 350208>, /* 720p30E */ |
| 43 | <72000 350208>, /* VGA60E */ |
| 44 | <36000 136806>, /* VGA30E */ |
| 45 | <0 0>; |
| 46 | }; |
| 47 | }; |
| 48 | }; |
| 49 | |