summaryrefslogtreecommitdiff
path: root/src/amdgpu_dri3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/amdgpu_dri3.c')
-rw-r--r--src/amdgpu_dri3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amdgpu_dri3.c b/src/amdgpu_dri3.c
index ed1e2f9..25f8eed 100644
--- a/src/amdgpu_dri3.c
+++ b/src/amdgpu_dri3.c
@@ -41,7 +41,7 @@
#include <errno.h>
#include <libgen.h>
-static int open_master_node(ScreenPtr screen, int *out)
+static int open_card_node(ScreenPtr screen, int *out)
{
ScrnInfoPtr scrn = xf86ScreenToScrn(screen);
AMDGPUEntPtr pAMDGPUEnt = AMDGPUEntPriv(scrn);
@@ -112,7 +112,7 @@ amdgpu_dri3_open(ScreenPtr screen, RRProviderPtr provider, int *out)
ret = open_render_node(screen, out);
if (ret != Success)
- ret = open_master_node(screen, out);
+ ret = open_card_node(screen, out);
return ret;
}