Home
last modified time | relevance | path

Searched refs:common_modes (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_benchmark.c163 static const int common_modes[AMDGPU_BENCHMARK_COMMON_MODES_N] = { in amdgpu_benchmark() local
220 amdgpu_benchmark_move(adev, common_modes[i], in amdgpu_benchmark()
227 amdgpu_benchmark_move(adev, common_modes[i], in amdgpu_benchmark()
234 amdgpu_benchmark_move(adev, common_modes[i], in amdgpu_benchmark()
Damdgpu_connectors.c421 } common_modes[17] = { in amdgpu_connector_add_common_modes() local
443 if (common_modes[i].w > 1024 || in amdgpu_connector_add_common_modes()
444 common_modes[i].h > 768) in amdgpu_connector_add_common_modes()
448 if (common_modes[i].w > native_mode->hdisplay || in amdgpu_connector_add_common_modes()
449 common_modes[i].h > native_mode->vdisplay || in amdgpu_connector_add_common_modes()
450 (common_modes[i].w == native_mode->hdisplay && in amdgpu_connector_add_common_modes()
451 common_modes[i].h == native_mode->vdisplay)) in amdgpu_connector_add_common_modes()
454 if (common_modes[i].w < 320 || common_modes[i].h < 200) in amdgpu_connector_add_common_modes()
457 mode = drm_cvt_mode(dev, common_modes[i].w, common_modes[i].h, 60, false, false, false); in amdgpu_connector_add_common_modes()
Ddce_virtual.c300 } common_modes[21] = { in dce_virtual_get_modes() local
325 mode = drm_cvt_mode(dev, common_modes[i].w, common_modes[i].h, 60, false, false, false); in dce_virtual_get_modes()
/Linux-v5.10/drivers/gpu/drm/radeon/
Dradeon_benchmark.c170 int common_modes[RADEON_BENCHMARK_COMMON_MODES_N] = { in radeon_benchmark() local
227 radeon_benchmark_move(rdev, common_modes[i], in radeon_benchmark()
234 radeon_benchmark_move(rdev, common_modes[i], in radeon_benchmark()
241 radeon_benchmark_move(rdev, common_modes[i], in radeon_benchmark()
Dradeon_connectors.c506 } common_modes[17] = { in radeon_add_common_modes() local
528 if (common_modes[i].w > 1024 || in radeon_add_common_modes()
529 common_modes[i].h > 768) in radeon_add_common_modes()
533 if (common_modes[i].w > native_mode->hdisplay || in radeon_add_common_modes()
534 common_modes[i].h > native_mode->vdisplay || in radeon_add_common_modes()
535 (common_modes[i].w == native_mode->hdisplay && in radeon_add_common_modes()
536 common_modes[i].h == native_mode->vdisplay)) in radeon_add_common_modes()
539 if (common_modes[i].w < 320 || common_modes[i].h < 200) in radeon_add_common_modes()
542 mode = drm_cvt_mode(dev, common_modes[i].w, common_modes[i].h, 60, false, false, false); in radeon_add_common_modes()
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c6273 } common_modes[] = { in amdgpu_dm_connector_add_common_modes() local
6287 n = ARRAY_SIZE(common_modes); in amdgpu_dm_connector_add_common_modes()
6293 if (common_modes[i].w > native_mode->hdisplay || in amdgpu_dm_connector_add_common_modes()
6294 common_modes[i].h > native_mode->vdisplay || in amdgpu_dm_connector_add_common_modes()
6295 (common_modes[i].w == native_mode->hdisplay && in amdgpu_dm_connector_add_common_modes()
6296 common_modes[i].h == native_mode->vdisplay)) in amdgpu_dm_connector_add_common_modes()
6300 if (common_modes[i].w == curmode->hdisplay && in amdgpu_dm_connector_add_common_modes()
6301 common_modes[i].h == curmode->vdisplay) { in amdgpu_dm_connector_add_common_modes()
6311 common_modes[i].name, common_modes[i].w, in amdgpu_dm_connector_add_common_modes()
6312 common_modes[i].h); in amdgpu_dm_connector_add_common_modes()