On 14 October 2016 at 22:33, Benjamin Gaignard
wrote:
> Just by curiosity, why using "old" TTM instead of GEM ? any particular
> reasons ?
>From the linux kernel DRM mm doc[1] it says:
"GEM has simpler initialization and execution requirements than
25 TTM, but has no video RAM management capabi
Benjamin Gaignard æ¼ 2016/10/14 22:33 寫é:
> Just by curiosity, why using "old" TTM instead of GEM ? any particular
> reasons ?
Do you mean i can manage the video memory visiable to pci without TTM,
i found all the other simple gpu chips(eg: AST, mgag200) use TTM, so i
chose TTM.
>
> 2016-1
Hi Benjamin,
Thanks for reviewing!
Benjamin Gaignard æ¼ 2016/10/14 16:29 寫é:
> [snip]
>
>> --- /dev/null
>> +++ b/drivers/gpu/drm/hisilicon/hibmc/Kconfig
>> @@ -0,0 +1,15 @@
>> +config DRM_HISI_HIBMC
>> + tristate "DRM Support for Hisilicon Hibmc"
>> + depends on DRM && PCI
>> +
Just by curiosity, why using "old" TTM instead of GEM ? any particular reasons ?
2016-10-14 16:44 GMT+02:00 Rongrong Zou :
> Hi Benjamin,
>
> Thanks for reviewing!
>
> Benjamin Gaignard æ¼ 2016/10/14 16:29 寫é:
>>
>> [snip]
>>
>>> --- /dev/null
>>> +++ b/drivers/gpu/drm/hisilicon/hibmc/Kconfig
[snip]
> --- /dev/null
> +++ b/drivers/gpu/drm/hisilicon/hibmc/Kconfig
> @@ -0,0 +1,15 @@
> +config DRM_HISI_HIBMC
> + tristate "DRM Support for Hisilicon Hibmc"
> + depends on DRM && PCI
> + select DRM_KMS_HELPER
> + select DRM_KMS_FB_HELPER
> + select DRM_GEM_CMA_HE
Add DRM master driver for Hisilicon Hibmc SoC which used for
Out-of-band management. Blow is the general hardware connection,
both the Hibmc and the host CPU are on the same mother board.
+--+ +--+
| | PCIe | Hibmc |
|host CPU( |<->| display |
|arm64,x86)|