drm/amd/display: update plane functionalities
authorShirish S <shirish.s@amd.com>
Thu, 23 Mar 2017 09:24:40 +0000 (14:54 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:21:46 +0000 (17:21 -0400)
commit64d8b7806e40a1520d5eb47157ff4ee15efc3bf6
tree0bd7b04a36699ad219b125440f64beda455b8bbb
parentf2a0f5e6b23d6649577081df3762e41abee04691
drm/amd/display: update plane functionalities

This patch introduces amdgpu_drm_plane_state
structure, which subclasses drm_plane_state and
holds data suitable for configuring hardware.

It switches reset(), atomic_duplicate_state()
& atomic_destroy_state() functions to new internal
implementation, earlier they were pointing to
drm core functions.

TESTS(On Chromium OS on Stoney Only)
* Builds without compilation errors.
* 'plane_test' passes for XR24 format
  based Overlay plane.
* Chromium OS ui comes up.

Signed-off-by: Shirish S <shirish.s@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c