drm_format_info_min_pitch 395 drivers/gpu/drm/drm_fourcc.c EXPORT_SYMBOL(drm_format_info_min_pitch); drm_format_info_min_pitch 205 drivers/gpu/drm/drm_framebuffer.c u64 min_pitch = drm_format_info_min_pitch(info, i, width); drm_format_info_min_pitch 169 drivers/gpu/drm/drm_gem_framebuffer_helper.c + drm_format_info_min_pitch(info, i, width) drm_format_info_min_pitch 106 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 0) != 0); drm_format_info_min_pitch 107 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, -1, 0) != 0); drm_format_info_min_pitch 108 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 0) != 0); drm_format_info_min_pitch 113 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 0) != 0); drm_format_info_min_pitch 114 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, -1, 0) != 0); drm_format_info_min_pitch 115 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 0) != 0); drm_format_info_min_pitch 117 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1) != 1); drm_format_info_min_pitch 118 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 2) != 2); drm_format_info_min_pitch 119 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 640) != 640); drm_format_info_min_pitch 120 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1024) != 1024); drm_format_info_min_pitch 121 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1920) != 1920); drm_format_info_min_pitch 122 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 4096) != 4096); drm_format_info_min_pitch 123 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 671) != 671); drm_format_info_min_pitch 124 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, UINT_MAX) != drm_format_info_min_pitch 126 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, (UINT_MAX - 1)) != drm_format_info_min_pitch 132 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 0) != 0); drm_format_info_min_pitch 133 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, -1, 0) != 0); drm_format_info_min_pitch 134 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 0) != 0); drm_format_info_min_pitch 136 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1) != 2); drm_format_info_min_pitch 137 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 2) != 4); drm_format_info_min_pitch 138 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 640) != 1280); drm_format_info_min_pitch 139 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1024) != 2048); drm_format_info_min_pitch 140 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1920) != 3840); drm_format_info_min_pitch 141 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 4096) != 8192); drm_format_info_min_pitch 142 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 671) != 1342); drm_format_info_min_pitch 143 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, UINT_MAX) != drm_format_info_min_pitch 145 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, (UINT_MAX - 1)) != drm_format_info_min_pitch 151 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 0) != 0); drm_format_info_min_pitch 152 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, -1, 0) != 0); drm_format_info_min_pitch 153 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 0) != 0); drm_format_info_min_pitch 155 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1) != 3); drm_format_info_min_pitch 156 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 2) != 6); drm_format_info_min_pitch 157 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 640) != 1920); drm_format_info_min_pitch 158 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1024) != 3072); drm_format_info_min_pitch 159 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1920) != 5760); drm_format_info_min_pitch 160 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 4096) != 12288); drm_format_info_min_pitch 161 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 671) != 2013); drm_format_info_min_pitch 162 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, UINT_MAX) != drm_format_info_min_pitch 164 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, UINT_MAX - 1) != drm_format_info_min_pitch 170 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 0) != 0); drm_format_info_min_pitch 171 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, -1, 0) != 0); drm_format_info_min_pitch 172 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 0) != 0); drm_format_info_min_pitch 174 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1) != 4); drm_format_info_min_pitch 175 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 2) != 8); drm_format_info_min_pitch 176 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 640) != 2560); drm_format_info_min_pitch 177 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1024) != 4096); drm_format_info_min_pitch 178 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1920) != 7680); drm_format_info_min_pitch 179 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 4096) != 16384); drm_format_info_min_pitch 180 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 671) != 2684); drm_format_info_min_pitch 181 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, UINT_MAX) != drm_format_info_min_pitch 183 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, UINT_MAX - 1) != drm_format_info_min_pitch 189 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 0) != 0); drm_format_info_min_pitch 190 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 0) != 0); drm_format_info_min_pitch 191 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, -1, 0) != 0); drm_format_info_min_pitch 192 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 2, 0) != 0); drm_format_info_min_pitch 194 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1) != 1); drm_format_info_min_pitch 195 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 1) != 2); drm_format_info_min_pitch 196 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 2) != 2); drm_format_info_min_pitch 197 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 1) != 2); drm_format_info_min_pitch 198 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 640) != 640); drm_format_info_min_pitch 199 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 320) != 640); drm_format_info_min_pitch 200 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1024) != 1024); drm_format_info_min_pitch 201 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 512) != 1024); drm_format_info_min_pitch 202 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1920) != 1920); drm_format_info_min_pitch 203 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 960) != 1920); drm_format_info_min_pitch 204 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 4096) != 4096); drm_format_info_min_pitch 205 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 2048) != 4096); drm_format_info_min_pitch 206 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 671) != 671); drm_format_info_min_pitch 207 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 336) != 672); drm_format_info_min_pitch 208 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, UINT_MAX) != drm_format_info_min_pitch 210 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, UINT_MAX / 2 + 1) != drm_format_info_min_pitch 212 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, (UINT_MAX - 1)) != drm_format_info_min_pitch 214 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, (UINT_MAX - 1) / 2) != drm_format_info_min_pitch 220 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 0) != 0); drm_format_info_min_pitch 221 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 0) != 0); drm_format_info_min_pitch 222 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 2, 0) != 0); drm_format_info_min_pitch 223 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, -1, 0) != 0); drm_format_info_min_pitch 224 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 3, 0) != 0); drm_format_info_min_pitch 226 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1) != 1); drm_format_info_min_pitch 227 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 1) != 1); drm_format_info_min_pitch 228 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 2, 1) != 1); drm_format_info_min_pitch 229 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 2) != 2); drm_format_info_min_pitch 230 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 2) != 2); drm_format_info_min_pitch 231 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 2, 2) != 2); drm_format_info_min_pitch 232 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 640) != 640); drm_format_info_min_pitch 233 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 320) != 320); drm_format_info_min_pitch 234 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 2, 320) != 320); drm_format_info_min_pitch 235 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1024) != 1024); drm_format_info_min_pitch 236 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 512) != 512); drm_format_info_min_pitch 237 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 2, 512) != 512); drm_format_info_min_pitch 238 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1920) != 1920); drm_format_info_min_pitch 239 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 960) != 960); drm_format_info_min_pitch 240 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 2, 960) != 960); drm_format_info_min_pitch 241 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 4096) != 4096); drm_format_info_min_pitch 242 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 2048) != 2048); drm_format_info_min_pitch 243 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 2, 2048) != 2048); drm_format_info_min_pitch 244 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 671) != 671); drm_format_info_min_pitch 245 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 336) != 336); drm_format_info_min_pitch 246 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 2, 336) != 336); drm_format_info_min_pitch 247 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, UINT_MAX) != drm_format_info_min_pitch 249 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, UINT_MAX / 2 + 1) != drm_format_info_min_pitch 251 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 2, UINT_MAX / 2 + 1) != drm_format_info_min_pitch 253 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, (UINT_MAX - 1) / 2) != drm_format_info_min_pitch 255 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, (UINT_MAX - 1) / 2) != drm_format_info_min_pitch 257 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 2, (UINT_MAX - 1) / 2) != drm_format_info_min_pitch 263 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 0) != 0); drm_format_info_min_pitch 264 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, -1, 0) != 0); drm_format_info_min_pitch 265 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 1, 0) != 0); drm_format_info_min_pitch 267 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1) != 2); drm_format_info_min_pitch 268 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 2) != 4); drm_format_info_min_pitch 269 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 640) != 1280); drm_format_info_min_pitch 270 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1024) != 2048); drm_format_info_min_pitch 271 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 1920) != 3840); drm_format_info_min_pitch 272 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 4096) != 8192); drm_format_info_min_pitch 273 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, 671) != 1342); drm_format_info_min_pitch 274 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, UINT_MAX) != drm_format_info_min_pitch 276 drivers/gpu/drm/selftests/test-drm_format.c FAIL_ON(drm_format_info_min_pitch(info, 0, UINT_MAX - 1) != drm_format_info_min_pitch 319 include/drm/drm_fourcc.h uint64_t drm_format_info_min_pitch(const struct drm_format_info *info,