diff options
author | Emil Velikov <[email protected]> | 2017-05-09 18:41:50 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-05-29 16:49:44 +0100 |
commit | e183c552758ac47880f5518cdff9057d99df921b (patch) | |
tree | 191a20970f649dabd715f414044dacf32516e32c /src/egl/drivers | |
parent | 2204ea64644212b9eb1c502f4743af3c1f5655a4 (diff) |
gbm: move gbm_drm_device::driver_name to gbm_dri_device
The former already keeps track of the DRI module opened, based on the
driver_name provided. So let's keep them together.
As a nice bonus this Will allows us to remove the gbm_drm_device all
together with next patch.
Signed-off-by: Emil Velikov <[email protected]>
Tested-by: Rob Herring <[email protected]>
Diffstat (limited to 'src/egl/drivers')
-rw-r--r-- | src/egl/drivers/dri2/platform_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/platform_drm.c b/src/egl/drivers/dri2/platform_drm.c index d5dae4a14ad..9cee91bbfcf 100644 --- a/src/egl/drivers/dri2/platform_drm.c +++ b/src/egl/drivers/dri2/platform_drm.c @@ -715,7 +715,7 @@ dri2_initialize_drm(_EGLDriver *drv, _EGLDisplay *disp) } dri2_dpy->fd = fd; - dri2_dpy->driver_name = strdup(dri2_dpy->gbm_dri->base.driver_name); + dri2_dpy->driver_name = strdup(dri2_dpy->gbm_dri->driver_name); dri2_dpy->dri_screen = dri2_dpy->gbm_dri->screen; dri2_dpy->core = dri2_dpy->gbm_dri->core; |