Searched refs:common_modes (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_benchmark.c | 125 static const int common_modes[AMDGPU_BENCHMARK_COMMON_MODES_N] = { in amdgpu_benchmark() local 216 r = amdgpu_benchmark_move(adev, common_modes[i], in amdgpu_benchmark() 229 r = amdgpu_benchmark_move(adev, common_modes[i], in amdgpu_benchmark() 242 r = amdgpu_benchmark_move(adev, common_modes[i], in amdgpu_benchmark()
|
D | amdgpu_vkms.c | 215 } common_modes[] = { in amdgpu_vkms_conn_get_modes() local 240 for (i = 0; i < ARRAY_SIZE(common_modes); i++) { in amdgpu_vkms_conn_get_modes() 241 mode = drm_cvt_mode(dev, common_modes[i].w, common_modes[i].h, 60, false, false, false); in amdgpu_vkms_conn_get_modes() 249 return ARRAY_SIZE(common_modes); in amdgpu_vkms_conn_get_modes()
|
D | amdgpu_connectors.c | 430 } common_modes[17] = { in amdgpu_connector_add_common_modes() local 452 if (common_modes[i].w > 1024 || in amdgpu_connector_add_common_modes() 453 common_modes[i].h > 768) in amdgpu_connector_add_common_modes() 457 if (common_modes[i].w > native_mode->hdisplay || in amdgpu_connector_add_common_modes() 458 common_modes[i].h > native_mode->vdisplay || in amdgpu_connector_add_common_modes() 459 (common_modes[i].w == native_mode->hdisplay && in amdgpu_connector_add_common_modes() 460 common_modes[i].h == native_mode->vdisplay)) in amdgpu_connector_add_common_modes() 463 if (common_modes[i].w < 320 || common_modes[i].h < 200) in amdgpu_connector_add_common_modes() 466 mode = drm_cvt_mode(dev, common_modes[i].w, common_modes[i].h, 60, false, false, false); in amdgpu_connector_add_common_modes()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_benchmark.c | 170 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()
|
D | radeon_connectors.c | 486 } common_modes[17] = { in radeon_add_common_modes() local 508 if (common_modes[i].w > 1024 || in radeon_add_common_modes() 509 common_modes[i].h > 768) in radeon_add_common_modes() 513 if (common_modes[i].w > native_mode->hdisplay || in radeon_add_common_modes() 514 common_modes[i].h > native_mode->vdisplay || in radeon_add_common_modes() 515 (common_modes[i].w == native_mode->hdisplay && in radeon_add_common_modes() 516 common_modes[i].h == native_mode->vdisplay)) in radeon_add_common_modes() 519 if (common_modes[i].w < 320 || common_modes[i].h < 200) in radeon_add_common_modes() 522 mode = drm_cvt_mode(dev, common_modes[i].w, common_modes[i].h, 60, false, false, false); in radeon_add_common_modes()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 7064 } common_modes[] = { in amdgpu_dm_connector_add_common_modes() local 7078 n = ARRAY_SIZE(common_modes); in amdgpu_dm_connector_add_common_modes() 7084 if (common_modes[i].w > native_mode->hdisplay || in amdgpu_dm_connector_add_common_modes() 7085 common_modes[i].h > native_mode->vdisplay || in amdgpu_dm_connector_add_common_modes() 7086 (common_modes[i].w == native_mode->hdisplay && in amdgpu_dm_connector_add_common_modes() 7087 common_modes[i].h == native_mode->vdisplay)) in amdgpu_dm_connector_add_common_modes() 7091 if (common_modes[i].w == curmode->hdisplay && in amdgpu_dm_connector_add_common_modes() 7092 common_modes[i].h == curmode->vdisplay) { in amdgpu_dm_connector_add_common_modes() 7102 common_modes[i].name, common_modes[i].w, in amdgpu_dm_connector_add_common_modes() 7103 common_modes[i].h); in amdgpu_dm_connector_add_common_modes()
|