OSDN Git Service

minigbm: Opening new fd for dri backend
authorSatyajit Sahu <satyajit.sahu@amd.com>
Tue, 7 Aug 2018 09:47:18 +0000 (15:17 +0530)
committerchrome-bot <chrome-bot@chromium.org>
Fri, 10 Aug 2018 05:04:25 +0000 (22:04 -0700)
commitfaeb009164fc35c5ec93a0ab81be7615a22dca02
tree978bbcb3b205dcce42b0eb31c4a04a3403e98418
parenta047d4113fc111d33fb4ad4eea196ff9916803b4
minigbm: Opening new fd for dri backend

Dri backend is not used for the all use flags. When same fd is
shared between dri backend and the minigbm drv, they end up using the
same kernel DRI context.

BUG=b:111081134
TEST=cheets_SurfaceComposition
     graphics_Gbm
     graphics_Gralloc

Change-Id: I47ae12391acfc9c947e8281de11472fcdf5dec5b
Signed-off-by: Satyajit Sahu <satyajit.sahu@amd.com>
Reviewed-on: https://chromium-review.googlesource.com/1164972
Tested-by: Deepak Sharma <deepak.sharma@amd.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
dri.c
dri.h