]> Git Repo - linux.git/commitdiff
drm/amdgpu: update secure display TA header
authorJinzhou Su <[email protected]>
Tue, 9 Mar 2021 02:52:14 +0000 (10:52 +0800)
committerAlex Deucher <[email protected]>
Wed, 24 Mar 2021 03:27:41 +0000 (23:27 -0400)
update secure display TA header file.

Signed-off-by: Jinzhou Su <[email protected]>
Reviewed-by: Huang Rui <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_securedisplay.c
drivers/gpu/drm/amd/amdgpu/ta_secureDisplay_if.h

index 834440ab9ff74740820f11d35a04074947b1273a..9cf856c94f944ef1865774b2e8b3f39edca5d3f8 100644 (file)
@@ -69,6 +69,9 @@ void psp_securedisplay_parse_resp_status(struct psp_context *psp,
        case TA_SECUREDISPLAY_STATUS__READ_CRC_ERROR:
                dev_err(psp->adev->dev, "Secure display: Failed to Read CRC");
                break;
+       case TA_SECUREDISPLAY_STATUS__I2C_INIT_ERROR:
+               dev_err(psp->adev->dev, "Secure display: Failed to initialize I2C.");
+               break;
        default:
                dev_err(psp->adev->dev, "Secure display: Failed to parse status: %d\n", status);
        }
index 5039375bb1d42b8dc27d261d93652df85ca86287..cf8ff064dc72e901e211b4aa76210d716ad6e5a2 100644 (file)
@@ -50,6 +50,7 @@ enum ta_securedisplay_status {
        TA_SECUREDISPLAY_STATUS__I2C_WRITE_ERROR         = 0x04,         /* Fail to Write to I2C */
        TA_SECUREDISPLAY_STATUS__READ_DIO_SCRATCH_ERROR  = 0x05, /*Fail Read DIO Scratch Register*/
        TA_SECUREDISPLAY_STATUS__READ_CRC_ERROR          = 0x06,         /* Fail to Read CRC*/
+       TA_SECUREDISPLAY_STATUS__I2C_INIT_ERROR          = 0x07,     /* Failed to initialize I2C */
 
        TA_SECUREDISPLAY_STATUS__MAX                     = 0x7FFFFFFF,/* Maximum Value for status*/
 };
This page took 0.066703 seconds and 4 git commands to generate.