drm/amdgpu_dm: fix a typo

dm_comressor_info -> dm_compressor_info

The kernel-doc markup is right, but the struct itself
and their references contain a typo.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Mauro Carvalho Chehab
2020-10-23 18:32:49 +02:00
committed by Alex Deucher
parent c45dd3bda1
commit 4d154b85f3
2 changed files with 4 additions and 4 deletions

View File

@@ -595,7 +595,7 @@ static void amdgpu_dm_fbc_init(struct drm_connector *connector)
{ {
struct drm_device *dev = connector->dev; struct drm_device *dev = connector->dev;
struct amdgpu_device *adev = drm_to_adev(dev); struct amdgpu_device *adev = drm_to_adev(dev);
struct dm_comressor_info *compressor = &adev->dm.compressor; struct dm_compressor_info *compressor = &adev->dm.compressor;
struct amdgpu_dm_connector *aconn = to_amdgpu_dm_connector(connector); struct amdgpu_dm_connector *aconn = to_amdgpu_dm_connector(connector);
struct drm_display_mode *mode; struct drm_display_mode *mode;
unsigned long max_size = 0; unsigned long max_size = 0;

View File

@@ -86,7 +86,7 @@ struct irq_list_head {
* @bo_ptr: Pointer to the buffer object * @bo_ptr: Pointer to the buffer object
* @gpu_addr: MMIO gpu addr * @gpu_addr: MMIO gpu addr
*/ */
struct dm_comressor_info { struct dm_compressor_info {
void *cpu_addr; void *cpu_addr;
struct amdgpu_bo *bo_ptr; struct amdgpu_bo *bo_ptr;
uint64_t gpu_addr; uint64_t gpu_addr;
@@ -148,7 +148,7 @@ struct amdgpu_dm_backlight_caps {
* @soc_bounding_box: SOC bounding box values provided by gpu_info FW * @soc_bounding_box: SOC bounding box values provided by gpu_info FW
* @cached_state: Caches device atomic state for suspend/resume * @cached_state: Caches device atomic state for suspend/resume
* @cached_dc_state: Cached state of content streams * @cached_dc_state: Cached state of content streams
* @compressor: Frame buffer compression buffer. See &struct dm_comressor_info * @compressor: Frame buffer compression buffer. See &struct dm_compressor_info
* @force_timing_sync: set via debugfs. When set, indicates that all connected * @force_timing_sync: set via debugfs. When set, indicates that all connected
* displays will be forced to synchronize. * displays will be forced to synchronize.
*/ */
@@ -324,7 +324,7 @@ struct amdgpu_display_manager {
struct drm_atomic_state *cached_state; struct drm_atomic_state *cached_state;
struct dc_state *cached_dc_state; struct dc_state *cached_dc_state;
struct dm_comressor_info compressor; struct dm_compressor_info compressor;
const struct firmware *fw_dmcu; const struct firmware *fw_dmcu;
uint32_t dmcu_fw_version; uint32_t dmcu_fw_version;