search for: nv_pbus_size

Displaying 1 result from an estimated 1 matches for "nv_pbus_size".

2009 Sep 18
1
[PATCH] drm/nouveau: fix WITHIN macro off by one
..., uint32_t reg) if (dev_priv->card_type >= NV_50) return 1; - #define WITHIN(x, y, z) ((x >= y) && (x <= y + z)) + #define WITHIN(x, y, z) ((x >= y) && (x < y + z)) if (WITHIN(reg, NV_PMC_OFFSET, NV_PMC_SIZE)) return 1; if (WITHIN(reg, NV_PBUS_OFFSET, NV_PBUS_SIZE)) -- 1.6.3.3