mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
drm/amdgpu: drop BOOLEAN define in display part
use bool directly Signed-off-by: Flora Cui <flora.cui@amd.com> Reviewed-by: Guchun Chen <guchun.chen@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
62f6b1162e
commit
26652cd8de
2 changed files with 2 additions and 4 deletions
|
@ -810,7 +810,7 @@ pp_nv_set_hard_min_uclk_by_freq(struct pp_smu *pp, int mhz)
|
|||
}
|
||||
|
||||
static enum pp_smu_status pp_nv_set_pstate_handshake_support(
|
||||
struct pp_smu *pp, BOOLEAN pstate_handshake_supported)
|
||||
struct pp_smu *pp, bool pstate_handshake_supported)
|
||||
{
|
||||
const struct dc_context *ctx = pp->dm;
|
||||
struct amdgpu_device *adev = ctx->driver_context;
|
||||
|
|
|
@ -30,8 +30,6 @@
|
|||
* interface to PPLIB/SMU to setup clocks and pstate requirements on SoC
|
||||
*/
|
||||
|
||||
typedef bool BOOLEAN;
|
||||
|
||||
enum pp_smu_ver {
|
||||
/*
|
||||
* PP_SMU_INTERFACE_X should be interpreted as the interface defined
|
||||
|
@ -240,7 +238,7 @@ struct pp_smu_funcs_nv {
|
|||
* DC hardware
|
||||
*/
|
||||
enum pp_smu_status (*set_pstate_handshake_support)(struct pp_smu *pp,
|
||||
BOOLEAN pstate_handshake_supported);
|
||||
bool pstate_handshake_supported);
|
||||
};
|
||||
|
||||
#define PP_SMU_NUM_SOCCLK_DPM_LEVELS 8
|
||||
|
|
Loading…
Reference in a new issue