[PATCH 0/4] Removing unnecessary initialization of drm_plane struct type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Kevin Brace <kevinbrace@xxxxxxxxxxxxxxxxxxxx>

Patch 1 is to use uint32_t type for possible_crtcs.  Patch 2 through 4
removes unnecessary write to type field of drm_plane struct.
drm_universal_plane_init() initializes type field, so initializing it
outside of DRM core is unnecessary.  I have not tested the patches
myself since I do not have the equipment set up to run AMDGPU DRM.
I hope someone from AMD can test the patches.  Patch 2 through 4 do
depend on patch 1.

--
Kevin Brace (4):
  drm/amdgpu: uint32_t for amdgpu_dm_plane_init() possible_crtcs
    parameter
  drm/amdgpu: Rename plane_type parameter of initialize_plane() to type
  drm/amdgpu: Add type parameter to amdgpu_dm_plane_init()
  drm/amdgpu: Remove unnecessary write to type field of drm_plane struct

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 20 ++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

--
2.17.1

_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux