PVR_HAS_ENHANCEMENT(9)
π PVR_HAS_ENHANCEMENT(9) β Kernel API Manual π
okay so bestie, welcome to the PVR_HAS_ENHANCEMENT(9) page from the Kernel API Manual β it's literally the vibe check for hardware enhancements, and we're gonna read it together π
β¨
β¨ NAME β¨
PVR_HAS_ENHANCEMENT β Tests whether a physical device has a given enhancement π
πΈ SYNOPSIS πΈ
PVR_HAS_ENHANCEMENT (pvr_dev , enhancement );
π¦ ARGUMENTS π¦
pvr_devβ [IN] Target PowerVR device. π«Άenhancementβ [IN] Hardware enhancement name. β¨
π DESCRIPTION π
okay so here's the lore: enhancement numbers are derived from those found in #pvr_device_enhancements by dropping the 'has_ern' prefix, which is applied by this macro. That prefix situation is handled for you, bestie β iconic behavior, honestly π
π Returns π
trueif the enhancement is present in the hardware, orfalseif the enhancement is not present in the hardware. π
π₯ SEE ALSO π₯
Kernel file ./drivers/gpu/drm/imagination/pvr_device.h β and then the whole squad: struct pvr_gpu_id(9), struct pvr_fw_version(9), struct pvr_device_data(9), struct pvr_device(9), struct pvr_file(9), PVR_HAS_FEATURE(9), PVR_FEATURE_VALUE(9), PVR_HAS_QUIRK(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). π«Άβ¨
π source/version: ./drivers/gpu/drm/imagination Β· date: October 2026 Β· this page: PVR_HAS_ENHANCEMENT(9) β byeee bestie, ily! π«Άπ
π¦ 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