PVR_HAS_FEATURE(9)
π PVR_HAS_FEATURE(9) π
okay so welcome to the Kernel API Manual bestie, today we're learning about PVR_HAS_FEATURE β no cap, it's a whole vibe check for your PowerVR hardware π₯
β¨ NAME β¨
PVR_HAS_FEATURE β literally just tests whether a PowerVR device has a given feature π«Ά
πΈ SYNOPSIS πΈ
PVR_HAS_FEATURE (pvr_dev , feature );
π¦ ARGUMENTS π¦
pvr_devβ[IN]the target PowerVR device, aka your main character πfeatureβ[IN]the hardware feature name, bestie. the name of the feature. yes it's that simple β¨
π DESCRIPTION π
so here's the tea β β feature names are derived from the ones you'll find in struct pvr_device_features by dropping the 'has_' prefix, which this macro applies for you. it's giving "i gotchu, don't worry about typing it yourself" energy, fr fr π
β RETURN β
trueif the named feature is present in the hardware πfalseif the named feature is not present in the hardware π
π§ SEE ALSO π§
Kernel file ./drivers/gpu/drm/imagination/pvr_device.h struct pvr_gpu_id(9), struct pvr_fw_version(9), struct pvr_device_data(9), struct pvr_device(9), struct pvr_file(9), PVR_FEATURE_VALUE(9), PVR_HAS_QUIRK(9), PVR_HAS_ENHANCEMENT(9), PVR_PACKED_BVNC(9), pvr_gpu_id_to_packed_bvnc(9), PVR_CR_FIELD_GET(9), pvr_cr_read32(9), pvr_cr_read64(9), pvr_cr_write32(9), pvr_cr_write64(9), pvr_cr_poll_reg32(9), pvr_cr_poll_reg64(9), pvr_round_up_to_cacheline_size(9), IOCTL validation helpers(9), pvr_ioctl_union_padding_check(9), PVR_STATIC_ASSERT_64BIT_ALIGNED(9), PVR_IOCTL_UNION_PADDING_CHECK(9) π¦πΈ
alright bestie that's the whole page, go read some source π
sign-off szn: this iconic lil page lives in ./drivers/gpu/drm/imagination and it dropped October 2026 β periodt π
β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms