Commit f5c3fd0b authored by Tom Denis's avatar Tom Denis Committed by Michel Dänzer
Browse files

Cleaning up for server-fd support



Based on radeon commit a63342ad15408071437c80b411d14196f3288aed

> radeon_open_drm_master get rid of unnecessary goto
Signed-off-by: Tom Denis's avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: Michel Dänzer's avatarMichel Dänzer <michel.daenzer@amd.com>
parent 3055724a
......@@ -619,9 +619,8 @@ static void amdgpu_reference_drm_fd(ScrnInfoPtr pScrn)
AMDGPUInfoPtr info = AMDGPUPTR(pScrn);
AMDGPUEntPtr pAMDGPUEnt = AMDGPUEntPriv(pScrn);
info->dri2.drm_fd = pAMDGPUEnt->fd;
info->drmmode.fd = info->dri2.drm_fd = pAMDGPUEnt->fd;
pAMDGPUEnt->fd_ref++;
info->drmmode.fd = info->dri2.drm_fd;
}
static Bool amdgpu_get_tile_config(ScrnInfoPtr pScrn)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment