broadcom/vc5: Rename the UIFCFG register in the UAPI.
authorEric Anholt <eric@anholt.net>
Sat, 20 Jan 2018 23:57:08 +0000 (15:57 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 1 Feb 2018 19:02:29 +0000 (11:02 -0800)
This matches the naming of the other hub regs we get, and I don't know for
sure if UIFCFG will be the same register between the hub and the cores on
all versions.

src/gallium/drivers/vc5/v3dx_simulator.c
src/gallium/drivers/vc5/vc5_drm.h

index 90fafaee1e2337824528670d8ada3f6e5ce9ffe9..aed4aab204e010f46ebdba3be39ab3f35caa89f5 100644 (file)
@@ -103,7 +103,7 @@ v3dX(simulator_get_param_ioctl)(struct v3d_hw *v3d,
                                 struct drm_vc5_get_param *args)
 {
         static const uint32_t reg_map[] = {
-                [DRM_VC5_PARAM_V3D_UIFCFG] = V3D_HUB_CTL_UIFCFG,
+                [DRM_VC5_PARAM_V3D_HUB_UIFCFG] = V3D_HUB_CTL_UIFCFG,
                 [DRM_VC5_PARAM_V3D_HUB_IDENT1] = V3D_HUB_CTL_IDENT1,
                 [DRM_VC5_PARAM_V3D_HUB_IDENT2] = V3D_HUB_CTL_IDENT2,
                 [DRM_VC5_PARAM_V3D_HUB_IDENT3] = V3D_HUB_CTL_IDENT3,
index 2c21ee77a138314e77650cfd45d1d35907888f5c..cd7e43ad47fb67f12725387daae3e97baeb7b9c1 100644 (file)
@@ -172,7 +172,7 @@ struct drm_vc5_mmap_bo {
 };
 
 enum drm_vc5_param {
-        DRM_VC5_PARAM_V3D_UIFCFG,
+        DRM_VC5_PARAM_V3D_HUB_UIFCFG,
         DRM_VC5_PARAM_V3D_HUB_IDENT1,
         DRM_VC5_PARAM_V3D_HUB_IDENT2,
         DRM_VC5_PARAM_V3D_HUB_IDENT3,