]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
drm/amdgpu/vcn:Replace value with defined macro
[linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_atpx_handler.c
index ca8bf1c9a98e18a45ff1f07148bec1b1dd6aafc2..a028661d9e2013dd2a6e5611448438c7590fec82 100644 (file)
@@ -32,7 +32,7 @@ struct amdgpu_atpx_functions {
        bool switch_start;
        bool switch_end;
        bool disp_connectors_mapping;
-       bool disp_detetion_ports;
+       bool disp_detection_ports;
 };
 
 struct amdgpu_atpx {
@@ -162,7 +162,7 @@ static void amdgpu_atpx_parse_functions(struct amdgpu_atpx_functions *f, u32 mas
        f->switch_start = mask & ATPX_GRAPHICS_DEVICE_SWITCH_START_NOTIFICATION_SUPPORTED;
        f->switch_end = mask & ATPX_GRAPHICS_DEVICE_SWITCH_END_NOTIFICATION_SUPPORTED;
        f->disp_connectors_mapping = mask & ATPX_GET_DISPLAY_CONNECTORS_MAPPING_SUPPORTED;
-       f->disp_detetion_ports = mask & ATPX_GET_DISPLAY_DETECTION_PORTS_SUPPORTED;
+       f->disp_detection_ports = mask & ATPX_GET_DISPLAY_DETECTION_PORTS_SUPPORTED;
 }
 
 /**