diff options
author | Dave Airlie | 2019-04-24 03:24:22 +0200 |
---|---|---|
committer | Dave Airlie | 2019-04-24 03:46:19 +0200 |
commit | 42f1a013300dca601d779b02ed6d41f7b2cea362 (patch) | |
tree | f4cf0204125f32e99cd1bde5e3acf5189eb190fe /drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c | |
parent | Merge tag 'drm/tegra/for-5.2-rc1' of git://anongit.freedesktop.org/tegra/linu... (diff) | |
parent | drm/amd/display: Add profiling tools for bandwidth validation (diff) | |
download | kernel-qcow2-linux-42f1a013300dca601d779b02ed6d41f7b2cea362.tar.gz kernel-qcow2-linux-42f1a013300dca601d779b02ed6d41f7b2cea362.tar.xz kernel-qcow2-linux-42f1a013300dca601d779b02ed6d41f7b2cea362.zip |
Merge branch 'drm-next-5.2' of git://people.freedesktop.org/~agd5f/linux into drm-next
- Add the amdgpu specific bits for timeline support
- Add internal interfaces for xgmi pstate support
- DC Z ordering fixes for planes
- Add support for NV12 planes in DC
- Add colorspace properties for planes in DC
- eDP optimizations if the GOP driver already initialized eDP
- DC bandwidth validation tracing support
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Alex Deucher <alexdeucher@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190419150034.3473-1-alexander.deucher@amd.com
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c index 767d37c6d942..e938bf9986d3 100644 --- a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c @@ -380,7 +380,24 @@ static const struct resource_caps res_cap = { static const struct dc_plane_cap plane_cap = { .type = DC_PLANE_TYPE_DCE_RGB, - .supports_argb8888 = true, + + .pixel_format_support = { + .argb8888 = true, + .nv12 = false, + .fp16 = false + }, + + .max_upscale_factor = { + .argb8888 = 16000, + .nv12 = 1, + .fp16 = 1 + }, + + .max_downscale_factor = { + .argb8888 = 250, + .nv12 = 1, + .fp16 = 1 + } }; #define CTX ctx @@ -761,7 +778,8 @@ static enum dc_status build_mapped_resource( bool dce100_validate_bandwidth( struct dc *dc, - struct dc_state *context) + struct dc_state *context, + bool fast_validate) { int i; bool at_least_one_pipe = false; |