[PATCH 1/2] drm/amdgpu: Use switch case for unique_id

2022-03-28 Thread Kent Russell
To ease readability, use switch to set unique_id as supported for the supported IP_VERSIONs, and set it to unsupported by default for all other ASICs. This makes it easier to add IP_VERSIONs later on, and makes it obvious that it is not supported by default, instead of the current logic that

[PATCH 1/2] drm/amdgpu: Use switch case for unique_id

2022-03-28 Thread Kent Russell
To ease readability, use switch to set unique_id as supported for the supported IP_VERSIONs, and set it to unsupported by default for all other ASICs. This makes it easier to add IP_VERSIONs later on, and makes it obvious that it is not supported by default, instead of the current logic that

Re: [PATCH 1/2] drm/amdgpu: Use switch case for unique_id

2022-03-28 Thread Wang, Yang(Kevin)
[AMD Official Use Only] Series is Reviewed-by: kevinyang.w...@amd.com Best Regards, Kevin

[PATCH 1/2] drm/amdgpu: Use switch case for unique_id

2022-03-28 Thread Kent Russell
To ease readability, use switch to set unique_id as supported for the supported IP_VERSIONs, and set it to unsupported by default for all other ASICs. This makes it easier to add IP_VERSIONs later on, and makes it obvious that it is not supported by default, instead of the current logic that