drmmode_display: Resolve missing brackets
PATCH 1/1 drmmode_display: Resolve missing brackets
Correct some missing/misplaced brackets in drmmode_pre_init() The issue was exposed when trying a 4 monitor desktop using two cards/gpus
Resolves https://bugs.freedesktop.org/show_bug.cgi?id=39099
Reported-By Damian Nowak <[email protected]>
Tested-by Damian Nowak <[email protected]>
Signed-off-by Emil Velikov <[email protected]>
--- src/drmmode_display.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
src/drmmode_display.c +2 -2
@@ -1185,8 +1185,8 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp)xf86CrtcSetSizeRange (pScrn,320 ,200 , drmmode->mode_res->max_width, drmmode->mode_res->max_height);for (i =0 ; i < drmmode->mode_res->count_crtcs; i++) { -if (!xf86IsEntityShared (pScrn->entityList[0 ] || - pScrn->confScreen->device->screen == i)) +if (!xf86IsEntityShared (pScrn->entityList[0 ]) || + (pScrn->confScreen->device->screen == i))drmmode_crtc_init (pScrn, drmmode, i); }
Signature · 1 line
1.7.6