[PATCH] drm/radeon: fix atom aux payload size check for writes (v2)

2015-02-24 Thread Michel Dänzer
On 24.02.2015 01:24, Alex Deucher wrote: > The atom aux param interface only supports 4 bits for > the total write transfer size (header + payload). This > limits us to 12 bytes of payload rather than 16. Add a > check for this. Reads are not affected. > > v2: switch to WARN_ON_ONCE > > Signed-

[PATCH] drm/radeon: fix atom aux payload size check for writes

2015-02-23 Thread Michel Dänzer
On 21.02.2015 01:56, Alex Deucher wrote: > The atom aux param interface only supports 4 bits for > the total write transfer size (header + payload). This > limits us to 12 bytes of payload rather than 16. Add a > check for this. Reads are not affected. > > Signed-off-by: Alex Deucher > --- > d

[PATCH] drm/radeon: fix atom aux payload size check for writes (v2)

2015-02-23 Thread Alex Deucher
The atom aux param interface only supports 4 bits for the total write transfer size (header + payload). This limits us to 12 bytes of payload rather than 16. Add a check for this. Reads are not affected. v2: switch to WARN_ON_ONCE Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombio

[PATCH] drm/radeon: fix atom aux payload size check for writes

2015-02-20 Thread Alex Deucher
The atom aux param interface only supports 4 bits for the total write transfer size (header + payload). This limits us to 12 bytes of payload rather than 16. Add a check for this. Reads are not affected. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_dp.c | 7 +++ 1 file c