This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TDA2EXEVM: port virtual drm to kernel 4.14

Part Number: TDA2EXEVM

Tool/software: Linux

hi all,

i want to run virtual drm on J6Entry EVM board, kernel version is 4.14.

now i can port virtual drm from kernel 4.4 to kernel 4.14,  and i also modify DTS add vdrm device.

and when kernel boot i can see the /dev/dri/card0 and /dev/vdrm-controller-0 devices.

but when i try to use virtual drm, it goes wrong:

int fd = open("/dev/dri/card0", O_RDWR);

struct gbm_device *display = gbm_create_device(fd);

if (NULL == display)

{

    OS_TRACE(("fail to create GBM display\n"));

}

PVR:(Error): [   71->   71] <              gbm_pvr_create_device():592|ERROR> Failed to create DBM device: No such device [0, ]

it can open success, but when call gbm_create_device() to create device, it goes wrong.

does the libgbm.so need to modify too?  does PVR need modify? or else need modify too?

best regards!