History log of /linux-master/drivers/gpu/drm/radeon/pptable.h
Revision Date Author Comments
# 781d41fe 08-Apr-2024 Alex Deucher <alexander.deucher@amd.com>

drm/radeon: silence UBSAN warning (v3)

Convert a variable sized array from [1] to [].

v2: fix up a few more.
v3: integrate comments from Kees.

Reviewed-by: Kees Cook <keescook@chromium.org>
Tested-by: Jeff Johnson <quic_jjohnson@quicinc.com> (v2)
Acked-by: Christian König <christian.koenig@amd.com> (v1)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: keescook@chromium.org


# c63079c6 04-Oct-2023 Mario Limonciello <mario.limonciello@amd.com>

drm/radeon: Fix UBSAN array-index-out-of-bounds for Radeon HD 5430

For pptable structs that use flexible array sizes, use flexible arrays.

Suggested-by: Felix Held <felix.held@amd.com>
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2894
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>


# e03cea36 14-Sep-2014 Alex Deucher <alexander.deucher@amd.com>

drm/radeon/dpm: add smc fan control for CI (v2)

Enable smc fan control for CI boards. Should
reduce the fan noise on systems with a higher
default fan profile.

v2: disable by default, add additional fan setup, rpm control

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=73338

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>


# 1590f72d 02-Jan-2014 Alex Deucher <alexander.deucher@amd.com>

drm/radeon: fix pptable.h portability

The following isn't compatible with gcc 2.x:

pragma pack(push, 1)
...
pragma pack(pop)

replace with:

pragma pack(1)
...
pragma pack()

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=67961

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>


# f7466e6c 19-Apr-2013 Alex Deucher <alexander.deucher@amd.com>

drm/radeon: switch to pptable.h

Internally we switched to using a separate header for
atombios pplib definitions. Switch over the open source
driver.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>