On Tue, Sep 11, 2018 at 03:15:12PM -0400, David Francis wrote: > DMCU (Display Microcontroller Unit) is a GPU chip involved in > eDP features like Adaptive Backlight Modulation and Panel Self > Refresh. > > PSP is already equipped to handle DMCU firmware loading, all > that is needed is to translate between the new DMCU ucode ID and > the equivalent psp_gfx_fw_type. > > Signed-off-by: David Francis <David.Francis at amd.com> Reviewed-by: Huang Rui <ray.huang at amd.com> > --- > drivers/gpu/drm/amd/amdgpu/psp_v10_0.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c > index 02be34e72ed9..240dc8c85867 100644 > --- a/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c > +++ b/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c > @@ -91,6 +91,12 @@ psp_v10_0_get_fw_type(struct amdgpu_firmware_info *ucode, enum psp_gfx_fw_type * > case AMDGPU_UCODE_ID_VCN: > *type = GFX_FW_TYPE_VCN; > break; > + case AMDGPU_UCODE_ID_DMCU_ERAM: > + *type = GFX_FW_TYPE_DMCU_ERAM; > + break; > + case AMDGPU_UCODE_ID_DMCU_INTV: > + *type = GFX_FW_TYPE_DMCU_ISR; > + break; > case AMDGPU_UCODE_ID_MAXIMUM: > default: > return -EINVAL; > -- > 2.17.1 > > _______________________________________________ > amd-gfx mailing list > amd-gfx at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx