Home
last modified time | relevance | path

Searched refs:mGemHandle (Results 1 – 18 of 18) sorted by relevance

/device/soc/rockchip/rk3566/hardware/display/src/display_device/
Dhdi_drm_layer.cpp41 ret = drmPrimeFDToHandle(drmFd, hdl.GetFb(), &mGemHandle); in Init()
45 gemHandles[0] = mGemHandle; in Init()
48 DISPLAY_LOGD("mGemHandle %{public}d mFdId %{public}d", mGemHandle, mFdId); in Init()
64 if (mGemHandle) { in ~DrmGemBuffer()
66 gemClose.handle = mGemHandle; in ~DrmGemBuffer()
68 … DISPLAY_LOGD("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
76 return (mGemHandle != INVALID_DRM_ID) && (mFdId != INVALID_DRM_ID); in IsValid()
Dhdi_drm_layer.h41 uint32_t mGemHandle = 0; variable
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
Dhdi_drm_layer.cpp40 ret = drmPrimeFDToHandle(drmFd, hdl.GetFb(), &mGemHandle); in Init()
44 gemHandles[0] = mGemHandle; in Init()
47 DISPLAY_DEBUGLOG("mGemHandle %{public}d mFdId %{public}d", mGemHandle, mFdId); in Init()
63 if (mGemHandle) { in ~DrmGemBuffer()
65 gemClose.handle = mGemHandle; in ~DrmGemBuffer()
67 … DISPLAY_DEBUGLOG("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
75 return (mGemHandle != INVALID_DRM_ID) && (mFdId != INVALID_DRM_ID); in IsValid()
Dhdi_drm_layer.h42 uint32_t mGemHandle = 0; variable
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
Dhdi_drm_layer.cpp41 ret = drmPrimeFDToHandle(drmFd, hdl.GetFb(), &mGemHandle); in Init()
45 gemHandles[0] = mGemHandle; in Init()
48 DISPLAY_LOGD("mGemHandle %{public}d mFdId %{public}d", mGemHandle, mFdId); in Init()
64 if (mGemHandle) { in ~DrmGemBuffer()
66 gemClose.handle = mGemHandle; in ~DrmGemBuffer()
68 … DISPLAY_LOGD("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
76 return (mGemHandle != INVALID_DRM_ID) && (mFdId != INVALID_DRM_ID); in IsValid()
Dhdi_drm_layer.h41 uint32_t mGemHandle = 0; variable
/device/soc/nxp/hardware/display/src/display_device/drm/
Dhdi_drm_layer.cpp43 ret = drmPrimeFDToHandle(drmFd, hdl.GetFb(), &mGemHandle); in Init()
47 gemHandles[0] = mGemHandle; in Init()
50 DISPLAY_LOGD("mGemHandle %{public}d mFdId %{public}d", mGemHandle, mFdId); in Init()
66 if (mGemHandle) { in ~DrmGemBuffer()
68 gemClose.handle = mGemHandle; in ~DrmGemBuffer()
70 … DISPLAY_LOGE("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
78 return (mGemHandle != INVALID_DRM_ID) && (mFdId != INVALID_DRM_ID); in IsValid()
Dhdi_drm_layer.h45 uint32_t mGemHandle = 0; variable
/device/soc/hisilicon/common/hal/display/source/display_device/src/drm/
Dhdi_drm_layer.cpp40 ret = drmPrimeFDToHandle(drmFd, hdl.GetFb(), &mGemHandle); in Init()
44 gemHandles[0] = mGemHandle; in Init()
47 DISPLAY_LOGD("mGemHandle %{public}d mFdId %{public}d", mGemHandle, mFdId); in Init()
63 if (mGemHandle) { in ~DrmGemBuffer()
65 gemClose.handle = mGemHandle; in ~DrmGemBuffer()
67 … DISPLAY_LOGE("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
75 return (mGemHandle != INVALID_DRM_ID) && (mFdId != INVALID_DRM_ID); in IsValid()
Dhdi_drm_layer.h42 uint32_t mGemHandle = 0; variable
/device/soc/rockchip/common/hardware/display/src/display_device/
Dhdi_drm_layer.cpp40 ret = drmPrimeFDToHandle(drmFd, hdl.GetFb(), &mGemHandle); in Init()
44 gemHandles[0] = mGemHandle; in Init()
48 DISPLAY_DEBUGLOG("mGemHandle %{public}d mFdId %{public}d", mGemHandle, mFdId); in Init()
65 if (mGemHandle) { in ~DrmGemBuffer()
67 gemClose.handle = mGemHandle; in ~DrmGemBuffer()
69 … DISPLAY_DEBUGLOG("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
77 return (mGemHandle != INVALID_DRM_ID) && (mFdId != INVALID_DRM_ID); in IsValid()
Dhdi_drm_layer.h42 uint32_t mGemHandle = 0; variable
/device/soc/rockchip/rk3588/hardware/display/src/display_device/
Dhdi_drm_layer.cpp41 ret = drmPrimeFDToHandle(drmFd, hdl.GetFb(), &mGemHandle); in Init()
45 gemHandles[0] = mGemHandle; in Init()
48 DISPLAY_LOGD("mGemHandle %{public}d mFdId %{public}d", mGemHandle, mFdId); in Init()
64 if (mGemHandle) { in ~DrmGemBuffer()
66 gemClose.handle = mGemHandle; in ~DrmGemBuffer()
68 … DISPLAY_LOGD("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
76 return (mGemHandle != INVALID_DRM_ID) && (mFdId != INVALID_DRM_ID); in IsValid()
Dhdi_drm_layer.h41 uint32_t mGemHandle = 0; variable
/device/soc/amlogic/a311d/hardware/display/src/display_device/
Dhdi_drm_layer.cpp41 ret = drmPrimeFDToHandle(drmFd, hdl.GetFb(), &mGemHandle); in Init()
45 gemHandles[0] = mGemHandle; in Init()
48 DISPLAY_LOGD("mGemHandle %{public}d mFdId %{public}d", mGemHandle, mFdId); in Init()
64 if (mGemHandle) { in ~DrmGemBuffer()
66 gemClose.handle = mGemHandle; in ~DrmGemBuffer()
68 … DISPLAY_LOGE("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
76 return (mGemHandle != 0) && (mFdId != 0); /* INVALID_DRM_ID is 0 */ in IsValid()
Dhdi_drm_layer.h41 uint32_t mGemHandle = 0; variable
/device/soc/allwinner/t507/hardware/display/src/display_device/
Dhdi_drm_layer.cpp39 ret = drmPrimeFDToHandle(drmFd, hdl.GetFb(), &mGemHandle); in Init()
43 gemHandles[0] = mGemHandle; in Init()
61 if (mGemHandle) { in ~DrmGemBuffer()
63 gemClose.handle = mGemHandle; in ~DrmGemBuffer()
65 … DISPLAY_LOGE("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
73 return (mGemHandle != INVALID_DRM_ID) && (mFdId != INVALID_DRM_ID); in IsValid()
Dhdi_drm_layer.h42 uint32_t mGemHandle = 0; variable