Searched refs:common_modes (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | radeon_benchmark.c | 171 int common_modes[RADEON_BENCHMARK_COMMON_MODES_N] = { in radeon_benchmark() local 228 radeon_benchmark_move(rdev, common_modes[i], in radeon_benchmark() 235 radeon_benchmark_move(rdev, common_modes[i], in radeon_benchmark() 242 radeon_benchmark_move(rdev, common_modes[i], in radeon_benchmark()
|
D | radeon_connectors.c | 328 } common_modes[17] = { in radeon_add_common_modes() local 350 if (common_modes[i].w > 1024 || in radeon_add_common_modes() 351 common_modes[i].h > 768) in radeon_add_common_modes() 355 if (common_modes[i].w > native_mode->hdisplay || in radeon_add_common_modes() 356 common_modes[i].h > native_mode->vdisplay || in radeon_add_common_modes() 357 (common_modes[i].w == native_mode->hdisplay && in radeon_add_common_modes() 358 common_modes[i].h == native_mode->vdisplay)) in radeon_add_common_modes() 361 if (common_modes[i].w < 320 || common_modes[i].h < 200) in radeon_add_common_modes() 364 mode = drm_cvt_mode(dev, common_modes[i].w, common_modes[i].h, 60, false, false, false); in radeon_add_common_modes()
|
/drivers/gpu/drm/qxl/ |
D | qxl_display.c | 192 } common_modes[] = { in qxl_add_common_modes() local 212 for (i = 0; i < ARRAY_SIZE(common_modes); i++) { in qxl_add_common_modes() 213 if (common_modes[i].w < 320 || common_modes[i].h < 200) in qxl_add_common_modes() 216 mode = drm_cvt_mode(dev, common_modes[i].w, common_modes[i].h, in qxl_add_common_modes() 218 if (common_modes[i].w == 1024 && common_modes[i].h == 768) in qxl_add_common_modes()
|