Home
last modified time | relevance | path

Searched refs:max_upscale (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c1324 int *min_downscale, int *max_upscale) in amdgpu_dm_plane_helper_cleanup_fb()
1335 *max_upscale = plane_cap->max_upscale_factor.nv12; in amdgpu_dm_plane_helper_cleanup_fb()
1348 *max_upscale = plane_cap->max_upscale_factor.fp16; in amdgpu_dm_plane_get_min_max_dc_plane_scaling()
1353 *max_upscale = plane_cap->max_upscale_factor.argb8888; in amdgpu_dm_plane_get_min_max_dc_plane_scaling()
1362 if (*max_upscale == 1) in amdgpu_dm_plane_get_min_max_dc_plane_scaling()
1363 *max_upscale = 1000; in amdgpu_dm_plane_get_min_max_dc_plane_scaling()
1374 int min_downscale, max_upscale; in amdgpu_dm_plane_get_min_max_dc_plane_scaling()
1410 &min_downscale, &max_upscale); in amdgpu_dm_plane_helper_check_state()
1414 * dst/src, so min_scale = 1.0 / max_upscale, etc. in amdgpu_dm_plane_helper_check_state()
1416 min_scale = (1000 << 16) / max_upscale; in amdgpu_dm_plane_helper_check_state()
1342 amdgpu_dm_plane_get_min_max_dc_plane_scaling(struct drm_device * dev,struct drm_framebuffer * fb,int * min_downscale,int * max_upscale) amdgpu_dm_plane_get_min_max_dc_plane_scaling() argument
1392 int min_downscale, max_upscale; amdgpu_dm_plane_helper_check_state() local
1447 int scale_w, scale_h, min_downscale, max_upscale; amdgpu_dm_plane_fill_dc_scaling_info() local
[all...]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/
H A Damdgpu_dm_plane_test.c381 int max_upscale = 0; in dm_test_get_min_max_dc_plane_scaling() local
398 amdgpu_dm_plane_get_min_max_dc_plane_scaling(&adev->ddev, fb, &min_downscale, &max_upscale); in dm_test_get_min_max_dc_plane_scaling()
400 KUNIT_EXPECT_EQ(test, max_upscale, 1000); in dm_test_get_min_max_dc_plane_scaling()
404 amdgpu_dm_plane_get_min_max_dc_plane_scaling(&adev->ddev, fb, &min_downscale, &max_upscale); in dm_test_get_min_max_dc_plane_scaling()
406 KUNIT_EXPECT_EQ(test, max_upscale, 1600); in dm_test_get_min_max_dc_plane_scaling()
2222 int max_upscale = 0; in dm_test_get_min_max_dc_plane_scaling_fp16() local
2238 &min_downscale, &max_upscale); in dm_test_get_min_max_dc_plane_scaling_fp16()
2240 KUNIT_EXPECT_EQ(test, max_upscale, 2000); in dm_test_get_min_max_dc_plane_scaling_fp16()