]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'drm-next-4.15-dc' of git://people.freedesktop.org/~agd5f/linux into...
authorDave Airlie <airlied@redhat.com>
Mon, 9 Oct 2017 01:21:15 +0000 (11:21 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 9 Oct 2017 01:21:15 +0000 (11:21 +1000)
Initial pull request for DC support.  We've completed a substantial amount of
the cleanup and restructuring in our TODO.  There are a few additional
cleanups that we are continuing to work on, but I don't think there are any
showstoppers remaining. We've tried to maintain most of the history for bisect
purposes.  Harry made sure all the commits build.  We've enabled DC for vega10
and Raven.  Pre-vega10 parts can be enabled via module parameter (amdgpu.dc=1),
but are not enabled by default at this point until we get further testing
upstream.

This code provides atomic modesetting support for DCE8 (CIK), DCE10 (Tonga,
Fiji), DCE11 (CZ, ST, Polaris), DCE12 (vega10), and DCN1 (RV) including
HDMI and DP audio, DP MST, and many other advanced display features.

+

Latest cleanups for DC from you and Harry.  Note that there is some
flickering on some older asics with this branch due to a regression in powerplay
that has already been fixed and will be included in my next non-DC pull request
next week.

* 'drm-next-4.15-dc' of git://people.freedesktop.org/~agd5f/linux: (897 commits)
  amdgpu/dc: use kref for dc_state.
  amdgpu/dc: convert dc_sink to kref.
  amdgpu/dc: convert dc_stream_state to kref.
  amdgpu/dc: use kref for dc_plane_state.
  amdgpu/dc: convert dc_gamma to kref reference counting.
  amdgpu/dc: convert dc_transfer to use a kref.
  amdgpu/dc: kill a bunch of dead code.
  amdgpu/dc: set a bunch of functions to static.
  amdgpu/dc: kill some deadcode in dc core.
  amdgpu/dc: fix indentation on a couple of returns.
  amdgpu/dm: don't use after free.
  amdgpu/dc: kfree already checks for NULL.
  amdgpu/dc: fix a bunch of misc whitespace.
  amdgpu/dc: drop hw_sequencer_types.h
  amdgpu/dc: drop dce110_types.h
  amdgpu/dc: use kernel ilog2 for log_2.
  amdgpu/dc: don't memset after kzalloc.
  amdgpu/dc: inline dal grph object id functions.
  amdgpu/dc: inline dml_round_to_multiple
  amdgpu/dc: rename bios get_image symbol to something more searchable.
  ...

1  2 
Documentation/gpu/todo.rst
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/amdgpu/soc15.c
drivers/gpu/drm/amd/amdgpu/vi.c
include/drm/drm_dp_helper.h

Simple merge
Simple merge
Simple merge
Simple merge
index 11c39f15f1b32b2eb61a21fda7573008d4d54d5a,d9fab1e1818a93e6690aa730edd4f236972d866e..3123988e819be4580e25ccc8bf8cb6cbb170196d
  #define DP_RECEIVER_ALPM_STATUS                   0x200b  /* eDP 1.4 */
  # define DP_ALPM_LOCK_TIMEOUT_ERROR       (1 << 0)
  
 +#define DP_LANE0_1_STATUS_ESI                  0x200c /* status same as 0x202 */
 +#define DP_LANE2_3_STATUS_ESI                  0x200d /* status same as 0x203 */
 +#define DP_LANE_ALIGN_STATUS_UPDATED_ESI       0x200e /* status same as 0x204 */
 +#define DP_SINK_STATUS_ESI                     0x200f /* status same as 0x205 */
 +
+ #define DP_DP13_DPCD_REV                    0x2200
+ #define DP_DP13_MAX_LINK_RATE               0x2201
  #define DP_DPRX_FEATURE_ENUMERATION_LIST    0x2210  /* DP 1.3 */
  # define DP_GTC_CAP                                   (1 << 0)  /* DP 1.3 */
  # define DP_SST_SPLIT_SDP_CAP                         (1 << 1)  /* DP 1.4 */