> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IQ-8275

## Debug the DisplayPort

<Note>
  * You must enable SSH to access your host device. For instructions, see [Sign in using SSH](https://dragonwingdocs.qualcomm.com/Key-Documents/Flash-Guide/how-to-sign-in-with-ssh).
  * To mount the `debugfs` file system to access the `debugfs` details of the display subsystem, run the following commands:

  > ```text theme={null}
  > mount -o remount,rw /
  > ```

  > ```text theme={null}
  > mount -t debugfs none /sys/kernel/debug
  > ```
</Note>

**View the selected DisplayPort**

To check the selected DisplayPort, run the following command:

> ```text theme={null}
> cat /sys/kernel/debug/dri/0/DP-1/dp_debug
> ```

**Sample output**

```text theme={null}
name = msm_dp
drm_dp_link
        rate = 270000
        num_lanes = 4
        capabilities = 1
dp_panel_info:
        active = 3840x2160
        back_porch = 80x23
        front_porch = 48x3
        sync_width = 32x5
        active_low = 0x0
        h_skew = 0
        refresh rate = 30
        pixel clock khz = 262750
        bpp = 30
dp_link:
        test_requested = 512
        num_lanes = 4
        bw_code = 10
        lclk = 270000000
        v_level = 1
        p_level = 0
```

**View the status of DisplayPort cable**

To verify whether the DisplayPort cable is connected, run the following command:

> ```text theme={null}
> cat /sys/class/drm/card0-DP-1/status
> ```

**Sample output**

```text theme={null}
Connected
```

**Check the extended display identification data (EDID) mode**

To check for the EDID mode of the DisplayPort connected, run the following command:

> ```text theme={null}
> cat /sys/class/drm/card0-DP-1/modes
> ```

**Sample output**

```text theme={null}
3840x2160
2048x1080
```
