1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc
Alex Deucher d4e13b0db1 drm/amd/display: decouple per-crtc-plane model
Current design has per-crtc-plane model.
As a result, for asic's that support underlay,
are unable to expose it to user space for modesetting.

To enable this, the drm driver intialisation now runs
for number of surfaces instead of stream/crtc.

This patch plumbs surface capabilities to drm framework
so that it can be effectively used by user space.

Tests: (On Chromium OS for Stoney Only)
* 'modetest -p'  now shows additional plane
  with YUV capabilities in case of CZ and ST.
* 'plane_test' fails with below error:
  [drm:amdgpu_dm_connector_atomic_set_property [amdgpu]] *ERROR* Unsupported screen depth 0
  as ther is no support for YUYV
* Checked multimonitor display works fine

Signed-off-by: Shirish S <shirish.s@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-09-26 17:21:35 -04:00
..
basics drm/amd/display: Less log spam 2017-09-26 17:18:54 -04:00
bios drm/amd/display: obtain usHBR3En bit from BP 1 2017-09-26 17:21:31 -04:00
calcs drm/amd/display: Rename bandwidth_calcs.h to dce_calcs.h 2017-09-26 17:21:01 -04:00
core drm/amd/display: stereo support 2017-09-26 17:21:28 -04:00
dce drm/amd/display: obtain usHBR3En bit from BP 1 2017-09-26 17:21:31 -04:00
dce80 drm/amd/display: decouple per-crtc-plane model 2017-09-26 17:21:35 -04:00
dce100 drm/amd/display: decouple per-crtc-plane model 2017-09-26 17:21:35 -04:00
dce110 drm/amd/display: decouple per-crtc-plane model 2017-09-26 17:21:35 -04:00
dce112 drm/amd/display: decouple per-crtc-plane model 2017-09-26 17:21:35 -04:00
dce120 drm/amd/display: decouple per-crtc-plane model 2017-09-26 17:21:35 -04:00
gpio drm/amd/display: Remove DCE12 guards 2017-09-26 17:19:36 -04:00
i2caux drm/amd/display: Remove DCE12 guards 2017-09-26 17:19:36 -04:00
inc drm/amd/display: voltage request related change 2017-09-26 17:21:13 -04:00
irq drm/amd/display: use CRTC_VERTICAL_INTERRUPT0 as VBLANK trigger. 2017-09-26 17:21:04 -04:00
virtual drm/amd/display: Move backlight from encoder to ABM 2017-09-26 17:12:56 -04:00
dc.h drm/amd/display: decouple per-crtc-plane model 2017-09-26 17:21:35 -04:00
dc_bios_types.h drm/amd/display: remove dead code 2017-09-26 17:10:34 -04:00
dc_ddc_types.h drm/amd/dc: Add dc display driver (v2) 2017-09-26 17:01:32 -04:00
dc_dp_types.h drm/amd/display: DP compliance automation test fixes 2017-09-26 17:12:43 -04:00
dc_helper.c drm/amd/display: Change locking of registers when flipping frames. 2017-09-26 17:04:52 -04:00
dc_hw_types.h drm/amd/display: using calculated values for VReady/Startup 2017-09-26 17:20:50 -04:00
dc_types.h drm/amd/display: move refclk from dc to resource_pool 2017-09-26 17:18:18 -04:00
dm_helpers.h drm/amd/dc: Add dc display driver (v2) 2017-09-26 17:01:32 -04:00
dm_services.h drm/amd/display: Remove DCE12 guards 2017-09-26 17:19:36 -04:00
dm_services_types.h drm/amd/display: using calculated values for VReady/Startup 2017-09-26 17:20:50 -04:00
irq_types.h drm/amd/display: Add interrupt entries for VBLANK isr. 2017-09-26 17:11:12 -04:00
Makefile drm/amd/display: Remove DCE12 guards 2017-09-26 17:19:36 -04:00
os_types.h drm/amd/display: drop min/max wrappers 2017-09-26 17:09:23 -04:00