dri3: Print log message
PATCH 1/1 dri3: Print log message
Whe currently only print a "direct rendering: DRI2 Enabled" which seems to confuse people so add a "DRI3 enabled" message as well when successfully initalizing dri3.
Signed-off-by Adel Gadllah <[email protected]>
Reviewed-by Keith Packard <[email protected]>
--- src/uxa/intel_dri3.c | 2 +- src/uxa/intel_driver.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
src/uxa/intel_dri3.c +1 -1
@@ -186,7 +186,7 @@ intel_dri3_screen_init(ScreenPtr screen)/* glamor handles DRI3 on its own. */ if (intel->uxa_flags &UXA_USE_GLAMOR ) -return ; +return TRUE;return dri3_screen_init (screen, &intel_dri3_screen_info); }
src/uxa/intel_driver.c +2 -1
@@ -1048,7 +1048,8 @@ I830ScreenInit(SCREEN_INIT_ARGS_DECL)#endif #if DRI3 -intel_dri3_screen_init (screen); +if (intel_dri3_screen_init (screen)) +xf86DrvMsg (scrn->scrnIndex,X_INFO ,"DRI3 Enabled\n" );#endif #if defined(DRI2 )
Signature · 1 line
1.9.0