• Alex Deucher's avatar
    drm/amd/display: decouple per-crtc-plane model · d4e13b0d
    Alex Deucher authored
    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: default avatarShirish S <shirish.s@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    d4e13b0d
Name
Last commit
Last update
..
Makefile Loading commit data...
dce120_hw_sequencer.c Loading commit data...
dce120_hw_sequencer.h Loading commit data...
dce120_ipp.c Loading commit data...
dce120_ipp.h Loading commit data...
dce120_ipp_cursor.c Loading commit data...
dce120_ipp_gamma.c Loading commit data...
dce120_mem_input.c Loading commit data...
dce120_mem_input.h Loading commit data...
dce120_resource.c Loading commit data...
dce120_resource.h Loading commit data...
dce120_timing_generator.c Loading commit data...
dce120_timing_generator.h Loading commit data...