Re: [Freedreno] [PATCH 13/16] drm/msm: gpu: Add support for the GPMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 7, 2016 at 7:58 AM, Stanimir Varbanov
<stanimir.varbanov@xxxxxxxxxx> wrote:
>> +     /* Turn off protected mode for this operation */
>> +     OUT_PKT7(ring, CP_SET_PROTECTED_MODE, 1);
>
> This looks wrong, shouldn't it be?

no, it is actually correct, the 3rd arg is # of dwords of payload in
the msg.  So the payload of the CP_SET_PROTECTED_MODE packet is the
following OUT_RING(ring, 0)

BR,
-R

> OUT_PKT7(ring, CP_SET_PROTECTED_MODE, 0)
>
>> +     OUT_RING(ring, 0);
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux